Author Topic: [WIP] Single Executable for RPG Maker  (Read 1347 times)

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3143
  • LV: 378
  • Gender: Male
  • Choco Octo <3
    • View Profile
[WIP] Single Executable for RPG Maker
« on: September 22, 2016, 08:02:48 AM »
I'm guessing when it comes to distributing your games, most people would like to just hand a single file to their users. It's simple, organized, and hard to access your game files (cuz we all know how to extract assets from compressed games and modify them with our own :P). Following this tutorial, you will be able to do just that! This guide uses the freeware Enigma Virtual Box to achieve this effect. I'm also using RPG Maker XP as the example because, let's face it, it is the superior RM around /bias. The tutorial should work for any version though.

Step 1: Download Enigma Virtual Box
Go to the website and download said program. Run the installer, choose a place to install it to, couple more clicks, and done. Really easy.
(click to show/hide)

Step 2: Load Your Project
Upon running the software, you should see something similar to this:
(click to show/hide)

At the top, hit the Browse button next to the "Enter Input File Name" textbox. Select your project's Game.exe file and OK. It will auto-generate an Output File Name in the same project directory. Go ahead and change it so that it outputs elsewhere (like to your Desktop) and rename it to "Game.exe".

Now click the Add button below and choose to Add Folder Recursive.
(click to show/hide)

Locate and select your project folder.
(click to show/hide)
You will get a pop-up that looks like this:
(click to show/hide)

It is okay to leave it as is, so go ahead and OK it. %DEFAULT FOLDER% will ensure that your game's files will be "extracted" in the same location as your single executable (this is what we want).

Step 3: Finalize
Go ahead and remove the Game.rxproj as this is not needed. Mess with the other options if you know what you're doing, but you're pretty much done here. Click on Process to compile everything together and generate your stand-alone EXE.
(click to show/hide)

A new Game.exe file should have appeared on your desktop. Try running it and see if your game works. Now give that to a friend!

Step 3a: RPG Maker ACE and Gothic Font
If working with RPG Maker VXA or XPA, you'll probably see a "Unable to find VL Gothic font". Right click the two VL Gothic font files, select Properties, and change their Virtualization Method to Write to Disk if not Exists.
(click to show/hide)
This will create a Fonts folder containing these two files when you run the Game.exe. Not exactly a single file anymore but...I don't know any other way to resolve that error message. Of course, you could just tell your players to install the font instead of having to do this.

Just a reminder: Your stand-alone EXE has to have the SAME FILENAME as your INI file. If it's ChaosProject.ini, it will have to be ChaosProject.exe. Otherwise, the game will not work.

Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Offline Nath

  • Trained Member
  • *
  • Posts: 20
  • LV: 1
  • Gender: Male
    • View Profile
Re: [WIP] Single Executable for RPG Maker
« Reply #1 on: September 22, 2016, 09:06:54 AM »
This is pretty neato. I'll try it out if I actually make it through to completing something!