Is the patch 1.05 (multiple languages) available for Linux ?

All discussion about Shadowgrounds.
Michael_Collins
Posts: 10
Joined: Sun Apr 17, 2011 2:53 pm

Is the patch 1.05 (multiple languages) available for Linux ?

Postby Michael_Collins » Wed Apr 20, 2011 2:19 am

Hi !

I play the game on Linux, package from the Humble Bundle.


Is the last patch available on Linux ? i found a executable .exe only...
I want to add French Support.

If it is only some files to copy / paste, could i do this manually ?


Best regards,

MC

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Is the patch 1.05 (multiple languages) available for Lin

Postby fb_joel » Thu Apr 28, 2011 4:39 pm

Shadowgrounds only supports English on all platforms.

Old Windows versions of the game supported some additional languages like French, because they were paid for/done by the retail distributors. We should not distribute those files anymore. However, in theory you can install the Windows patch somewhere (on a Windows computer of course, and possibly it needs an existing installation of Shadowgrounds to install), and look at the language files.

The files that control the languages are:

Data\Locales\locales.txt (determine how many languages are available for the game)
Data\Locales\$$\ (each language, "en" or "e2" for English, "fr" for French and so on)

They may also be in the Data2.fbz file or whatever is the latest (Data3, Data4 etc).

And also possibly Config\launcher.txt so the languages become available in the Launcher. The Shadowgrounds games do not feature an ingame language change option, so you need to use the Launcher, or set the language manually in Config\options.txt (language and subtitle_language I think are the options).

I hope this helps a bit.
// Joel, Frozenbyte team

Michael_Collins
Posts: 10
Joined: Sun Apr 17, 2011 2:53 pm

Re: Is the patch 1.05 (multiple languages) available for Lin

Postby Michael_Collins » Wed May 04, 2011 11:25 pm

Hi !

Thank you for your reply !


I made some tests :

i took this files from Steam/Windows version : Data2.fbz and Data3.fbz (in /Steam/steamapps/common/shadowgrownd/

i opened options.txt (in /Steam/steamapps/common/shadowgrownd/Config) :

...

Locale
{
menu_language = 2
speech_language = 0
subtitle_language = 2
}
...

for french language (French translation is perfect in Windows)


Then, i tried in LINUX :

- i modified options.txt in .frozenbyte/shadowgrownds/Config
- i changed default language ( "0" to "2").

- i launched the game : something happened, because text is missing, and menus wrote "LOCALIZATION MISSING" evreywhere there was some text. Game remained playable clicking on this "new" menus...


- then, i copied Data2.fbz and Data3.fbz in /usr/local/games/shadowgrounds/
- i launched the game. Same thing : text = "Localization missing"

- i made the same test with data2.fbz and data3.fbz ("d" in minus)
- i launched the game. Same thing : text = "Localization missing"



Can i try something else ?


NB : i understand english, and i finished the game. It is some tests to add translations to people under linux...



Thanks a lot,


Best regards

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Is the patch 1.05 (multiple languages) available for Lin

Postby fb_joel » Thu May 05, 2011 5:21 pm

The localization missing notifications are just that, it's trying to say that it can't find the language files.

I think it would be best to not use the .fbz files because they may not really be compatible between Windows/Linux and may contain files that are older than the ones in the Linux version. Instead extract the language files to data\locales\fr\* and then edit data\locales\locales.txt to match the languages.

I don't actually have a multilang version of Shadowgrounds on my computer anymore, but I think it would be safe to use something like Survivor uses, e.g.:

Ids
{
0 = en
1 = de
2 = fr
}

EnglishNames
{
en = English
de = German
fr = French
}

NativeNames
{
en = English
de = Deutsch
fr = Francais
}

Then just set it in the options.txt, and if you want to go all fancy then in the launcher.txt as well.

Let me know.

Edit: Ah yes the Linux version uses all lowercase unlike the Windows one. :)
// Joel, Frozenbyte team

alt_tuomas
Posts: 57
Joined: Tue Apr 05, 2011 11:30 am

Re: Is the patch 1.05 (multiple languages) available for Lin

Postby alt_tuomas » Fri May 06, 2011 12:44 pm

Also you should lowercase all directory and file names in the extracted files in data/locales/.
Tuomas Närväinen
Alternative Games


Return to “Shadowgrounds”

Who is online

Users browsing this forum: No registered users and 1 guest