[1.13c] Removing the Close Button from all Skill Trees

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
jessedazebra
Junior Member
Paladin
Posts: 100
Joined: Sun Nov 11, 2012 9:46 am
Russia

[1.13c] Removing the Close Button from all Skill Trees

Post by jessedazebra » Tue Feb 19, 2019 3:15 pm

That's pretty much a copypaste from this old topic. I've always been thinking of getting rid of these useless skill tree buttons.
Here's the code for 1.13c:

Code: Select all

"Button Function Placement in the Skill Trees"

D2Client.dll - 78260

00078260    81FE 6BFFFFFF   CMP ESI,-95
00078266    75 0C           JNE SHORT 00078274
00078268    C705 F025B96F 0 MOV DWORD PTR DS:[6FB925F0],1
00078272    EB 26           JMP SHORT 0007829A
00078274    81FE 24FFFFFF   CMP ESI,-0DC
0007827A    75 0C           JNE SHORT 00078288
0007827C    C705 F025B96F 0 MOV DWORD PTR DS:[6FB925F0],2
00078286    EB 12           JMP SHORT 0007829A
00078288    81FE CFFEFFFF   CMP ESI,-131
0007828E    75 0A           JNE SHORT 0007829A
00078290    C705 F025B96F 0 MOV DWORD PTR DS:[6FB925F0],3

to:

00078260    C705 F025B96F 0 MOV DWORD PTR DS:[6FB925F0],4
0007826A    EB 2E           JMP SHORT 0007829A
0007826C    90              NOP
0007826D    90              NOP
0007826E    90              NOP
0007826F    90              NOP
00078270    90              NOP
00078271    90              NOP
00078272    90              NOP
00078273    90              NOP
00078274    90              NOP
00078275    90              NOP
00078276    90              NOP
00078277    90              NOP
00078278    90              NOP
00078279    90              NOP
0007827A    90              NOP
0007827B    90              NOP
0007827C    90              NOP
0007827D    90              NOP
0007827E    90              NOP
0007827F    90              NOP
00078280    90              NOP
00078281    90              NOP
00078282    90              NOP
00078283    90              NOP
00078284    90              NOP
00078285    90              NOP
00078286    90              NOP
00078287    90              NOP
00078288    90              NOP
00078289    90              NOP
0007828A    90              NOP
0007828B    90              NOP
0007828C    90              NOP
0007828D    90              NOP
0007828E    90              NOP
0007828F    90              NOP
00078290    90              NOP
00078291    90              NOP
00078292    90              NOP
00078293    90              NOP
00078294    90              NOP
00078295    90              NOP
00078296    90              NOP
00078297    90              NOP
00078298    90              NOP
00078299    90              NOP

Code: Select all

"Close Button Graphic/Function Offsets"

D2Client.dll - E25F8

000E25F8    6BFF FF         IMUL EDI,EDI,-1
000E25FB    FF24FF          JMP DWORD PTR DS:[EDI*8+EDI]
000E25FE    FF              DB FF                                    ; Unknown command
000E25FF    FFCF            DEC EDI
000E2601    FE              DB FE                                    ; Unknown command
000E2602    FF              DB FF                                    ; Unknown command
000E2603    FFCF            DEC EDI
000E2605    FE              DB FE                                    ; Unknown command
000E2606    FF              DB FF                                    ; Unknown command
000E2607    FFCF            DEC EDI
000E2609    FE              DB FE                                    ; Unknown command
000E260A    FF              DB FF                                    ; Unknown command
000E260B    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E260E    FF              DB FF                                    ; Unknown command
000E260F    FFCF            DEC EDI
000E2611    FE              DB FE                                    ; Unknown command
000E2612    FF              DB FF                                    ; Unknown command
000E2613    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E2616    FF              DB FF                                    ; Unknown command
000E2617    FFCF            DEC EDI
000E2619    FE              DB FE                                    ; Unknown command
000E261A    FF              DB FF                                    ; Unknown command
000E261B    FFCF            DEC EDI
000E261D    FE              DB FE                                    ; Unknown command
000E261E    FF              DB FF                                    ; Unknown command
000E261F    FF24FF          JMP DWORD PTR DS:[EDI*8+EDI]
000E2622    FF              DB FF                                    ; Unknown command
000E2623    FFCF            DEC EDI
000E2625    FE              DB FE                                    ; Unknown command
000E2626    FF              DB FF                                    ; Unknown command
000E2627    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E262A    FF              DB FF                                    ; Unknown command
000E262B    FFCF            DEC EDI
000E262D    FE              DB FE                                    ; Unknown command
000E262E    FF              DB FF                                    ; Unknown command
000E262F    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E2632    FF              DB FF                                    ; Unknown command
000E2633    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E2636    FF              DB FF                                    ; Unknown command
000E2637    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E263A    FF              DB FF                                    ; Unknown command
000E263B    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E263E    FF              DB FF                                    ; Unknown command
000E263F    FF24FF          JMP DWORD PTR DS:[EDI*8+EDI]
000E2642    FF              DB FF                                    ; Unknown command
000E2643    FF6B FF         JMP FAR FWORD PTR DS:[EBX-1]             ; Far jump or call
000E2646    FF              DB FF                                    ; Unknown command
000E2647    FFCF            DEC EDI
000E2649    FE              DB FE                                    ; Unknown command
000E264A    FF              DB FF                                    ; Unknown command

to:

000E25F8    90              NOP
000E25F9    90              NOP
000E25FA    90              NOP
000E25FB    90              NOP
000E25FC    90              NOP
000E25FD    90              NOP
000E25FE    90              NOP
000E25FF    90              NOP
000E2600    90              NOP
000E2601    90              NOP
000E2602    90              NOP
000E2603    90              NOP
000E2604    90              NOP
000E2605    90              NOP
000E2606    90              NOP
000E2607    90              NOP
000E2608    90              NOP
000E2609    90              NOP
000E260A    90              NOP
000E260B    90              NOP
000E260C    90              NOP
000E260D    90              NOP
000E260E    90              NOP
000E260F    90              NOP
000E2610    90              NOP
000E2611    90              NOP
000E2612    90              NOP
000E2613    90              NOP
000E2614    90              NOP
000E2615    90              NOP
000E2616    90              NOP
000E2617    90              NOP
000E2618    90              NOP
000E2619    90              NOP
000E261A    90              NOP
000E261B    90              NOP
000E261C    90              NOP
000E261D    90              NOP
000E261E    90              NOP
000E261F    90              NOP
000E2620    90              NOP
000E2621    90              NOP
000E2622    90              NOP
000E2623    90              NOP
000E2624    90              NOP
000E2625    90              NOP
000E2626    90              NOP
000E2627    90              NOP
000E2628    90              NOP
000E2629    90              NOP
000E262A    90              NOP
000E262B    90              NOP
000E262C    90              NOP
000E262D    90              NOP
000E262E    90              NOP
000E262F    90              NOP
000E2630    90              NOP
000E2631    90              NOP
000E2632    90              NOP
000E2633    90              NOP
000E2634    90              NOP
000E2635    90              NOP
000E2636    90              NOP
000E2637    90              NOP
000E2638    90              NOP
000E2639    90              NOP
000E263A    90              NOP
000E263B    90              NOP
000E263C    90              NOP
000E263D    90              NOP
000E263E    90              NOP
000E263F    90              NOP
000E2640    90              NOP
000E2641    90              NOP
000E2642    90              NOP
000E2643    90              NOP
000E2644    90              NOP
000E2645    90              NOP
000E2646    90              NOP
000E2647    90              NOP
000E2648    90              NOP
000E2649    90              NOP
000E264A    90              NOP
And this is the result:
Image
Edit: Actually, changing this:

Code: Select all

00078260    C705 F025B96F 0 MOV DWORD PTR DS:[6FB925F0],0
didn't solve the problem, the buttons still appears, so I changed 0 to 4 and the button is gone.
Edit2: Well, the button still appears... :D
Image

User avatar
karlock
Posts: 31
Joined: Mon Mar 16, 2015 1:16 pm

Re: [1.13c] Removing the Close Button from all Skill Trees

Post by karlock » Wed Feb 20, 2019 2:40 am

Cool! Why not replace skill reset button with other icon, like arrow circle? :D
Attachments
1bc14c8c228eff91bb1b2f87a63c7d9f-round-recycle-arrow.png
1bc14c8c228eff91bb1b2f87a63c7d9f-round-recycle-arrow.png (2.71 KiB) Viewed 216 times

Post Reply

Return to “Code Editing”