I couldn't for my life get rid of similar issues on linux whether with wine or running windows in virtualbox. Loads of forums about webgl and fonts and winetricks and yadda yadda, so many hours wasted. If it's any similar on Mac I suggest you to use
You must be registered to see the links
from now on for rpgmaker games. It just works. Extract, copy the game files into it's folder then run the nw executable. The worst thing I need to do since is renaming some files every now and then. (Because linux is case sensitive.)
Thanks for writing this up! Unfortunately your fix doesn't work for the most recent patch. After a few hours of debugging, I've figured out how to make the game run on Linux again:
First, use nwjs to solve general Linux incompatibilities:
1. Download nwjs (
You must be registered to see the links
) (Linux version)
2. Extract it
3. Copy the `www` folder from the game folder into the (extracted) nwjs folder
4. Copy the `package.json` file from the game folder (the one in the main folder, not the one in the `www` folder) into the (extracted) nwjs folder
After doing this, you should be able to launch the game by executing `nw` in the extracted `nwjs` folder, but the game will crash when you get into battle (possibly earlier if you're unlucky). In the title menu, you'll also see "version undefined" in the bottom left corner.
What's happening here is that `SA_Patch.js`, the file responsible for loading patches and mods, doesn't work properly on Linux. Since it can't load any patches or mods, when you run into any part of the game that was modified by one of the patches (including battles), the game will crash. This is also why you're seeing `version undefined` and `append not installed` on the title screen.
To fix these crashes, you'll need to modify `SA_Patch.js` as follows:
1. In the extracted `nwjs` folder, find `www/js/plugins/SA_Patch.js` and open it in a text editor
- Make sure you're not looking at `SA_Patch_Backup.js`, that's the wrong file
2. Find line 28, where you should see
const url = file
3. Replace that line with
const url = path.relative(process.cwd() + '/www', file)
4. Save the file
After doing this, you should be able to launch the game (by running `nw` in the extracted `nwjs` folder) and see the game's version in the bottom left corner of the title screen. If you're still seeing `version undefined`, something went wrong during this step, and the game will crash when you get into a battle.