View previous topic :: View next topic |
Author |
Message |
Drivium Advanced Cheater
Reputation: 0
Joined: 16 Apr 2013 Posts: 97
|
Posted: Mon May 13, 2019 2:31 pm Post subject: Easy base address - am I a genius? Possible flaws? |
|
|
So, it occurred to me that if the whole point of a base address is that it never changes...what difference does it make WHICH pointer you start with...???
So, I load my game into CE and immediately browse assembly. Right out of the gate I see some green addresses. In my case, "cemu.exe" + 83BED5+78. Again, this is a totally random green address. I note that address. Then, I find my player health address.
Now I have a base address and my player health. I subtract my player health address from my base address to get the offset.
Thanks to the help of @TheyCallMeTim13 and @FreeER, I've got this little
ASM script that allows me to give my base address a name:
Code: | [ENABLE]
label(_playerbase)
registersymbol(_playerbase)
Cemu.exe+83BED5+78:
_playerbase:
[DISABLE]
unregistersymbol(_playerbase) |
Now, I simply choose to add address manually, add address _playerbase+myfoundhealthoffset and BOOM - permanent health address.
This seems to work through resets, but I'd like to know if any of the pro's here see a potential flaw in this plan. Seems too easy, but so far it IS working.
Hope this helps someone...
Thanks! |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Mon May 13, 2019 2:49 pm Post subject: |
|
|
That only works if your address is static to begin with _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Drivium Advanced Cheater
Reputation: 0
Joined: 16 Apr 2013 Posts: 97
|
Posted: Mon May 13, 2019 2:56 pm Post subject: |
|
|
Dark Byte wrote: | That only works if your address is static to begin with |
The random green address I found is static, my health address moves.
So, you're saying a dynamic health address may not always be the same distance from a static green address?
I'll verify when I get home. If it turns out my health address is coincidentally the same after every restart....ima be pissed.
I've also set of other player values to use this method and those seem to be working also... I'll double check if those addresses are staying the same after every restart on their own or not.
Last edited by Drivium on Mon May 13, 2019 2:59 pm; edited 1 time in total |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Mon May 13, 2019 2:59 pm Post subject: |
|
|
correct
Black addresses can change location. _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Drivium Advanced Cheater
Reputation: 0
Joined: 16 Apr 2013 Posts: 97
|
Posted: Mon May 13, 2019 3:02 pm Post subject: |
|
|
Dark Byte wrote: | correct
Black addresses can change location. |
What you're saying does make sense... Since I'm not using a pointer, they must be staying the same... GRRR. Makes no sense... This is an emulator...and I AM loading from a save (not a save state, though) each time, so maybe that's why they're staying the same?
I'll have to investigate. I'll start a new game and see if they persist. If I'm wrong, I'll just delete this thread so I'm not spreading bad info.
@Dark Byte EDIT*** So, I've confirmed. It captures changes to my health address and even persists when starting a new game. This. Works.  |
|
Back to top |
|
 |
|