I have recently discovered RPG Maker games on steam and would love to try more. I discovered one not on steam but could be downloaded. I don't have much issue any longer running just about anything I need to on Linux, but for the life of me, I can't figure this game out. When I use wine to run the game.exe file, it just opens up an empty nw.js box. I am not sure what to do after that or if that is even supposed to pop up. I saw some threads with search, I believe from this forum, that says to use webserver basically using localhost in that folder. It says go to the localhost and "play the game". Well...how? I go there and it lists the files, including the exe file, but all I can do is download the file from myself by clicking on it. There does not seem to be anything starting an executable or script. There has to be something I am missing obviously. Any help is appreciated. Running updated Linux Mint version and I have tried Lutris, Bottles, Playonlinux, and even adding to steam client and using proton. All result in game.exe popping up a blank nw.js box.
Linux getting games to run?
RPG Maker MZ SupportI can't speak for running other people's games, but I do my development using RMMZ on Linux Mint and I use a local install of the Linux version of nwjs since the Windows one runs a tad slowly. Note that I use the SDK version since it allows debugging features to work properly.
If you create a shell script in the game's directory (the folder which contains its index.html), you can pass the current path to a local copy of nwjs to run the game. Replace the path with the path you saved your nwjs to.
As a side note for anyone else who stumbles upon this, I also have this line in my script above the other line. This enables the F9 debug menu and other testing features. It's necessary since saving the project in the editor updates this file to remove the `?test`. (There may be a better way using some sort of nwjs parameter but this works for me)
Also, if you experience choppiness, try newer or older versions of nwjs. The 0.82.0 one seems to work well. Some versions play nicer with RMMZ than others do.
If you create a shell script in the game's directory (the folder which contains its index.html), you can pass the current path to a local copy of nwjs to run the game. Replace the path with the path you saved your nwjs to.
Bash:
/home/youruser/Programs/nwjs-sdk-v0.82.0-linux-x64/nw --url .
As a side note for anyone else who stumbles upon this, I also have this line in my script above the other line. This enables the F9 debug menu and other testing features. It's necessary since saving the project in the editor updates this file to remove the `?test`. (There may be a better way using some sort of nwjs parameter but this works for me)
Bash:
sed -i -e 's/\"index\.html\"/"index.html?test"/i' package.json
Also, if you experience choppiness, try newer or older versions of nwjs. The 0.82.0 one seems to work well. Some versions play nicer with RMMZ than others do.
Original thread: https://forums.rpgmakerweb.com/threads/linux-getting-games-to-run.164180/