Astrabit-ST / Luminol

An RPG Maker XP-VX Ace rewrite, written in Rust with love 💕
https://luminol.dev/
GNU General Public License v3.0
101 stars 12 forks source link

Script manager #129

Closed white-axe closed 3 months ago

white-axe commented 3 months ago

Connections

Description Adds a "Script Manager" under the Tools menu in the top bar that can be used to extract the scripts from Scripts.rxdata, create Scripts.rxdata from scripts or convert Scripts.rxdata to another format (JSON/YAML/RON).

Testing I tested that it's capable of extracting the scripts from the following example games from https://www.rpgmakerweb.com/additional-downloads:

Checklist

Speak2Erase commented 3 months ago

This is awesome! It'd be really nice to be able to extract scripts from an rgssad, or the currently loaded project though.

The order of scripts is pretty important as well- Main (or an equivalent) has to be the last loaded script, so it'd be really nice if the tool could order scripts too!

white-axe commented 3 months ago

The extract mode already does try loading the scripts file from the currently loaded project by default. I'll add the ability to select a .rgssad archive and have it look for the scripts file inside the archive automatically, though. As for the ordering of the scripts, I'll make it write the order of the scripts to _scripts.txt in the output folder when extracting and then read _scripts.txt from the input folder when creating.

Speak2Erase commented 3 months ago

@zimberzimber since you requested this feature, I figured you might want to review it?

luminol.zip