UFO:Alien Invasion

Technical support => Linux => Topic started by: sjaele on February 29, 2016, 10:18:14 am

Title: corrupted xml data
Post 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?

Title: Re: corrupted xml data
Post by: geever on March 01, 2016, 08:32:42 pm
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
Title: Re: corrupted xml data
Post by: sjaele on March 02, 2016, 08:55:02 am
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.

Title: Re: corrupted xml data
Post by: DarkRain on March 03, 2016, 05:58:12 am
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)
Title: Re: corrupted xml data
Post by: sjaele on March 05, 2016, 03:32:54 pm
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.
Title: Re: corrupted xml data
Post by: DarkRain on March 07, 2016, 06:23:53 am
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)
Title: Re: corrupted xml data
Post by: geever on March 07, 2016, 08:26:02 pm
Unfortunately the updated language file won't fix the corrupted savegame, but will prevent the issue happening again.

-geever