Skip to content

Instantly share code, notes, and snippets.


reivyr/ Secret

Last active January 22, 2022 02:12
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save reivyr/3c4ff37ace8135c84c6f7897f5751652 to your computer and use it in GitHub Desktop.

RPG Maker MV games on OpenBSD

Set up a web server before (you can use httpd) and then copy the files of the game's www directory to your specified root folder (e.g. /var/www/htdocs/game)

$ doas cp -R /path/to/game/www/* /var/www/htdocs/game

About how to import/export your savefiles

Your saves are stored on Local Storage in the browser so you can use this on the web console (usually you can open with F12 and go to the "console" tab) to export:

copy('var data = '+JSON.stringify(localStorage)+';Object.keys(data).forEach(function (k){localStorage.setItem(k, data[k]);});');

Then, paste the new content in a file and to import this only copy the content of your file to the web console and run it, after that reload the page and it's done.

PS: Crosscode (uses nw.js but is not a RPG Maker MV game) can export or import your save as a savestring when you press F10 in the game. This is already documented upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment