UFO:Alien Invasion
Technical support => Linux => Topic started by: sjaele on February 29, 2016, 10:18:14 am
-
Hi!
I don't know, it is a linux error.
I play the 2.5 over wine.
There were no errors before. But today I wanted to load a game and I got the error message: corrupted xml data.
Is there a way to correct it per hand?
Where I can find the nessesary .xml file?
-
Without more information we cannot help you.
The only bug I recall that was similar is the German translation issue which could have corrupted the savegame.
-geever
-
Hm...
I don't found any more information in several logfiles.
Where I find the language files (play under wine)?
Ingame is the 26. april 2085.
Short before I saved, I ended a battlemission with a cannonboat-UFO on ground.
-
Are you playing in German? If not then it isn't the translation bug, the xml data is in the save game (with a binary header and most likely compressed, so it isn't very straight forward to edit by hand) maybe if you post the problem save we can take a look (see here (http://ufoai.org/wiki/FAQ#General) for info where to find saved games — and lang files)
-
Thanks at first.
Yes I play in German.
I try to find and edit the lang file.
If it is impossible I send the savegame.
-
If the game was saved with the malformed translation it has already been corrupted, fixing the language file won't help (but still you should fix it to prevent future corruption: download the source .po (https://sourceforge.net/p/ufoai/code/ci/ufoai_2.5/tree/src/po/ufoai-de.po) from our repo, compile it to a .mo file — either using gettext or poedit — and copy it to the proper location as seen in the link in my previous post)
-
Unfortunately the updated language file won't fix the corrupted savegame, but will prevent the issue happening again.
-geever