Browse Source

Added LDK+DMD Script

master
5 years ago
parent
commit
0047e8c43d
3 changed files with 682 additions and 483 deletions
  1. 1
    1
      CEAs/em-1-hit-kill.CEA
  2. 27
    0
      CEAs/ldk-dmd.CEA
  3. 654
    482
      DevilMayCry4SpecialEdition.CT

+ 1
- 1
CEAs/em-1-hit-kill.CEA View File

@@ -1,5 +1,5 @@
[enable]
alloc(newmem,44)
alloc(newmem,44) //units are in bytes
label(returnhere)
label(originalcode)
label(exit)

+ 27
- 0
CEAs/ldk-dmd.CEA View File

@@ -0,0 +1,27 @@
[enable]
alloc(newmem,10) //units are in bytes
label(returnhere)
DevilMayCry4SpecialEdition.exe+4594BE:
jge DevilMayCry4SpecialEdition.exe+4594E2 //DT on DMD or above
"DevilMayCry4SpecialEdition.exe"+19B34A:
jmp newmem
nop
returnhere:
newmem:
add eax,[edi+00000240] //original code, still in use
dec eax //for LDK, value for eax should be 1 higher
//subtract 1 for the index to DMD enemy difficulty values
jmp returnhere
[disable]
dealloc(newmem)
DevilMayCry4SpecialEdition.exe+4594BE:
//originally only checks whether or not it's DMD
//this decides whether or not enemies have devil trigger
je DevilMayCry4SpecialEdition.exe+4594E2
"DevilMayCry4SpecialEdition.exe"+19B34A:
add eax,[edi+00000240]

+ 654
- 482
DevilMayCry4SpecialEdition.CT
File diff suppressed because it is too large
View File


Loading…
Cancel
Save