Hi can anyone create a mac version using the nw.js thing? I tried myself using the Linux way but I probably fucked up somewhere and cannot get it to work.
Thank you so much!
Sadly I have no access to a Mac computer, so I'm not sure if
You must be registered to see the links
works, but I can try to deduce what to do. I have a few questions for you, maybe from your answers I can spot the problem.
- Did you follow the procedure to the letter?
- Did the installation vanish the "package.mw" file and the "bgs", "characters", "data", "scenes" directories to create a "files" directory and the "saves" and "scenes" links?
- Is the "files" directory filled with files and a single folder named as the root folder where you installed the game (probably "home" if you installed the game on your computer and something like "mnt" or "media" if you installed on an external disk)?
Right now I just downloaded the Mac version of nwjs and the files are arranged in a completely different way. I have to compare it to something that works both on Linux and Mac to see how to launch the game on the latter. Probably a Ren'Py game can help me with this, but it will take time and I'll need someone willing to do some testing for me.
If possible I'd need two different installations of the game: one that follows my procedure to the letter up to and including point 6 and the instructions in the README file, the other up to and including point 3 and nothing more. There is the possibility that the files can't be found where they should be only on linux and I don't like to become crazy for something that trivial.
As soon as I discover something, I'll write here more instructions. It will probably be necessary to modify "Glassix.sh".
Edit: I managed to find a Ren'Py game that runs on Mac (Lab Rats) and analyzed its .sh executable. It shouldn't be too hard to modify my Glassix.sh to run the game. This are the possibilities:
- In the first installation (see above) create a copy of the current "Glassix.sh" file and rename it (e.g. Glassix1Mac.sh). Edit it with your preferred program and replace the second line ("./nw files/") with "./nwjs.app/Contents/MacOS/nwjs files/" (without quotes).
- Again in the first installation create a copy of the file you created in the previous point, rename it (e.g. Glassix2Mac.sh), edit it and replace "files/" with "../../../files/" (without quotes)
- Copy these two files and paste them in the second installation. In both files remove only "files/" from the second line, nothing more.
Never modify the first line ("#!/bin/bash"), in any of the cases.
Check if these four files are executables, then run them one after the other. For every one of them I need to know if the game does even start (it should in every case) and if it has content (probably the first file of one of the two installations will be the one that works, but better be accurate).
Good luck!