Savegame formats?
from
Sins Forums
Okay, now, I'm highly puzzled by this. I've been trying to edit the save game files, and I started a new game, starting with Autosave[0].save (Maybe I should save another save file to edit? - Gonna go do that, BRB.)
Note that I am playing with the default name, the "Terra Confederation". These are the opening few lines of the save file:
Since everything else has a status 4 or 3, I'm going to assume that Status 1 means "Player".
Now, the first thing I want to find and do is change my credits, metal and crystal to 50,000 each. So I did another search on the Terra Confederation:
It's pretty clear-cut what the "Credits", "Metal" and "Crystal" entries are for. But what I don't understand are the Bits= numbers after them.
Bits=1149100309
Bits=1133944832
Bits=1125515264
I've tried editing the numbers in front of the Bits= and leaving Bits= alone, but when I re-open the save file, or when I load the game, I have the original number of credits. This I do not understand.
Here is what I have done, in changing the Credits/Metal/Crystal line:
In theory, that ought to mean the game should load up with 50,000 credits/metal/crystal for me. I'm just worried about the "bits" though.
Eh, I'm just going to save it now, and then re-open the file, to see if something bizzare is happening and my changes aren't actually being saved....
Nope. When I opened the file again, it was still at 50,000. So now to try in Sins.
And nada. When I open up the save file in Sins of a Solar Empire, the numbers go back to the originals. I'm starting to think the "Bits" entry is the only one that matters.
What's going on? How can I successfully edit this sucker?
Note that I am playing with the default name, the "Terra Confederation". These are the opening few lines of the save file:
Code
- TXT
- PlayerSetup
- type 0
- numSlots 11
- slot
- status 1
- networkPlayerID 0
- name "Terra Confederation"
- actualRace "PlayerTech"
- raceIfNotRandom "PlayerTech"
- isRaceRandom FALSE
- isReadyToStart FALSE
- colorIndex 9
- themeIndex 41
- teamIndex 0
- aiDifficulty 1
Since everything else has a status 4 or 3, I'm going to assume that Status 1 means "Player".
Now, the first thing I want to find and do is change my credits, metal and crystal to 50,000 each. So I did another search on the Terra Confederation:
Code
- name "Terra Confederation"
- victoryStatus 0
- <snip a="" bunch="" of="" stuff="" related="" to="" alliances="">
- numShareVisionPlayerIndices 0
- credits 1015.52 Bits=1149100309
- metal 301.25 Bits=1133944832
- crystal 150.00 Bits=1125515264
- shipSlots
- maxSlots 85.00 Bits=1118437376
- usedByFrigatesSlots 13.00 Bits=1095761920
- usedByCapitalShipsSlots 40.00 Bits=1109393408
It's pretty clear-cut what the "Credits", "Metal" and "Crystal" entries are for. But what I don't understand are the Bits= numbers after them.
Bits=1149100309
Bits=1133944832
Bits=1125515264
I've tried editing the numbers in front of the Bits= and leaving Bits= alone, but when I re-open the save file, or when I load the game, I have the original number of credits. This I do not understand.
Here is what I have done, in changing the Credits/Metal/Crystal line:
Code
- credits 50000.52 Bits=1149100309
- metal 50000.25 Bits=1133944832
- crystal 50000.00 Bits=1125515264
In theory, that ought to mean the game should load up with 50,000 credits/metal/crystal for me. I'm just worried about the "bits" though.
Eh, I'm just going to save it now, and then re-open the file, to see if something bizzare is happening and my changes aren't actually being saved....
Nope. When I opened the file again, it was still at 50,000. So now to try in Sins.
And nada. When I open up the save file in Sins of a Solar Empire, the numbers go back to the originals. I'm starting to think the "Bits" entry is the only one that matters.
What's going on? How can I successfully edit this sucker?