• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

Resource RMXP Event Exporter v1.4.1

NettoHikari

Cooltrainer
Member
Joined
Jan 4, 2019
Posts
243
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
56
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

Cooltrainer
Member
Joined
Jan 4, 2019
Posts
243
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
56
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
 

NettoHikari

Cooltrainer
Member
Joined
Jan 4, 2019
Posts
243
Incredible!!!! But I have a problem, not completly works for me:
<a href='https://www.casimages.com/i/21020511185248551.png.html' target='_blank' title='Mon image'><img src='https://nsa40.casimages.com/img/2021/02/05/21020511185248551.png' border='0' alt='Mon image' /></a>

And here, the end of the event text file that waqs generated but the event it'not particular...
This error message means that one of your event commands has bad or "invalid" data. This can happen in a number of cases - for example, if you delete a map, then any events that try to transfer the player to the deleted map will crash because the destination map no longer exists. This was just one example, and may not necessarily be your issue.

The error message is very clear: on the map called "Minean II" (map ID 50), inside event number 36 (located at coordinates (17,10) on the map), your very first event command has an issue. This means you need to go open up that event and edit the first event command, and make sure that all the parameters in that command are correctly defined. If your event has multiple pages, then do that for the first command of all pages. If you're unsure of what I mean, at least post a screenshot of event 36 on Minean II.
 
Back
Top