mwalimu Posted September 14, 2013 Share Posted September 14, 2013 I just bought the game from the Humble Bundle, unzipped the zip file and ran ninja-bin from the bin/ directory it created. It runs but all the menu options and every word on the screen just say <missing> which makes it kind of hard to play. Don't see anyone else on the internet having these problems. Am I missing some language package or something? This is on linux (Gentoo specificly). Link to comment Share on other sites More sharing options...
pitamila Posted September 14, 2013 Share Posted September 14, 2013 Hi, Same pb on debian Sid (unstable)I tryied an install from humble bundle9 zip and from steam (as humble bundle provide steam key)is this a local problem or so? Link to comment Share on other sites More sharing options...
smls Posted September 14, 2013 Share Posted September 14, 2013 I had the same problem with this game on Arch Linux.Then I noticed my system locale settings were all wrong, so I properly set up my system to use the en_US.utf8 locale for everything (how this is done depends on the distribution), rebooted, deleted the ~/.klei/ninja folder (so the game's cache would be re-set), and tried starting the game again - and it worked, the text is now shown correctly.However, now I can't seem to reproduce the error anymore (even if I temporarily mess up my locale settings again for testing purposes), so maybe something more is going on here. For those who still have this problem: 1) What output do you get when you enter the following command in a terminal?locale2) Also, please run the game with the -enablelog command-line parameter once, and afterwards enter the following command in a terminal and report back with its output:grep -E "Locale|Language" ~/.klei/ninja/log/game.log3) Which desktop environment (Unity / Gnome 2 / Gnome 3 / KDE / ...) do you use? Link to comment Share on other sites More sharing options...
mwalimu Posted September 15, 2013 Author Share Posted September 15, 2013 Yep, that was it. Specifically it was the LANG environment variable. Initially running locale in a term gave everything set to POSIX. I set the environment variable to en_US.UTF-8 and now locale looks like this:LANG=en_US.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_COLLATE="en_US.UTF-8"LC_MONETARY="en_US.UTF-8"LC_MESSAGES="en_US.UTF-8"LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL=Specifically for gentoo, I created /etc/env.d/02locale, inserted the single line "LANG=en_US.UTF-8", ran/env/update && source /etc/profileas root, deleted the ~/.klei/ninja directory, relogged in my user and all was well. Using FVWM, not a desktop environment. Thanks smls. Link to comment Share on other sites More sharing options...
pitamila Posted September 15, 2013 Share Posted September 15, 2013 hi, on debian sid:$> localeLANG=LANGUAGE=en_US:enLC_CTYPE=en_US.UTF-8LC_NUMERIC="POSIX"LC_TIME="POSIX"LC_COLLATE="POSIX"LC_MONETARY="POSIX"LC_MESSAGES="POSIX"LC_PAPER="POSIX"LC_NAME="POSIX"LC_ADDRESS="POSIX"LC_TELEPHONE="POSIX"LC_MEASUREMENT="POSIX"LC_IDENTIFICATION="POSIX"LC_ALL= according to https://wiki.debian.org/LocaleLC_ALL should'nt be set and LANG determines the default locale in the absence of other locale related environment variables. notice the notation `:' in language env var. $> grep -E "Locale|Language" ~/.klei/ninja/log/game.log[20:11.02] (139960392095552) Locale set to: (null)[20:11.02] (139960392095552) Locale set to: (null)[20:11.02] (139960392095552) Locale set to: (null)[20:11.03] (139960392095552) Locale set to: (null)[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.03] (139960392095552) Language Option: <MISSING>[20:11.06] (139960392095552) Locale set to: (null)[20:11.07] (139960392095552) Locale set to: (null) however setting LANG=en_US.UTF8 and erasing the ~/.klei/ninja did the trick I don't know if developpers are reading this forum but I suggest they use a defaultlocal when not found (better than missing/empty one). Ok, going to play a bit now Thank you for support and thanks to dev for having porting this to my favorite OS (gnu-linux of course!) Pitamila Link to comment Share on other sites More sharing options...
Developer Wade Posted September 16, 2013 Developer Share Posted September 16, 2013 The developers are indeed reading these forums. We've made changes to the Linux version to have it default to English if the system doesn't have its "LANG" variable set. The fix will be part of an updated version we hope to provide to Humble later today. Thanks for letting us know! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.