So that save editor is a god send - but for the life of me I can't get the final step to work and I'm too stupid to understand the instructions. I keep getting nothing but invalid syntax no matter what I do and I can't get it to import back into a .sav. If anyone else has gotten it working, I'd love to have a 'for dummies' explanation of what I've got to tell this thing to do.
Could you post the save file and the json file? I'll take a look.
Say you want to edit the savegame from the 3rd slot. Cos the savegame name started at 0, so the 1st slot savegame is 0.sav, the 2nd is 1.sav, and the 3rd is 2.sav. So the target is to edit 2.sav.
To extract json from 2.sav, type this in the command line:
Code:
python botn_save.py 2.sav
It will generate a new json file named 2.json. You can now edit 2.json.
After that, to import back into a savegame, you type:
Code:
python botn_save.py -i 2.json
Then a new mod_2.sav is generated. You can then rename it to, say 3.sav, so it occupy the 4th save slot.
It is also possible when you edit the json to add traits, you forgot a comma. For example:
Code:
Original:
...
"tags": [
"Trait.Form.Hominal",
"Trait.Size.Normal"
],
...
Edited:
...
"tags": [
"Trait.Form.Hominal",
"Trait.Size.Normal"
"Trait.Stat.Nymphomaniac"
],
...
Notice that between the Trait.Size.Normal and Trait.Stat.Nymphomaniac line there's no comma, while there's one between Trait.Form.Hominal and Trait.Size.Normal. The JSON specs says there should always be a comma between items unless it's the last item in an array. Well "tags" is an array, and the 3 traits are the elements of that array. By JSON rule, Trait.Stat.Nymphomaniac is the last item, so it doesn't have to have a comma, but the others have to. So fixing it like the following complies to the JSON rule:
Code:
...
"tags": [
"Trait.Form.Hominal",
"Trait.Size.Normal",
"Trait.Stat.Nymphomaniac"
],
...
Well, at least that's my most common mistake editing JSON files
