project-navigation
Personal tools

Author Topic: Corrupt XML Data  (Read 4829 times)

Offline peterfarge

  • Rookie
  • ***
  • Posts: 12
    • View Profile
Corrupt XML Data
« on: November 02, 2018, 09:40:49 pm »
Hi,

I'm playing UfoAi2.6, version from the 24th October, german language.
I want to load the saveame. The error message is: Corrupted XML Data.
All of my savegames have this error. switching to english language does not help.
Renaming the savx file to zip does not help for extracting. Setting the compression to 0 in the ufoai console doesnt work, because I cannot load the savegame.  Can someone give me a hint how to fix this?
Savegame: https://ufile.io/vu4bm


Peter

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Corrupt XML Data
« Reply #1 on: November 04, 2018, 03:07:57 pm »
Hello,

I Fixed your savegame: http://www.filedropper.com/peterfarge1fixed

The issue was that two "Alien activity has been detected in %s." messages got invalid nation name substituted - a single 0xe8 character which broke the UTF string parser.

I don't quite see how could it happen, the code seem to be sane... :/

cheers,
-geever

Offline peterfarge

  • Rookie
  • ***
  • Posts: 12
    • View Profile
Re: Corrupt XML Data
« Reply #2 on: November 06, 2018, 06:45:50 pm »
Thanks a lot for your help :)
I will try the fixed savegame in the next days.