Xenonauts 2

Xenonauts 2

View Stats:
chemik12345 Jul 19, 2023 @ 1:05am
Save game editing
Hi everyone!
Looking at the save game files (which I have at C:\Users\User\Documents\My Games\Xenonauts 2\Saves\jade_trident on Windows) I really wanted to play around with one to test a few things.

Did any of you figure out where you can e.g. add more cash in your save file? I can't find that particular parameter. The game's difficulty is unfairly difficult (any enemy can snipe me for 50dmg from miles away pretty much all the time) and there's so many missions to play, I'd like to speed it up a bit.
< >
Showing 1-13 of 13 comments
Goldhawk  [developer] Jul 19, 2023 @ 1:41am 
Do the starting campaign options not give you what you need? If you play on Recruit difficulty you should have reasonably generous funding and less aliens (with less accuracy).

Editing the save games is harder than it used to be because we had to change the format to improve save performance, so the actual data is harder to get at using a text editor now.
schlangz Jul 19, 2023 @ 3:36pm 
Originally posted by Goldhawk:
Editing the save games is harder than it used to be because we had to change the format to improve save performance, so the actual data is harder to get at using a text editor now.

is the worldData json encrypted or regular base64 or what strategy are you using?
Tennebep Jul 19, 2023 @ 5:02pm 
Originally posted by schlangz:
Originally posted by Goldhawk:
Editing the save games is harder than it used to be because we had to change the format to improve save performance, so the actual data is harder to get at using a text editor now.

is the worldData json encrypted or regular base64 or what strategy are you using?
It is base64 and not encrypted, but packed as gzip. Anyway, there is no good structure to it, because of the way the serialization is done. If you want to edit stuff, it's going to be difficult
Garland Jul 20, 2023 @ 3:47pm 
I tried to decompress this part in Python
data_string = data_json["asset"]["worldData"]
bytes_string = gzip.decompress(base64.b64decode(data_string))

But after this i'm stuck and cannot figure the correct encoding to convert byte-like to string
schlangz Jul 20, 2023 @ 3:49pm 
they are using C# fullserializer. so somebody gets all the fun of writing a de/serializer for it...
Garland Jul 20, 2023 @ 3:51pm 
Nice...
Maybe this is the case of extremely long load times
im looking at my save data and the entire thing looks gibberish to someone new to this. Where should I go to edit money for the save?
schlangz Aug 8, 2023 @ 12:44pm 
bump. any volunteers?
Gamerzilla Aug 8, 2023 @ 2:41pm 
You don't need to get complicated. If money is all you care about, a simple float search with cheat engine at the start of your game will give you your money value. Then buy some stuff, and enter the new value until you only have a few. Change them until you find the correct one and give your self a couple extra 9's in front of your amount. You will never have to prioritize money again.
If that doesn't work, there are always mods like "Wemod"
Last edited by Gamerzilla; Aug 8, 2023 @ 2:41pm
Originally posted by Gamerzilla:
If that doesn't work, there are always mods like "Wemod"
Unfortunately, the WeMod cheats don't work for X:CE
AmesNFire Nov 15, 2024 @ 11:28pm 
Notepad++ works just fine if you know where to edit stuff.
There's even a guide on here to mess with accelerated rifles for easy money if you want.
uh, this was a thread talking about editing the SAVE FILE, not the templates. what you are talking about there are templates. yes, you can edit them to change value of weapons. that is NOT editing your save file.
Originally posted by Goldhawk:
Do the starting campaign options not give you what you need? If you play on Recruit difficulty you should have reasonably generous funding and less aliens (with less accuracy).

Editing the save games is harder than it used to be because we had to change the format to improve save performance, so the actual data is harder to get at using a text editor now.
Hello, guys. Unsure what others are looking for, I was looking for savegame editor because I had to start new game over and over again after any minor changes. Would be nice to have at least compatible save files when there are no major changes added to the game.
Sorry, if I missed it, and they are now compatible. Cheers! Thank you for great game
< >
Showing 1-13 of 13 comments
Per page: 1530 50