Editing save files

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Graxx Katarn
Posts: 10
Joined: Fri, 5. Oct 18, 06:23
x4

Editing save files

Post by Graxx Katarn » Tue, 9. Feb 21, 09:00

I'll make this short as to save reading time.
So I installed the star wars mod and was keen to get stuck straight into capital ships and fleet fights. Wanted to edit the save file to make my rep +30 with each faction to check out all the different ships. Found the save, extracted the xml, edited it, now I'm just stuck as to how to get it back where it belongs in the correct format (.gzip).

Could use a hand, thanks. Clearly I'm completely computer illiterate.

EmperorDragon
Posts: 380
Joined: Sat, 13. Apr 13, 14:45
x4

Re: Editing save files

Post by EmperorDragon » Tue, 9. Feb 21, 09:27

You can leave it in XML format.

If you go into the game options and turn off savegame compression, games are saved in XML format by default.

That's how I edit save files. I turn off savefile compression, save the game and then edit the save XML without having to extract or repack it.
“To be the first to enter the cosmos, to engage, single-handed, in an unprecedented duel with nature - could one dream of anything more?” - Yuri Gagarin

User avatar
Praefectus classis
Posts: 1504
Joined: Tue, 14. Jan 03, 22:03
x4

Re: Editing save files

Post by Praefectus classis » Tue, 9. Feb 21, 12:11

Download 7-zip and use that to re-compress the file back into gzip format.
Reality is an illusion created by a lack of the X-universe
My new forum My original forum

Graxx Katarn
Posts: 10
Joined: Fri, 5. Oct 18, 06:23
x4

Re: Editing save files

Post by Graxx Katarn » Tue, 9. Feb 21, 14:34

Praefectus classis wrote:
Tue, 9. Feb 21, 12:11
Download 7-zip and use that to re-compress the file back into gzip format.
EmperorDragon wrote:
Tue, 9. Feb 21, 09:27
You can leave it in XML format.

If you go into the game options and turn off savegame compression, games are saved in XML format by default.

That's how I edit save files. I turn off savefile compression, save the game and then edit the save XML without having to extract or repack it.
Cheers buds!

Post Reply

Return to “X4: Foundations - Scripts and Modding”