Treasure of Nadia
-
[ARCH LINUX INSTALLATION]
Yo there,
I'm making this post cause nobody here could ever clearly explain what is necessary and sufficient in order to play Treasure of Nadia on a bare Linux install. Most of the people who have answered, wrongly saying that it works out-of-the-box simply have systems with tons of packages installed which is why they didn't have to do anything, just as I didn't have to on my previous Ubuntu 18.04 system.
But on a bare Linux install like an ArchLinux system, here is what you must do:
You will most likely encounter this issue when trying to launch the game normally by executing the
nw
binary (the launcher.sh and Game.desktop are just wrappers in the game directory :
FATAL:platform_font_linux.cc(83)] Check failed: InitDefaultFont(). Could not find the default font
Install Packages :
ffmpeg
nwjs-ffmpeg-codecs-bin
(for Arch -> AUR) which will install nwjs-bin
(AUR too) consequently
Then, launch the game this way (and not the way everybody says):
cd <game_dirpath>
LD_PRELOAD=/opt/nwjs/libffmpeg.so /usr/bin/nw .
The environment varialbe in the last command is to enforce
nw
(the command
/usr/bin/nw
, not to be confused with the file
nw
in the game directory) to use the
ffmpeg
codecs we installed which are needed to run the game.
Hope this post can help some of you other FOSS (Fappers with Open Source Software) !!
PS:You can also get an error about
libXss.so.1
missing for which you can install the package
libxss
, but it will normally be installed automatically as a dependency to
nwjs-bin
References:
[1]
https://f95zone.to/threads/playing-on-linux-tutorials-tools-and-help.19523/post-3187251 | Thanks to
johnelros for leading me to the right path !
[2]
You must be registered to see the links
[3]
You must be registered to see the links
| Thread about another NW.js game with a very similar problem