RPG Maker VX Ace

RPG Maker VX Ace

53 ratings
Using Eclipse for RPG Maker scripting
By 5pam!
A small guide on how to use Eclipse IDE for writing RPG Maker scripts.
   
Award
Favorite
Favorited
Unfavorite
Introduction
As most of you probably found out, the RPG Maker scripting window isn't very comfortable.
You can't rescale the window, there is no autocomplete, no class overwiew or outline and so on.
This guide will show you how to setup Eclipse, so that you can use all of these great features of a modern IDE. Please note that there is (currently) now way to start your RPG Maker project directly from Eclipse, include your script and start a testrun. You still have to copy and paste your script into your scriptdatabase, which also means you can't use the Eclipse debugging tools, at least not for stuff which is RPG Maker related.
Installation
Installing Ruby
The first step should be to install Ruby. Since RPG Maker uses Ruby 1.9.2 you should use this, because newer versions might mark or disallow methods because they are deprecated, which is not the case when you script for RPG Maker. For Windows i suggest using Rubyinstaller, version "Ruby 1.9.2-p290" should be fine. You can find that version here:
http://rubyinstaller.org/downloads/archives

If you are using a different operating system, you should look on this website for your favoured installation:
https://www.ruby-lang.org/en/downloads/

During (Windows-)installation you might want to check on the „Add Ruby executables to your PATH“ option. If you are using only this Ruby version then check it on, otherwise leave it off. The other options are not important.

Installing Eclipse & Dynamic Languages Toolkit
The next step is installing Eclipse, which you can find here:
http://www.eclipse.org/downloads/

Just get the standard version for your OS, download it and unzip it where you want. Start it and select a workspace.
After that, you need a plugin for Ruby, which is called Dynamic Language Toolkit and you can get it here:
http://www.eclipse.org/dltk/

The current version (DLTK 5.0) works fine with eclipse 4.3, didn't find any bugs so far. Download the Ruby IDE SDK Version.
Back in Eclipse, select „Help“ → „Install new Software“. Choose „Add“ and „Local“. Select the DLTK folder you've downloaded and unzipped. Select both options and proceed with the installation.

Note: You can also use an onlinesource, which you can find on the DLTK Website, however this is not necessary in our case.

After the installation you should have a new layout view. You can find that, in the default layout, on the right top corner. If there is no option, select the „Open Perspective“ Button. Switch to Ruby.


Setting up the Ruby Interpreter
Now you'll have to setup the Ruby interpreter. Open up „Window“ → „Preferences“ and unfold the „Ruby“ option. Select „Interpreters“ and click on „Search...“. Normally the interpreter should be found. If not, you didn't select „Add Ruby executables to your PATH“ option and have to select the interpreter manually by clicking on „Add...“.


Now you are ready to go!

The default project
However i've prepared a standard project which you can import and which already includes all the RPG Maker classes and dokumentation for Ruby and RPG Maker RGSS3. You can find the file here:
https://www.dropbox.com/s/wwfwqvaesd8sog4/rpgvxace_scripting.zip
Import it by rightclicking in your „Script Explorer“ in Eclipse and selecting „Import“. Select „General“ → „Existing Projects into Workspace“ and choose the archive you have downloaded from dropbox.

Finish the import and you should have a project with all the RPG Maker Scripts in their correct folder. You can directly start adding new scripts to the materials package.
8 Comments
The-OG-Gushers Sep 11, 2022 @ 5:48pm 
fuck its 2022 now lol thanks for the info
GordinhoTchutchuco Jan 8, 2021 @ 9:45am 
Thanks for making this guide! :ss13ok:
Bonsai Jun 8, 2014 @ 1:16pm 
Good Job.
5pam!  [author] Jun 1, 2014 @ 1:33pm 
You could try "Ruby 1.9.3-p484" instead. Should work, especially if you stick to the 1.9.2 docs if there are any errors.
jbogrand Jun 1, 2014 @ 12:49pm 
http://rubyinstaller.org/downloads/archives is not available any more. The site is there but downloads down't work. Saw later an announcement of it. So other windows suggestions would b welcomed.
5pam!  [author] May 5, 2014 @ 12:19pm 
Reuploaded the default project.
Hopefully it works. Didnt have the clean project anymore and ive edited and added a lot of other scripts in the meantime...
AliceSteel May 5, 2014 @ 6:45am 
The blank project is gone...
DayZ n' Chill™ Nov 14, 2013 @ 8:00am 
Nice Tutorial! Thanks.