tracktwo / xcomsave

46 stars 16 forks source link

Actual steam version + CZE language = Generated save is not good #20

Closed Gallindko closed 3 years ago

Gallindko commented 3 years ago

Hello

When I decompress and compress Save file with no changes., generated save is corrupt - wont load ingame. I use CZE language (install files included) SampleSaves.zip xcom_eu_2012_cz_v101.zip

tracktwo commented 3 years ago

Thanks for the report. Looks like it's not the language that's the problem here, but the version. The EU support was contributed by someone else and I haven't tested it myself. It looks like there is a bug in save regeneration specific to EU.

Can you try the attached version and see if that works for you? This passes my usual test for saves (convert save to json, json back to save2, convert save2 to json2, compare json and json2 to be identical) but I haven't tried it in-game.

If this works I'll make a new release with these changes.

Debug_xcomsave.zip

Gallindko commented 3 years ago

Thx, for response.

I cannot run files. I dont have VS 2015 installed, and cannot install it on my computer, (I have VS code here). I downloaded dlls with d suffix but stil it ends with error:

msvcp140d

Also xcom2json.exe ask me to have appcrt140d.dll + dektopcrt140d.dll, but those are mixed in ucrtbased.dll nowadays...

:-(

tracktwo commented 3 years ago

Here's a release build with the changes, it should have the same dependency list as the latest actual release.

xcomsave.zip

Gallindko commented 3 years ago

Works Great! Many Thanks :-)