Beyond All Reason -- Pointer not found
Posted: Mon Mar 27, 2023 12:08 am
Quick disclaimer - I'm quite new to this so if you see mistakes, simply call them out without the usual disparaging remarks. I used Cheat Engine's great tutorial to get started. Once I completed that, I wanted to jump into a game and see what I could do.
Beyond All Reason is a free game that seemed like a decent way to start.
I've been able to find metal and energy values (the initial addresses for the values), but to make the table durable, I wanted to find the base pointers for those values, and I did. I saved the base pointers and now every time I load up the game, I can access metal and energy values without having to chase down the new address again. So far so good.
Now, I suspect that the game stores these values based on your color in the game. For most of the scenarios and nearly all skirmishes, the human player is the blue player which is where I did all my testing. However, I went looking for the metal and energy values of the AI players in the skirmishes (the red player for example). I can find the initial addresses for their values easily enough. But when I look for the base pointer writing to that address, it's not found I can't seem to figure out why.
initial addr:
opcodes writing to it
moreinfo confirming what I think is right
Not finding the value
I'm convinced I'm doing something wrong but I can't seem to figure out what it is. Any pointers would be appreciated.
Beyond All Reason is a free game that seemed like a decent way to start.
I've been able to find metal and energy values (the initial addresses for the values), but to make the table durable, I wanted to find the base pointers for those values, and I did. I saved the base pointers and now every time I load up the game, I can access metal and energy values without having to chase down the new address again. So far so good.
Now, I suspect that the game stores these values based on your color in the game. For most of the scenarios and nearly all skirmishes, the human player is the blue player which is where I did all my testing. However, I went looking for the metal and energy values of the AI players in the skirmishes (the red player for example). I can find the initial addresses for their values easily enough. But when I look for the base pointer writing to that address, it's not found I can't seem to figure out why.
initial addr:
opcodes writing to it
moreinfo confirming what I think is right
Not finding the value
I'm convinced I'm doing something wrong but I can't seem to figure out what it is. Any pointers would be appreciated.