Linux :
- Downloaded nw.js
- cd nw_folder
- ln -fs /path_to_game/ww
- ln -fs /path_to_game/package.json
- Game start with ocasional and ignorable erros :
Code:
Loading Error : Failed to load : img/system/Window.png
inconvenient fix : Rename the existing file
img/system/window.png to
img/system/Window.png. The letter
w in the existing file's name Is lowercase, while the game tries to find it with uppercase.
Aparently the game expect that lowercase and uppercase will be read as the same while locating files, and didnt mind to name some files with lowercase and call them with uppercase. But, at least on linux, those are being differentiated, so Windows.png is not being located because the actual file was named as windows.png.
I was thinking about making a python script to rename all files at once. Making the first letter of all file's names uppercase, and if the file name has two words separated with "_", "-", or " ", to make the second word fisrt letter upercase as well. But i dont know if the game is naming and calling files with consistenly like that. Maybe sometimes it calls with lowercase, and the file is writen with uppercase. Maybe its just a mess without a patter, some lower, some upper. So i dont know if this will works, because idk with there is a consistent patter in naming and calling files reggarding to uper/lowercase.
Besides, maybe i could just set linux to ignore the diference between upper and lower case ? That will be a lot easier.
Anyone has any tips ?