Posted: Tue Dec 13, 2022 6:53 pm Post subject: How to specify a static address + address offset in script?
Hello.
I'm currently trying to use cheat engine to set up some very basic scripts for a PS2 game running on PCSX2.
I have two scripts currently, one which will store a user symbol for a base address.
Code:
[ENABLE]
alloc(pBase, 4096)
registersymbol(pBase)
pBase:
dq 258B7140000
[DISABLE]
dealloc(pBase)
unregistersymbol(pBase)
and the second that I'm having an issue with is trying get a script to modify an address utilizing that base address + the PS2 address (raw).
Code:
[ENABLE]
pBase + 0x204D8BB0: // <-- Unable to be processed?
//0x20394533218: <-- This will work if I comment out the above
db 5
[DISABLE]
pBase + 0x204D8BB0:
//0x20394533218:
db 3
If I set the pBase + aplOffset directly to the address I am trying to modify such as 0x258d7313217, then everything works fine. It seems I am unable to add addresses together in the assembler script?
The second script is a child of the first.
Any insight would be appreciated.
Thanks.
P.s., I manually search for the pBase address by subtracting a scanned address by the known address, and I'll figure out how to make that a pointer/aob at a later time.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum