Paper Dungeons

Paper Dungeons

View Stats:
Akien Mar 29, 2014 @ 8:57am
[Linux] Non English locale causes adventure mode to load indefinitely
Hi,

I'm running Mageia Cauldron (dev version of Mageia 5) 64 bits. My system locale is French.

The UI starts just fine, both in windowed and fullscren mode. When I try to start the adventure mode, the game seems stuck in the intro. After the intro has been shown, "LOADING..." is displayed, but nothing gets loading. Instead, the intro music starts again (one can even hear the sound of the Dark Lord's spell).

Skipping the intro has no effect: "LOADING..." is displayed, but the intro keeps playing, and eventually reaches the same state as described above.

Since I often experience locale related issues with Steam's Linux games, I tried my usual workaround: starting the game with "LC_ALL=C %command%". It does fix the issue, so you could force the use of en_US locale, but that's a dirty workaround. It would be great if you could find out why non-English locales prevent the adventure mode from loading.

Here is the content of ~/.config/unity3d/Agent\ Mega/Paper\ Dungeons/Player.log when run without the locale workaround: http://pastebin.com/QGmDBnAR
< >
Showing 1-3 of 3 comments
Paifu  [developer] Mar 29, 2014 @ 8:45pm 
Hi Akien,

I am not a Linux user, so I don't master it well, but I will try and find what's the problem here.

Thanks for your report.
Akien Mar 30, 2014 @ 3:53am 
Thanks :)

Just a quick search for similar issues, it might be a Unity3D engine bug related to unusual decimal separators (the decimal separator in French is the comma): http://steamcommunity.com/app/220200/discussions/0/666826250903885691/

If so maybe you will just have to workaround the issue. It would be nice to report it upstream to Unity though; I think it affects most Unity games on Linux (with my locale at least)
Paifu  [developer] Mar 30, 2014 @ 8:50pm 
Hello Akien,

Thanks to your detailed post, I think I have solved the Linux localization issue concerning the french comma separator. It's part our Paper Dungeons v1.133 HOTFIX .

To all Unity developers readers:
You have to replace your float.Parse(yourString); functions in all your scripts by this one:
float.Parse (yourString,System.Globalization.CultureInfo.InvariantCulture.NumberFormat);


(Akien: "But alors, you are French ??" Pardon, fallait que je demande)
< >
Showing 1-3 of 3 comments
Per page: 1530 50