arhimmel wrote:all of that looks very similar to what i have. my code prints all the fields we have decoded.
i have only tried it with kestrel save games
Yeah, I'm working from a combination of RAM and the binary at this point... it's a little slower, I'll grant you.
Frodyne wrote:Code: Select all
Int32 0000 0000 ? - No idea what this does
Int32 Health
Int32 X coordinate
Int32 Y coordinate
Int32 Room
Int32 Room tile (0-3)
Int32 0100 0000 ? - No idea what this does
Just a minor update ...
The first unknown here is "Is it a drone?" (1 = true)
The second appears to be either a null pointer (its memory address appears to becomes one), or something to do with animations. Given the version check at the top, I'd say set it to one and assume it's one. If it's not one, store it and use it.
-----
File structure is something like:
Header (version)
General stats (as before)
Score related (including achievements)
Ship (including crew and droids)
GUI? (save with a store window open, interesting ...)
Star Map
Additional ship information (weapons, etc.) if an int is set to 1 -- which ship I don't know/care about, tbh.
Boss (byte array, I'm not sure what it does, but you need to have hugged the boss's face with a laser first)
Note: Rooms appear to be drawn from the "blueprint" file. Here's the complexity, we'll need that for editors, so it's parser time.