project-navigation
Personal tools

Author Topic: savegame repair and language update  (Read 4266 times)

Offline kingchaos

  • Rookie
  • ***
  • Posts: 33
    • View Profile
savegame repair and language update
« on: January 18, 2017, 12:15:13 pm »
hi there,

i used 2.5 (IA-32 Apr 14 2014 Win32 Release) in german and my savegames are corrupted (xml-data).

i tried to use the translator for compiling the .po into .mo to avoid future destruction of my savegames.
But it was impossible for me, to pick the right compilation path for the translated text.

and i need help, to repair my savegames.

the savegame is a great try in the medium difficulty, so must have them repaired. ^^

i there any email, to where i can send them?

mfg KC




Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame repair and language update
« Reply #1 on: January 19, 2017, 12:21:53 am »
i used 2.5 (IA-32 Apr 14 2014 Win32 Release) in german and my savegames are corrupted (xml-data).

i tried to use the translator for compiling the .po into .mo to avoid future destruction of my savegames.
But it was impossible for me, to pick the right compilation path for the translated text.

Make sure, you use the latest language file from the 2.5 branch: https://sourceforge.net/p/ufoai/code/ci/ufoai_2.5/tree/src/po/ufoai-de.po
PoEdit can compile the language file to mo. The destination path for the mo file is supposed to be somewhere
Code: [Select]
$PROGRAM_FILES\ufoai-2.5\base\i18n\de\LC_MESSAGES\ufoai.mo
and i need help, to repair my savegames.
the savegame is a great try in the medium difficulty, so must have them repaired. ^^

i there any email, to where i can send them?

Attach a save to your answer I'll put together a repair script.

-geever

Offline kingchaos

  • Rookie
  • ***
  • Posts: 33
    • View Profile
Re: savegame repair and language update
« Reply #2 on: January 19, 2017, 06:38:33 am »
Hey,


thx a lot.

And where is this "somewhere" for the .mo file?

i searched the whole harddisk for a similar named file, to find the path, but i was not sucessfull.


br kc

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame repair and language update
« Reply #3 on: January 21, 2017, 12:08:19 am »
i searched the whole harddisk for a similar named file, to find the path, but i was not sucessfull.

You may need to enable 'show hidden files' or similar option. the language file should be in C:\Program Files\UFOAI-2.5\base\i18n\de\LC_MESSAGES\ufoai.mo. If your version of Windows put program files in a different path you need to find it our for yourself as I don't know Windoof that much..

Attached your games fixed.
-geever

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: savegame repair and language update
« Reply #4 on: January 21, 2017, 12:36:13 am »
Oh, obviously, on 64bit systems, the program will be in Progam Files (x86) - as the installer is 32bit-only.

-geever

Offline kingchaos

  • Rookie
  • ***
  • Posts: 33
    • View Profile
Re: savegame repair and language update
« Reply #5 on: January 22, 2017, 09:43:38 am »
i am using 32 bit win 7 and thx i will try it.