Electron wrapper for RPG Maker MV
Electron wrapper for RPG Maker MV. Wrapping MV with Electron gives a handful of benefits. One of the main benefits includes in this wrapper is being able to remember the window position, size and if it was full screened the next time it's opened. See example here: twitter link
app/js/electronMain.js
, app/js/electronRenderer.js
, app/data/winData.json
, app/index.html
, app/package.json
. Do not rename the app folder unless you know what you're doing.npm install
npm start
Or by running the included play.bat.
Notes
play.bat
file. Just double click that and it will do the steps 3-4 for you.If you build you game with the RPG Maker MV editor through deployment, it will be built with nw.js. To build with electron you can use Electron builder. Which is already added in the dev dependencies. It is also configured to build windows 32 and 64bit apps, just run the following cli:
npm run build-w32
for windows 32
npm run build-w64
for windows 64
Notes
deploy.bat
file. Run that file and it will help you build it.You will need to configure 2 files. app/package.json
and app/data/winData.json
.
app/package.json
This file contains data for the exe file when built. In this file you will need to change the values for:
app/data/winData.json
This file contains data for the window settings. You will need to change the following values:
Free to use for all projects.