most my code has to be rewrite to pointer style and i have done it.
like this :PS2Mem+36D1B0
now i want to make scripts change the value of address :PS2Mem+36D1B0 to some thing specific.
so:
infinity MP in battles
address :PS2Mem+A72E7C
[ENABLE]: 00000000
[DISABLE]: FF FF 63 24
change the code manual or script is ok.
i tried like this:
Code: Select all
[ENABLE]
alloc(newmem,512)
label(infinityMP)
registersymbol(infinityMP)
newmem:
PS2Mem+A72E7C:
infinityMP:
dq 00000000
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
newmem:
PS2Mem+A72E7C:
infinityMP:
dq 2463FFFF
unregistersymbol(infinityMP)
unregistersymbol(infinityMP)
once the value change, the effect is always active and cant deactivated till i sleep or start a minigame.
cant manual or by deactivate the script
game SUIKODEN V NTSC
Pcsx2: 1.7.52
CE:7.4
Edit: found that the address becomes read-only need the game to change it to writeable to change the value. even if cheat is not load the read-only appear.