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:
https://drive.google.com/open?id=0B9sGs ... XhXQnRScG8
And exported to linux64 example:
https://drive.google.com/open?id=0B9sGs ... WNHVkM3eTQ
(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?