SaveGame mechanic overhaul

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

Post Reply
User avatar
Roca Dransal
Posts: 578
Joined: Sun, 15. Sep 19, 04:30
x4

SaveGame mechanic overhaul

Post by Roca Dransal » Wed, 9. Oct 19, 11:52

Hello,
i have a question so its possible to overhaul the savegamelogic?
Look, the savefile is an packed xml file with round 50MB and have over 8 mio rows.
You can make a folder with more xml files and then you can zip the folder. Its better to check and analyze the savegame and better for the loadtime in the editors.
Image
Ich bin kein Suchti .... ährlisch :gruebel:

CBJ
EGOSOFT
EGOSOFT
Posts: 51974
Joined: Tue, 29. Apr 03, 00:56
x4

Re: SaveGame mechanic overhaul

Post by CBJ » Wed, 9. Oct 19, 12:16

We have no plans to change the savegame format.

User avatar
Sima86
Posts: 90
Joined: Thu, 20. Dec 18, 21:48

Re: SaveGame mechanic overhaul

Post by Sima86 » Thu, 17. Oct 19, 22:59

We have no plans to change the savegame format.
Is there a checksum or hash to protect against file corruption?
with round 50MB
You are very lucky, my savegame is about 300MB unpacked.
Hardware configuration in detail

CPU: Ryzen 5900X | RAM: Corsair 32GB@3600
MB: AORUS-M X570S | GPU: RTX 4070 Ti | PSU: Corsair RM750x

Panos
Posts: 848
Joined: Sat, 25. Oct 08, 00:48
x4

Re: SaveGame mechanic overhaul

Post by Panos » Thu, 17. Oct 19, 23:25

Roca Dransal wrote:
Wed, 9. Oct 19, 11:52
Hello,
i have a question so its possible to overhaul the savegamelogic?
Look, the savefile is an packed xml file with round 50MB and have over 8 mio rows.
You can make a folder with more xml files and then you can zip the folder. Its better to check and analyze the savegame and better for the loadtime in the editors.
Given the scope of the game and the data stored, seems fine :D
8 million rows seem too low.

User avatar
Roca Dransal
Posts: 578
Joined: Sun, 15. Sep 19, 04:30
x4

Re: SaveGame mechanic overhaul

Post by Roca Dransal » Fri, 18. Oct 19, 02:18

But these are xml format so it can be splitting in more files that you can easier load the files in editors withouth long loadtimes.
Image
Ich bin kein Suchti .... ährlisch :gruebel:

User avatar
MegaJohnny
Posts: 2195
Joined: Wed, 4. Jun 08, 22:30
x4

Re: SaveGame mechanic overhaul

Post by MegaJohnny » Fri, 18. Oct 19, 17:29

Out of interest, which editor are you opening savegames in at the moment? I had much better performance with VSCode than Notepad++, although I've heard you can turn off the syntax highlighting on the latter to make it faster.

Imperial Good
Moderator (English)
Moderator (English)
Posts: 4764
Joined: Fri, 21. Dec 18, 18:23
x4

Re: SaveGame mechanic overhaul

Post by Imperial Good » Fri, 18. Oct 19, 19:06

Roca Dransal wrote:
Fri, 18. Oct 19, 02:18
But these are xml format so it can be splitting in more files that you can easier load the files in editors withouth long loadtimes.
It will also decrease compression efficiency and likely take longer to encode.

Post Reply

Return to “X4: Foundations”