3 ms·
A trick for finding memory locations of some variable is to take several memory dumps changing everything you can about the game state except the thing whose lo
by rjmunro 9y ago
A trick for finding memory locations of some variable is to take several memory dumps changing everything you can about the game state except the thing whose location you are looking for, so fly around a bit, change altitude, change all the control positions, then change the thing you want and take another memory dump.
Anything that changed in the final dump, but didn't change in any of the previous dumps is likely to be what you are looking for.
Back in the 90s I used to do this with a tool called "Desktop Hacker" on RISC OS. http://www.doggysoft.co.uk/dh/compr.html http://www.doggysoft.co.uk/dh/compr.html
- pjc50 9y agoThere was also the series of "Action Replay" devices for doing this automatically in hardware. I still have an ISA one for PC.
- digi_owl 9y agoAnd most emulators worth using also have this built in. Nice way to see the ending of that NES game you could never finish as a kid, thanks to it being "Nintendo hard"...
- joshstrange 9y agoThere was a great blog post a while back posted here (I think it was a blog post) about a guy who was a summer intern way back when for a company that published cheat code books and he job was to use a device similar to that or an Action Replay device to find them, record them, name them and move on.