Save-Point
Scripts-externalizer XP - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Tools (https://www.save-point.org/forum-42.html)
+--- Thread: Scripts-externalizer XP (/thread-7612.html)



Scripts-externalizer XP - Az' - 01-03-2020

Scripts-externalizer - XP

Original author
Joke (scripts-externalizer [VXAce] - Original Project GitHub Page)



Today, I tried to adapt on RMXP a script I use each time I work on RPG Maker VX Ace projects : The Scripts-Externalizer.
It is a scripter tool, allowing you to extract all the scripts from the Scripts.rvdata2 file into a given folder and its subfolders, organizing your scripts by categories. The scripts are externalized in ruby files (.rb), and then, loaded by your project.
This script allows you to use the IDE of your choice instead of the original RPG Maker script editor.

-

It's now adapted to RMXP and it works the same way : You extract from the Scripts.rxdata, you get your externalized scripts, you can code your stuff in your IDE and test, and when you want to release your game, you compile your scripts back to the Scripts.rxdata file.




Instructions are in the Readme.md on the GitHub (i modified the original one a few to match RMXP visuals & data format, I'll rework it maybe).

I tested it with HiddenChest, and as I expected, it worked fine.
I'll enjoy working that way on XP, I think. I needed to share this tool.

(As i saw on the official thread, to make Win32API work, I had to use a vanilla-RM Game executable to launch the script, before switching back to HiddenChest, it's the only [minor] "disadvantage")


RE: Scripts-externalizer XP - DerVVulfman - 01-04-2020

Definitely do not post this over at RPGMakerWeb.Com. They would see it as a breach of the license for breaking/reverse engineering their system as they have done in the past with other decrypters.


RE: Scripts-externalizer XP - kyonides - 01-04-2020

Actually, I would add the following to wulfo's recommendation: Don't post it on rpgmaker.net either. Some people from the official forum have close connections to the rmn staff so it would be a terrible idea to share it there as well... Confused


RE: Scripts-externalizer XP - Az' - 01-04-2020

I understand why you recommend this to me.
I heard about a thing like that some time ago. If my memories are good, it was about the Resolution DLL etc.?

---

The point is the original script is shared on both sites :

https://rpgmaker.net/scripts/725/

https://forums.rpgmakerweb.com/index.php?threads/scripts-externalizer-scripts-loader-scripts-compiler.91198/

I do not intend to share it elsewhere anyway, but i think it would be okay if I ever do. :)

EDIT : 

Is extracting the .rxdata files into JSON/YAML/XML files in order to use them with Git or a versionning system considered like breaking/reverse engineering as it is, as this script, for development purpose only?


RE: Scripts-externalizer XP - DerVVulfman - 01-05-2020

Reading the actual code of what this entails, I have a lot less trepidation. It was not as intrusive as I expected.

In essence, I thought this was more akin to an application that extracted content from compressed format games. It is there where an attempt to break their encryption would warrant such concerns.


RE: Scripts-externalizer XP - BilouMaster - 02-10-2020

Hi, Save-Point! :)

I'm the author of the original scripts (targetting VXAce projects) and I'm happy to see a version working with RMXP!
Thanks for the adaptation, Az'.

Having regard to your remarks, I assure you that there is no violation of the software/game project, it is a simple advanced use of the RGSS, in particular of the "load_data" and "save_data" methods documented in the helpfile of RPG Maker itself:

[Image: 1aOiRsL.png]

So you can use and share this script without problem! ^^

Since a long time I never use the scripts editor from RPG Maker, I prefer using the IDE I want, also it's nice to work on a project without the necessary to have RPG Maker installed since you can edit the rb files. :)
I recently started a RGSS app based on the RGSS Player, not for making a game but rather a tool, and I never opened RPG Maker to do that. Since I secretly do this kind of stuff ...at work... it's far more advantageous to not having to install RPG Maker... as you can imagine. ^^
Also having .rb files instead of binaries is the way to go for any project using Git.