Hub Game That Launches Games?

I'm doing some dark computer science with a friend of mine, trying to link multiple games together to prototype a chapters system that plays better with provide-an-exe-for-us-to-launch platforms like Steam as opposed to upload-whatever-weird-files-you-want-lol-go-nuts platforms like Itch. This is mainly to avoid having to maintain a 'fixing the bugs and not including the new content' branch and a 'fixing the bugs and including the new content' branch (which I don't think would be so terrible but we started talking about alternatives and now we're here). Arbitrary files* would be used to carry important data between chapters.

Our original plan was to compress all the chapters into .exe files that janky old way you used to be able to do in VXA and have a main 'hub' program run them from a chapter select menu, but 1) we can't figure out how, since the only surviving tutorial has a lot of information either obscured, in VXA-specific language, or both and 2) it looks like the programming languages in MV/MZ** won't let you launch them from ingame for understandable malware prevention reasons.

I looked into HTML5 wizardry to try and get one chapter to consider the others as a component or extension of itself, since the games created are basically weird webpages? But a few days of googling various phrases have brought me no helpful information on the topic, only people asking other questions with keywords in common. I do not want to know how to run an RPGMaker game. I already know that.

Is there any way to make this happen? Or are we better off doing that double-branch thing I mentioned, coding a launcher in some other program, etc etc? I know this is bordering on magicks that would get me exiled by the council, but I've spent enough time pondering it that now I have to know. What good are the limits of possibility anyways if we don't throw rocks at the border for entertainment every so often?

*feasability of chapters reading other's save data or using an arbitrary file to share data is also pending. i have found surprisingly little information on this.

**also, is the difference between MV and MZ on this front significant? im on V, friend is on Z.
Our original plan was to compress all the chapters into .exe files
I'd advice against that, since you'd have to bundle a separate copy of nwjs with every chapter, making your game (500*number of chapters)MB larger for no reason. And of course any pre-MV tutorials for doing so won't be relevant here.

I'm not entirely sure what is the best way to do it. I think you're on the right track with some HTML5 wizardry though. I'd replace index.html with your own that's just a simple website allowing you to select a chapter. When selected, run the index.html of the target game. If you're unsure how, look up html hyperlinks - the src property will be the relative path to the file to launch.
If you want to give the player the ability to go back to chapter select, you can link them back to the main file.

I don't think it'd be much of an issue if some chapters are MV and some are MZ, just make sure that they all use the same nwjs version.


With that said, while a launcher is certainly doable, maintaining separate branches for production fixes and new development is generally how software development tends to work, and is usually a fairly simple thing to setup in any version control software.
Wouldn't it be potentially easier to just write yourself a tool that reads existing save files and splices in any updated/new data as necessary? Or that looks at saves for your other chapters to import relevant data at the beginning of the new chapter?

Original thread: https://forums.rpgmakerweb.com/threads/hub-game-that-launches-games.162699/