Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: nfitc1 on 2009-11-06 17:00:35

Title: What active memory addresses does the PC store it's save game data?
Post by: nfitc1 on 2009-11-06 17:00:35
I'm doin' research for my new game+ option I mentioned months ago. I need to know what a "fresh" save looks like, but the closest thing I get is the first one inside Reactor 8. Where does the game get the save data from?
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: Izban on 2009-11-07 03:34:56
wouldn't that be all the base data in the kernal.bin so if it where me i would add a little hook or something to the new game + that loaded your end game save and made a temp Kernal.bin that had all the initial data set to your end game stuff but something like this would need to used in conjuction with something like secondadvent's leveling enemys
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: Bosola on 2009-11-07 13:08:12
I'm not sure what you're asking. Are you requesting the memory addresses the game reads from when it produces a savemap?
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: halkun on 2009-11-07 14:35:40
I'm pretty sure It's in Kernel.bin
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: nfitc1 on 2009-11-11 13:17:17
*sigh*

No. I'm well aware that the game gets PART of the initial game data from there, but it's not near all the data. I need to know what virtual ACTIVE memory address the game stores all that information at. Where does it retrieve that information from? It's probably scattered throughout.

Akari might know.
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: Aali on 2009-11-11 14:45:13
The OpenGL driver takes the current savemap from 0xDBFD38 (US English 1.02) for the emergency save feature. However, this savemap is usually not updated unless you're at a safe location (save point or world map). Not sure if the initial data is ever written there.
Title: Re: What active memory addresses does the PC store it's save game data?
Post by: nfitc1 on 2009-11-11 18:09:17
Hmm. At least it's a place to start. Thanks Aali

EDIT:
That's exactly where I found the data. I was able to build a save game file from it and it passed the CRC check in the game....then crashed utterly. I suppose making a New Game+ app is impossible without modding the executable to allow for starting from the beginning. I saw other potential problems with it, but this was the worse-case, most-likely scenario. I'm officially abandoning the possibility of making a New Game+ app.
Sorry, everyone.