Hello everyone! Just bought the game a few weeks ago and decided I'm ready to play it now, but with my own spin to it hah. I got a table from Pox for the original Dragon Quest XI, to rearrange and edit the party setup, but of course it isn't working with the Definitive version. I have no idea what I'm doing however, so I may be missing a step, but I can post his original table if someone could kindly see what needs to be changed to get it to work with the Definitive version? It would be greatly appreciated!
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>1132</ID>
<Description>"Party Modifier"</Description>
<Options moHideChildren="1"/>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(PartyAOB,DRAGON QUEST XI.exe,41 8B 2C 04 48 63 46 70) // should be unique
alloc(newmem,$1000,"DRAGON QUEST XI.exe"+AA2D8D4)
label(code)
label(return)
label(partyData)
registersymbol(partyData)
newmem:
code:
mov ebp,[r12+rax]
mov [partyData],rax
movsxd rax,dword ptr [rsi+70]
jmp return
partyData:
PartyAOB:
jmp newmem
nop
nop
nop
return:
registersymbol(PartyAOB)
[DISABLE]
PartyAOB:
db 41 8B 2C 04 48 63 46 70
unregistersymbol(PartyAOB)
unregistersymbol(partyData)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "DRAGON QUEST XI.exe"+AA2D8D4
"DRAGON QUEST XI.exe"+AA2D8B0: 83 BE 80 00 00 00 00 - cmp dword ptr [rsi+00000080],00
"DRAGON QUEST XI.exe"+AA2D8B7: 7E 5F - jle "DRAGON QUEST XI.exe"+AA2D918
"DRAGON QUEST XI.exe"+AA2D8B9: 4D 89 FC - mov r12,r15
"DRAGON QUEST XI.exe"+AA2D8BC: 0F 1F 40 00 - nop [rax+00]
"DRAGON QUEST XI.exe"+AA2D8C0: 45 84 C0 - test r8l,r8l
"DRAGON QUEST XI.exe"+AA2D8C3: 75 07 - jne "DRAGON QUEST XI.exe"+AA2D8CC
"DRAGON QUEST XI.exe"+AA2D8C5: 41 83 7E 08 04 - cmp dword ptr [r14+08],04
"DRAGON QUEST XI.exe"+AA2D8CA: 7D 4C - jnl "DRAGON QUEST XI.exe"+AA2D918
"DRAGON QUEST XI.exe"+AA2D8CC: 48 8B 46 78 - mov rax,[rsi+78]
"DRAGON QUEST XI.exe"+AA2D8D0: 48 8B 5E 68 - mov rbx,[rsi+68]
// ---------- INJECTING HERE ----------
"DRAGON QUEST XI.exe"+AA2D8D4: 41 8B 2C 04 - mov ebp,[r12+rax]
"DRAGON QUEST XI.exe"+AA2D8D8: 48 63 46 70 - movsxd rax,dword ptr [rsi+70]
// ---------- DONE INJECTING ----------
"DRAGON QUEST XI.exe"+AA2D8DC: 48 8D 34 C3 - lea rsi,[rbx+rax*8]
"DRAGON QUEST XI.exe"+AA2D8E0: 48 39 F3 - cmp rbx,rsi
"DRAGON QUEST XI.exe"+AA2D8E3: 74 1E - je "DRAGON QUEST XI.exe"+AA2D903
"DRAGON QUEST XI.exe"+AA2D8E5: 48 8B 3B - mov rdi,[rbx]
"DRAGON QUEST XI.exe"+AA2D8E8: 48 89 F9 - mov rcx,rdi
"DRAGON QUEST XI.exe"+AA2D8EB: E8 E0 18 BD F5 - call "DRAGON QUEST XI.exe"+5FF1D0
"DRAGON QUEST XI.exe"+AA2D8F0: 39 E8 - cmp eax,ebp
"DRAGON QUEST XI.exe"+AA2D8F2: 74 44 - je "DRAGON QUEST XI.exe"+AA2D938
"DRAGON QUEST XI.exe"+AA2D8F4: 48 83 C3 08 - add rbx,08
"DRAGON QUEST XI.exe"+AA2D8F8: 48 39 F3 - cmp rbx,rsi
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>1133</ID>
<Description>"Slot 1"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">0:Main Character
1:Erik
2:Veronica
3:Serena
4:Sylvando
5:Jade
6:Rab
7:Hendrik
</DropDownList>
<VariableType>4 Bytes</VariableType>
<Address>partyData</Address>
<Offsets>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>1136</ID>
<Description>"Slot 2"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">0:Main Character
1:Erik
2:Veronica
3:Serena
4:Sylvando
5:Jade
6:Rab
7:Hendrik
</DropDownList>
<VariableType>4 Bytes</VariableType>
<Address>partyData</Address>
<Offsets>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>1135</ID>
<Description>"Slot 3"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">0:Main Character
1:Erik
2:Veronica
3:Serena
4:Sylvando
5:Jade
6:Rab
7:Hendrik
</DropDownList>
<VariableType>4 Bytes</VariableType>
<Address>partyData</Address>
<Offsets>
<Offset>8</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>1134</ID>
<Description>"Slot 4"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">0:Main Character
1:Erik
2:Veronica
3:Serena
4:Sylvando
5:Jade
6:Rab
7:Hendrik
</DropDownList>
<VariableType>4 Bytes</VariableType>
<Address>partyData</Address>
<Offsets>
<Offset>C</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>