Text dump?

IanI

Villager
Member
Joined
Dec 19, 2013
Messages
29
Reaction score
3
Primarily Uses
I have a number of people who want to translate my game. They would like a script of all NPCs/menus/signs, and the normal way to do that would be to dump all text from the program. After looking for a while, I don't see any method of dumping text.

Am I missing something, or is there a hack to accomplish this? Are there alternative ways to get at the game's text? I've been assuming I'll have to tediously enter the new translation box by box, but they don't want to translate it that way too.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
That script DOES have an option to JUST extract dialogue.


What it doesn't do is give you a list of all the names, terms and descriptions in your database (on my list-of-things-to-do but haven't had the time or the need), or give you a way to put the translated text back in.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
All the help so far was about getting the text out of the project, but the more difficult task is getting it back in, especially because by default the RM engine only works with a single language, and the translated version would be a different project. That would require you to make updates for two projects whenever you add something to the game.


If your game progress is not too far, it might be easier for you to switch to a completely different system:


http://forums.rpgmakerweb.com/index.php?/topic/6608-external-text-now-v21-unicode-fix/


With that script, you would only place a code inside the game's text commands, and it would load the text for that code from an external text file.


On top of that, it already has a multilanguage add-on, so you can simply send the external text file to be translated, and then set the translated text file as a new language file in your project itself - you can have as many languages as you want in a single project to update this way.
 

IanI

Villager
Member
Joined
Dec 19, 2013
Messages
29
Reaction score
3
Primarily Uses
Thanks for the suggestions. Sorry it took a while to get back to you, but I wanted to try all the scripts out.

I tried Shaz's script and got an error:

line 235: ArgumentError occurred
too few arguments

At first I thought this might be because I was using an older version of VX Ace (Steam is blocked on most of my networks), but I loaded my game from within Steam and got the same error.

Hmm, I like how this one divides the files, but it also gets an error half-way through. Since it's supported off this forum, I'll look around elsewhere.

All the help so far was about getting the text out of the project, but the more difficult task is getting it back in, especially because by default the RM engine only works with a single language, and the translated version would be a different project. That would require you to make updates for two projects whenever you add something to the game.

If your game progress is not too far, it might be easier for you to switch to a completely different system:
http://forums.rpgmakerweb.com/index.php?/topic/6608-external-text-now-v21-unicode-fix/

With that script, you would only place a code inside the game's text commands, and it would load the text for that code from an external text file.
On top of that, it already has a multilanguage add-on, so you can simply send the external text file to be translated, and then set the translated text file as a new language file in your project itself - you can have as many languages as you want in a single project to update this way.
The game is done, unfortunately, so it would be a lot of work to transition it over. Perhaps less work than doing multiple different translations, though. Thanks for the recommendation, as it looks like an incredibly useful script.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Sounds like you've modified the script in some way. Line 235 isn't even a command.
 

IanI

Villager
Member
Joined
Dec 19, 2013
Messages
29
Reaction score
3
Primarily Uses
Ah, I accidentally added a line at the beginning (instead of deleting, I turned the whole script into a comment at one point). To make sure I didn't change anything else, I deleted it and copied in a fresh copy. Same error but on line 234.

I created a new project, threw in some text, and your script worked fine. Because of that I assumed it must be a script conflict, but when I copied my project and deleted every custom script except yours, I got the same error. Not sure what else to test.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I had a couple of errors in the script. They've been fixed now, so you can grab the fixed version and put it into your project.


If you have any other crashes with the script, just post in the script thread with the exact error message and line number and I'll take a look :)
 

IanI

Villager
Member
Joined
Dec 19, 2013
Messages
29
Reaction score
3
Primarily Uses
Worked perfectly, thanks.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top