Resource icon

Resource RMXP Event Exporter v1.2

NettoHikari

Trainer
Member
Joined
Jan 4, 2019
Posts
71
NettoHikari submitted a new resource:

RMXP Event Exporter - Exports all events into a single text file

Ever needed to search for something in your events, but had to manually click through all of them to find what you were looking for? Now you don't have to! Here is a plug-and-play script that will take all of your events (including common and battle events, if you're using those) and dump them into a single txt file, using the same format to display event commands that the event editor in RPG Maker XP uses. This script works not only with any Essentials version, but also any game in RMXP...

Read more about this resource...
 

Ulithium_Dragon

Trainer
Member
Joined
Sep 6, 2017
Posts
52
Oh my god, this looks super useful! I was just saying the other day how much I dislike not being able to do a broad search for things inside events!

I have found one bug, though. My game is MASSIVE (600+ maps, over 100,000 lines of dialog, numerous complex events with hundreds of commands, etc.). The exporter seems to cause the game to error out with hang after after exporting around 200 maps (~425,000 lines) with the error: "Script is hanging."

I presume this error is caused by something like the response time writing to the file becomes too long for the script.

Would it be possible for you to add an option to split the dump into multiple files? Like maybe move to a new text file every 100 maps or after 100,000 lines. This would very likely solve the problem.

Again, thanks so much for making this awesome tool!

EDIT: Feel free to contact me about this on RC Discord server or in a PM if you need any further information!
 

NettoHikari

Trainer
Member
Joined
Jan 4, 2019
Posts
71
Oh my god, this looks super useful! I was just saying the other day how much I dislike not being able to do a broad search for things inside events!

I have found one bug, though. My game is MASSIVE (600+ maps, over 100,000 lines of dialog, numerous complex events with hundreds of commands, etc.). The exporter seems to cause the game to error out with hang after after exporting around 200 maps (~425,000 lines) with the error: "Script is hanging."
Thank you for pointing this issue out! I actually found out that this happens for another reason - RMXP apparently throws that error when "Graphics.update" hasn't been called in a while. So to circumvent that, I just called Graphics.update after every 500 lines written to the file (taken from what the Compiler does), and it seemed to work well. I will post the patch in a few minutes, but let me know if it still doesn't work.
 

Ulithium_Dragon

Trainer
Member
Joined
Sep 6, 2017
Posts
52
Thank you for pointing this issue out! I actually found out that this happens for another reason - RMXP apparently throws that error when "Graphics.update" hasn't been called in a while. So to circumvent that, I just called Graphics.update after every 500 lines written to the file (taken from what the Compiler does), and it seemed to work well. I will post the patch in a few minutes, but let me know if it still doesn't work.
That seems to have fixed it. Thanks!

...Seriously, you have no idea how much (and for how long) I've been wanting something like this. Thank you so much for making this! O.o
 
Top