Just recently I found a way to allow the games that I create in RMVX to be completely stand alone and not require the end user to install the VX RTP using a
PortableApps.com launcher , so I thought that I would share. Using this method only adds a little over a single megabyte to your current project, but it can grow if you want to include support for Japanese text. You can download the current version of 'PortableVX' in this thread.
PortableVX should work for Windows 2000 through Windows 7.
<
How Does it Work? >
Spoiler for :
Typically when you run Game.exe without the RTP installed, an error message will pop up and state that fact before it then terminates. Although one part of this standard check can be alleviated by copying 'RGSS202E.dll' into the base directory of the game, the error message that the VX RTP is not installed will still pop up.
It turns out that all that VX needs is the creation of a single registry key which points the game to the RTP path, although this path does not need to even be correct, just so long as the key is present at the start-up of the program and 'RGSS202E.dll' is locatable. Instead of relying on the end user to import a registry file, I have created a customized version of the
PortableApps.com launcher so that it automatically sets the necessary key on start up (and removes it after it closes). The launcher program also keeps a record of game settings changed via the [F1] configuration screen, as well as allowing the game creator to set initial settings such as full screen on start.
<
Instructions - Basic >
-
Step 1 -
Spoiler for :
Before we go any further, please make certain that if you are using any files from the RMVX RTP that you copy them to the corresponding directory within your project, otherwise your game will terminate after displaying an error of which file that it is missing. Also take into consideration that unless you have made custom changes within the script of your game, you should always have the following files within your
Graphics/System folder at the bare minimum :
GameOver.png IconSet.png MessageBack.png Shadow.png TileA1.png TileA2.png TileA3.png TileA4.png TileA5.png TileB.png TileC.png TileD.png TileE.png Title.png Window.png
If you use the default battle system or another battle system that uses the default graphics, you will also want to include these files as well :
BattleFloor.png BattleStart.png
Also, if you use the default balloon icons, you will need to include that file too :
Balloon.png
-
Step 2 -
-
Step 3 -
<
Advanced Topics >
-
Editing PortableVX Splash Screen -
-
Disabling PortableVX Splash Screen -
-
Changing Saved Registry Settings -