[Ruby] RGSS Database (Export & Import Tool) for RPG Maker XP, VX and VX Ace [v1.0.3]

RGSS Database
Export and import RPG Maker database files


logo.png


RGSS Database is a tool designed for developers to export and import the database files of a game created in RPG Maker.

This gem is compatible with any RPG Maker editor based on RGSS, including:

- RPG Maker XP
- RPG Maker VX
- RPG Maker VX Ace

The purpose of this tool is to provide version control features on the RPG Maker database files if you are working on your game with a team and using any version control software.

Now, with JSON/YAML files you can see what's changed between versions on the database, something that was impossible with the RPG Maker binary format.

The only tool that does this that I know of is rvpacker, but I haven't been able to get it to work and it doesn't seem to be maintained by anyone anymore, so I made my own tool for this.

Also, I have included some other cool features you may find useful!

List of all supported RPG Maker database files:

- Actors
- Animations
- Areas
- Armors
- Classes
- CommonEvents
- Enemies
- Items
- Map[001, 002, 003...]
- MapInfos
- Skills
- States
- System
- Tilesets
- Troops
- Weapons

To handle the Scripts datafile check out my VSCode extension, which handles this file much better than this application could do

You can check the README on GitHub for a more detailed description.



Features
  • Automatic detection of RPG Maker version
    • The RPG Maker version will be automatically detected when opening the data folder
    • If the version cannot be determined, the application won't allow to perform any action to protect the data from corruption
  • Export RPG Maker database files
    • You can export all your RPG Maker database files into human-readable data files
      • Supported file types:
        • JSON
        • YAML
    • Alternatively, you can export specific files and also, specific objects inside some database files
      • These files with custom objects are labeled like Actors_custom, Items_custom...
    • You can also export objects into the binary format
      • The binary file format will be determined based on the RPG Maker version
  • Import Extracted data into RPG Maker
    • You can import all your extracted data files into the RPG Maker editor
    • You can import custom data files that merge them with the current RPG Maker data
      • Any external data file created with specific objects
      • All objects will be appended at the end to avoid problems
    • You must close the RPG Maker editor before importing data!
      • RPG Maker cannot load data files again if it is already running
  • Backup Creation
    • All your database data will be backed up every time you import data into RPG Maker as a security measure
      • You can disable this behavior with a flag (see Options)


Planned
  • Code Maintenance
  • Feature Requests


Screenshots

Main Menu
img-main-menu.jpg



Settings Menu
img-show-settings.jpg



Export Menu

img-export.jpg



Import Menu
img-import.jpg
​


Requirements


Installation

You can install this gem using the following command:

Code:
$ gem install rgss_db



If you find a bug or you want to request something new feel free to open an issue on the GitHub page.

RGSS Database Links

GitHub
RubyGems

Any feedback is appreciated.​
Impressive, nice job!
Gave it a try and exported some stuff, looks good.
A new update is available:

[1.0.3] - 2024-06-08​

Fixed​

  • Fixed map data file glob pattern
    • Map files ending in 0 were not recognized by the tool

Impressive, nice job!
Gave it a try and exported some stuff, looks good.
Thanks! 🙂 🙂

Original thread: https://forums.rpgmakerweb.com/threads/ruby-rgss-database-export-import-tool-for-rpg-maker-xp-vx-and-vx-ace-v1-0-3.168984/