2.60 : Save file not loading (no extensions/mods ever) - Save corrupted by early exit.

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
Dreyloc
Posts: 12
Joined: Fri, 29. Nov 13, 17:54

2.60 : Save file not loading (no extensions/mods ever) - Save corrupted by early exit.

Post by Dreyloc » Thu, 28. Nov 19, 04:16

Quicksave file will no load. Says initializing, then displays a quote, then the foundations background image, then fades back to the main menu.

I have not used any extensions or mods, I have not save file edited, etc. I did shut my machine down pretty fast after the last time I saved and exited the game. That's the only think I can think of that was different than the dozens of other times I have saved/loaded.

Debug log is:

Logfile started, time Wed Nov 27 22:11:36 2019
[General] 0.00 'GeForce GTX TITAN X' NVidia-driver v441.20.0 (Vulkan 1.1.119) check=1
[General] 0.00 'GeForce GTX TITAN X' NVidia-driver v441.20.0 (Vulkan 1.1.119) check=1
[General] 0.00 ======================================
[=ERROR=] 0.00 DecompressGzipBufferToMemory() Could not get valid compressionbuffer size.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 DecompressGzipBufferToMemory() Could not get valid compressionbuffer size.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 LIBXML2: personal:///save%2Fquicksave?ext=xml.gz%20xml line 1, error 5: Extra content at the end of the document

[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 GameClass::Load(): Error loading from XML file 'save\quicksave'. Check the log for further information.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Error in GameClient::Move(): Failed to initialize the module: "x4ep1_gamestart_tutorial" with parameters 'load=quicksave '.
[General] 0.00 ======================================


If I need to I can find a way to post the save file. Hoping perhaps not necessary.

Thanks in advance for any help possible.

Dreyloc
Posts: 12
Joined: Fri, 29. Nov 13, 17:54

Re: 2.60 : Save file not loading (no extensions/mods ever)

Post by Dreyloc » Thu, 28. Nov 19, 04:33

Crap, I can see the issue in the extracted XML file.

$ tail -n 10 quicksave.xml
<command type="freetrade"/>
<commandaction type="searchingtrades"/>
<vars>
<value name="$builds" type="table" value="413"/>
<value name="$debugchance" type="integer"/>
<value name="$list_criticalresources" type="list" value="6700"/>
<value name="$needsmineables" type="integer"/>
<value name="$problemthreshold" type="time" value="18000"/>
<value name="$resources" type="list" value="38627"/>
<value name="$ta_problemresources"


... xml is just truncated.

Bummer.

Dreyloc
Posts: 12
Joined: Fri, 29. Nov 13, 17:54

Re: 2.60 : Save file not loading (no extensions/mods ever)

Post by Dreyloc » Thu, 28. Nov 19, 04:42

Well I guess the moral is, don't exit the game really quickly after a save because it must stop the compression of the save. The data is simply truncated inside the gzip file.

Sorry for the unnecessary thread.

Post Reply

Return to “X4: Foundations - Technical Support”