Page 1 of 1

AOB changes upon game restarts?

Posted: Fri Oct 06, 2023 3:10 am
by bbufa
I used Template => AOB injection and CE gave me

Code: Select all

aobscan(edit_health,66 89 11 C7 05 D8 31 63 01 14 47 14 00) // should be unique
I wrote the script and it worked.

Problem is, the next time I start the game and try to enable the script, it can't be enabled.

So I search for the AOB "66 89 11 C7 05 D8 31 63 01 14 47 14 00" and CE returns no result.
I gradually cut the AOB until it becomes "66 89 11 C7 05 D8 31", now over 100 results found.

In general, CE "found no AOB" or "found no unique AOB".

Is there a solution?
Sorry for my bad English

Re: AOB changes upon game restarts?

Posted: Fri Oct 06, 2023 3:25 am
by stigmaoffire
What game? If its a unity game or uses c# aob isn't gonna work that well ime

Re: AOB changes upon game restarts?

Posted: Fri Oct 06, 2023 3:45 am
by bbufa
stigmaoffire wrote:
Fri Oct 06, 2023 3:25 am
What game? If its a unity game or uses c# aob isn't gonna work that well ime
It's a PS2 game, Samurai Warriors XL, run on PCSX2.

Re: AOB changes upon game restarts?

Posted: Fri Oct 06, 2023 12:15 pm
by Impala
Try making it longer but using wild cards

66 89 11 C7 05 D8 31 ?? ?? ?? ?? 00 FF ?? ?? ?? 00 FF FF 00

or wild cards before it

00 FF FF 00 ?? ?? ?? 66 89 11 C7 05 D8 31 ?? ?? 00 FF

So some of the bytes won't change before or after the AOB, and for the stuff that does, just add ??'s