[1.14d] Add Arreat Summit Town backdrop to any map ID

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
Mubbsy
Posts: 4
Joined: Fri Feb 05, 2021 8:42 am
Canada

[1.14d] Add Arreat Summit Town backdrop to any map ID

Post by Mubbsy » Tue Feb 09, 2021 12:29 am

Based off the earlier work from viewtopic.php?f=8&t=21607 we noticed the Arreat Summit backdrop was right below the arcane sanc in the code.
Decided to get it working for any map in 1.14d, whereas before the code had a limit based on the signed values used maxing at 127, so you can use custom LevelID entries of any normally acceptable value.

This current code just adds area 131 to the search and allows for values above 127 as I was using baal throne for some testing, but you can modify it with whatever levelID you want there.

Just open the game.exe with Ollydbg or whatever other disassembly tool you prefer and:

Replace

Code: Select all

00076C8C    83F8 78         CMP EAX,78
00076C8F    75 09           JNE SHORT 00076C9A
With:

Code: Select all

00076C8C    E9 20492500     JMP 002CB5B1
and then add

Code: Select all

002CB5B1    3D 83000000     CMP EAX,83
002CB5B6    74 0C           JE SHORT 002CB5C4
002CB5B8    3D 78000000     CMP EAX,78
002CB5BD    74 05           JE SHORT 002CB5C4
002CB5BF  ^ E9 D6B6DAFF     JMP 00076C9A
002CB5C4  ^ E9 C8B6DAFF     JMP 00076C91
This line is what you want to edit to add your own level ID

Code: Select all

002CB5B1    3D 83000000     CMP EAX,83
and just replace the 83 with your levelID in hex


Image

Not sure what makes the snow go full blizzard mode there yet, but hopefully I have time to look into that soon. If you are interested in Arcane Sanc stars, you can modify my script slightly, 00076C7C is where the Arcane level check starts in 1.14d.

1.13 addresses for Sanc and Arreat effects are D2Client.0x8B1DC and D2Client.0x8B1EC

And here is my code for the Arcane Sanc effect on both Arcane Sanc and LvlID131 for 1.14d

Code: Select all

00076C7C    E9 30492500     JMP 002CB5B1

002CB5B1    3D 83000000     CMP EAX,83
002CB5B6    74 0C           JE SHORT 002CB5C4
002CB5B8    3D 4A000000     CMP EAX,4A
002CB5BD    74 05           JE SHORT 002CB5C4
002CB5BF  ^ E9 C2B6DAFF     JMP 00076C86
002CB5C4  ^ E9 B8B6DAFF     JMP 00076C81

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: [1.14d] Add Arreat Summit Town backdrop to any map ID

Post by ascar » Tue Feb 28, 2023 4:59 am

hello

Super interresting, i will try this later !

I started code editing some days ago for 1.14d !

Post Reply

Return to “Code Editing”