- Joined
- Dec 26, 2020
- Messages
- 14
- Reaction score
- 11
- First Language
- English
- Primarily Uses
- RMMZ
Ok, before I get into things I need to share a little bit of backstory. in my attempt to try and learn how to do everything with RPGmaker's GUI I started to teach myself how to do a ton of things RPGmaker can do with programming. (I even have the script calls bookmarked). I started to even check the documentation for the framework used (nwjs) and found a "protect your source code" section in the documentation. This eventually lead me into finding the "RPG Maker MV Cooking Tool" which from what I understood used nwjc to compile all the javascript files into native code (which is attractive to me because more encryption and faster runtime performance) the only issue of course is that it was for rmmv, so I did what I could to interpolate the instructions to rmmz. the issue i'm having here is that unlike rmmv where is loads all the scripts in the "js" folder using index.html and then goes on it's marry way, rmmz has to load them from a browser context as it has to emulate a database in order to get past the chromium local security. I had to rummage though the javascript files (rmmz_managers, main) to see how it was loading everything. when I edit main to be loaded (using the documentation from nwjs.io) I get the error "Undefined" because when I use the function "nw.Window.get().evalNWBin(null,url)" (where url is the name of the file it's loading) it simply doesn't load it, it just shows up in the dev console as "<script src = "undefined"></script>" I know there's a way to do this (it's on the documentation) but I'm too much of a noob at javascript (I mainly learned C# and python) and even more of a noob at nwjs.
TLDR; I need help effectively cooking an Rpgmaker MZ game
TLDR; I need help effectively cooking an Rpgmaker MZ game