I'm near to finish my game, it works perfectly in win7.
I installed virtualbox with Ubuntu to test it in linux. I've got the game work, but there is no way to load the savegame, play music, ... read any external file.
-I can create files, the savegame work.
-I use: NWjs.AppFolder & "save/slot1.sav" (it works in windows)
-"NWjs path exists" detect the file.
-The files have the read permission.
Here's a sample source code:
And exported to linux64 example:
(With the "save" folder and 3 sample files)
(You need "chmod a+x nw" to execute)
I'm total noob in linux, there is something I must know about how to read files?