RPG Maker MV Dump all your events messages into a txt file.

I'm looking for a long time how to dump all messages in events into a separate text file.
For voice dubing or english proofing etc, or easily visualize all texts outside the engine.

For some reason this plugin exist for ACE but not for MV
So I searched a way to do it and it was a successful attempt!

You must know that all your messages events are stored in your maps.json data but it is a mess.
First you will have to cleanup this mess with a formatter, if you do not do that, the following will not work!

I personally use this one :

But any other of your choice will work too.

So instead of having one big line for each events, everything will be clean.

First step :
Make a COPY of all your map001.json to Map999.json to an other folder. And work on the copy, not directly on the files inside your project! (I'm not responsible if you destroy anything)

Then format each one of your mapxxx.json with the website I provided earlier. (Copy paste in the window or upload file)
Then click the blue button : Format JSON in an other window

Then on the new window you have the option "save", save it, it will download the file.
After that you will be able to open the json with OpenOffice calc (or excel, it probably works with excel but didn't tried).
Without the formatting, it would open with openofficecalc or excel but put everything in the same cell (that's not what we want).

If you are using text codes for each messages like me to show the actor name with YEP core like this :
\n<\N[2]>
Then when you open with openoffice do this :
Separated by : Tick Others (specify) and the specify character should be this ]

If you are not using this kind of messages with Yep core, then specify this :

Then your file will open and for me, I will select the third(3) colum of the sheet and clic on "SORT" (from A to Z)
So all the text messages will appear (they will not appear by order but they will be alphabetically sorted).

Rate my crop please :
Txt.png


Now, you just have use the function "Find and replace" and search for the characters > and " and there you go
After that you just have to copy the result in a txt file, and you have all the dialogues of your map.

It is long to do the first time, but after it takes less than 30 seconds for each maps.

I hope it helped at least 1 person!

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-dump-all-your-events-messages-into-a-txt-file.121717/