Author Topic: What active memory addresses does the PC store it's save game data?  (Read 4733 times)

nfitc1

  • *
  • Posts: 3013
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
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?

Izban

  • *
  • Posts: 432
    • View Profile
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

Bosola

  • Fire hazard!
  • *
  • Posts: 1749
    • View Profile
    • My YouTube Channel
I'm not sure what you're asking. Are you requesting the memory addresses the game reads from when it produces a savemap?

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
I'm pretty sure It's in Kernel.bin

nfitc1

  • *
  • Posts: 3013
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
*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.

Aali

  • *
  • Posts: 1196
    • View Profile
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.

nfitc1

  • *
  • Posts: 3013
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
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.
« Last Edit: 2009-12-07 17:58:50 by NFITC1 »