This extension allows you to edit scripts directly in Visual Studio Code without using the script editor of RPG Maker VX Ace
or RPG Maker XP
.
-
Automatic Saving and Compilation: Pressing
CTRL + S
saves your files and compiles your code automatically, so you don't have to worry about losing your progress. -
Test Play: Pressing
F5
allows you to quickly test your code without having to run any additional commands.
- Ruby version 2.6.8 or higher must be installed on your system.
- Ruby 2.6.10 or higher must be installed on your system.
- MKXP-Z
- Ruby version 2.6.8 or higher must be installed on your system.
- Wine (preferably the latest version)
- Only one parent folder is allowed in the workspace. If there are multiple folders, only the top-level folder will be recognized.
- The workspace is not automatically set to the initial game folder. This is because the workspace and game folders may be different.
- This extension is not always active. The Game.ini file must be located in the root game folder to activate it.
- The extension will activate the remaining buttons only when a game folder is selected. However, if the rgss-compiler.json file exists, it will be automatically activated. When VS Code starts up, the Import or Compile button will be automatically activated if this file exists.
- Do not compile scripts while RPG Maker XP or RPG Maker VX Ace is running.
- RPG Maker XP
- RPG Maker VX Ace
This extension is designed for use on macOS, Windows 11 and Linux. Before using this extension, you must first install ruby 2.6.8
or higher on your local machine.
To check if Ruby is installed on your computer, run this command in your terminal or command prompt:
ruby -v
Ruby comes pre-installed on Mac, so you can ignore this step if you're on a Mac. I tried using a Node module like Marshal
or a WASM-based Ruby because I didn't want to require a Ruby installation, but they were not stable.
If Ruby is installed properly, you should see the version number displayed (e.g., ruby 3.2.1
).
If running this extension on Linux you will also need to install Wine
on your system to support testing the game.
To check if Wine is installed in your system you can run this command:
wine --version
-
Extension Maintainer
- Biud436 (https://github.com/biud436)
-
Contributors
- SnowSzn (PR #21)
-
RGSS3/plugins/rxscript.rb
- Korokke ([email protected])
-
RGSS3/modules/Table.rb
- CaptainJet (https://github.com/CaptainJet/RM-Gosu)
-
RGSS3/RPG.rb
- Yoji Ojima (Gotcha Gotcha Games, KADOKAWA)