Page 1 of 1

FCS do crash when try to export, and import don't work D:

Posted: Wed Feb 01, 2017 5:08 pm
by Irken Dravil
Do you need me to send any files ? D:

Re: FCS do crash when try to export, and import don't work D

Posted: Wed Feb 01, 2017 5:19 pm
by Sol Lignum
To be more specific, import button in the FCS is building a blank .translation file even out of gamedata.po that is more then 90% complete.

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 10:31 am
by Sol Lignum
Here's the crash log, sorry for not attaching it earlier. I've no idea why importing function doesn't want to hook up the .po file.
forgotten construction set.rar
(737 Bytes) Downloaded 330 times

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 2:19 pm
by Zodd
You need to save the mod after import to make it saved in the .translation file.
If it still creates a blank .translation file, send me the gamedata.po file.

About the crash log, I couldn't make what it made it crash.
Could you send me your translation mod file?

Thanks

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:00 pm
by Irken Dravil
Try two times, but nothing too.

What translation file, the one who don't take the translations ?

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:03 pm
by Irken Dravil
I can't attach the gamedata.po there, do you want me to do a dropbox file or something ?

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:23 pm
by Zodd
Irken Dravil wrote:I can't attach the gamedata.po there, do you want me to do a dropbox file or something ?
Yeah, dropbox is fine.
Thanks.

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:27 pm
by Sol Lignum
Zodd wrote:You need to save the mod after import to make it saved in the .translation file.
If it still creates a blank .translation file, send me the gamedata.po file.
Ok, that worked. Didn't figured it imports into FCS, and needs saving. Thank you very much.
Zodd wrote: Could you send me your translation mod file?
How it may be relevant? It crashes upon exporting the strings of game data, i.e. upon creation of gamedata.pot file

Here it is though.
ru_RU.rar
(76.69 KiB) Downloaded 318 times

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:56 pm
by Zodd
The crash has to do with a couple of translated characters that no longer exists in the base game data.
I'm working on a fix, but for now if you want to fix it, open the translation as a normal mod (pressing Alt on the mod selection window with the translation selected) and delete the characters named: "Охранник каравана мёртвый" and "Охранник каравана выживший".

Let me know if that fixes it.

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 3:59 pm
by Sol Lignum
Zodd wrote:The crash has to do with a couple of translated characters that no longer exists in the base game data.
I'm working on a fix, but for now if you want to fix it, open the translation as a normal mod (pressing Alt on the mod selection window with the translation selected) and delete the characters named: "Охранник каравана мёртвый" and "Охранник каравана выживший".

Let me know if that fixes it.
woah, i had no idea exporting may be affected by the translated files somehow. i thought it's completely independent functions. will try and let you know shortly if it works.

UPD.: Ok, i'm starting to understand things a bit. here's the FCS crash log, it still happening after i cleaned the .translation file opened as a mod.
forgotten construction set.rar
(704 Bytes) Downloaded 621 times
It also happens with completely new translation, with no .po or .translation files in the locale folder
whatsoever.

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 4:37 pm
by Zodd
OK, I've found the problem; it has to do with some invalid data in the game data. It seems that my base game data is different from the release one.
There are some invalid references from deleted objects.
You could fix it if you open the base mods only and delete the invalid objects (the ones that appear in the error window) or wait for an update.
Sol Lignum wrote:woah, i had no idea exporting may be affected by the translated files somehow. i thought it's completely independent functions. will try and let you know shortly if it works.
Exporting shouldn't be affected by the translation. In your case, apart from the above, your .translation file had some characters that where removed from the base game data (similar to the other problem).

Re: FCS do crash when try to export, and import don't work D

Posted: Thu Feb 02, 2017 5:21 pm
by Sol Lignum
Opened base files only, should i delete everything marked with red?

Image

UPD: Done that, and managed to build the .pot file. Yay. Thank you very much for your work, Mr.Zodd :) May your preferred God, either fictional or real cast blessings upon you!

UPD2: So to conclude, the export problem has to do with FCS errors depicted above, and the import issues was mostly due to my stupidity, for info imported from .po had to be saved in the FCS before becoming a .translation file :)

Re: FCS do crash when try to export, and import don't work D

Posted: Fri Apr 07, 2017 9:37 pm
by ruthfahlt
It crashes again in 0.95.27, but this time it happens when I attempt to import .po files.
I exported "gamedata.pot" and dialogue files, then translate on google translator toolkit, and downloaded the translated .po files.
The files are saved in "__translation" folder like this
Image
FCS LOG is here
https://drive.google.com/file/d/0B2RJnH ... sp=sharing