tl;dr
Took Cordova/Ionic approach, didn't work (plays music, blank screen - same as our method)
;_;
Step-by-step instruction (for MacOS) source
You need to install
node.js and
npm first. If you get error with below command, google and install these two
Bash:node --version
npm --version
1) Install ionic and dependencies
Bash:sudo npm install -g @ionic/cli
sudo npm install cordova-plugin-nativestorage
sudo npm install @ionic-native/native-storage
sudo npm install @capacitor/ios@latest
sudo npm audit fix
2) Create the project
We will create a project directry
rmmz and a project called
mztest
Bash:mkdir ~/Documents/rmmz
cd ~/Documents/rmmz
ionic start mztest blank
Ionic setup will ask you a few questions, answer as follows
choose Angular / React >>> Angular
Integrate your new app with Capacitor (y/N) >>> Y
Create free Ionic account (y/N) >>> N
3) Enable capacitor and initialize
Bash:ionic integrations enable capacitor
npx cap init mztest com.rmmz.mztest
For com.rmmz.mztest part, use your domain in reverse with project name
4) Copy RPG Maker files to www folder
Under ~/Document/rmmz/ add your www folder, so there is ~/Document/rmmz/www with MZ contents
5) Add iOS and sync contents
Bash:npx cap add ios
npx cap sync ios
Every time you make a change to www folder contents (whenever you update your rpg maker project) make sure to run
npx cap sync ios
6) Open your project
When you compile, it'll give you lots of warnings, but just ignore those....