For 0.28, I did the following to get it running on arch linux:
- Don't bother doing anything with the
game
dir. Leave it as it is in Glamour-0.28
- Make a new directory inside
resources/
. Call it anything. I just named it glamour
and extract resources/app.asar
into that new directory.
cd
into the new directory you extracted the app.asar
in and run electron .
from there.
- I installed electron v7 from
pacman
(arch's package manager), but your npm install
should also work fine.
0.27 was coded to look for the
game
directory in the same place you started
electron .
from.
0.28's coded to actually look for the
game
directory that many levels above where you run
electron .
which is why you need to do this
As always, if images don't load on the first run, just close and start again
Not that you need it, you seem to know what you're doing, but here's a step-by-step anyway
Code:
# Download and extract Glamour-0.28
# Apply my bugfix from https://f95zone.to/threads/glamour-v0-28-offline-dark-silver.10579/post-3903693
# -- The bugfix is not required, but is recommended, if I do say so myself :)
cd Glamour-0.28/resources/
mkdir glamour
asar e app.asar glamour
cd glamour/
npm install electron@7 electron-is-packaged
./node_modules/electron/dist/electron .
# If images don't load, close and run previous command again :P
# Subsequently, to start the game:
cd Glamour-0.28/resources/glamour/
./node_modules/electron/dist/electron .