RPG Maker runtime insides needed

Hey there, everyone.

I originally just wanted to find to way to start a playtest from my IDE instead of heaving to click the playtest button in the editor every time.
I found this youtube tutorial to vastly improve the workflow.

Non or less iv noticed i don't have much knowledge about the technologies in the background. I know Web assembly (WASM) is evolved together with a node.js runtime and NW.js.

But don't know how and where (based on the main.js file and related files in the game folder) those technologies play together.
For me right now what happens when i press the playtest button is pretty much a blackbox, and i would like to change that.

I found this documentation on MZ. And while it is helpful its more a description of the API methods but not the genrel technologies involved.

Can anyone give me some inside or references to read on that topic? Are there docs about this?

Deer Regards,
K-Limbo 🙂
you're already one step too deep.

what happens on playtest is that the index.html is launched on a modified browser in a virtual directory.
the entire javascript comes after the index.html.
and the browser modifications are just there to redirect some security measures of full browsers and disable the regular adress line etc.

so if you want to follow the code, you need to start with the index.html and not the js files.
Thank you very much for the advice i do understand a lot more now.

As far as i understand the HTML code, it just defines some meta headers for the modifier browser, loads a CSS file for the fps counter, error display, loading spinner etc. and then just loads the main.js file. So nothing to crazy there i suppose.

But to implement that IDE playtest button i would "just 😉" have to start a new Browser window and load the index.html file from a local folder with the rpg maker files in that directory right?

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-runtime-insides-needed.161414/