project-navigation
Personal tools

Author Topic: corrupted xml data  (Read 6793 times)

Offline sjaele

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
corrupted xml data
« 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?


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: corrupted xml data
« Reply #1 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

Offline sjaele

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: corrupted xml data
« Reply #2 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.


Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: corrupted xml data
« Reply #3 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 for info where to find saved games — and lang files)

Offline sjaele

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: corrupted xml data
« Reply #4 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.
« Last Edit: March 05, 2016, 03:46:51 pm by sjaele »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: corrupted xml data
« Reply #5 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 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)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: corrupted xml data
« Reply #6 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