README Tool RPGM A better RPGM MTL: A comprehensive guide to translating with the Machine.

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
26,015
Silentce's Beginners Guide to Translating RPGM

Preface:
Hello everyone, For those of you who don't know I am Silentce, For the past year+ I have been active on the forum producing translations for a few RPGMaker games, as well as bug fixes for many MTLs and some commercial releases for RPGM. If you play many RPG Maker games you have probably seen post in the thread at least once or twice. I often receive messages from would be translators asking for advice on creating their first translation as well as users who have never translated a game before and wish to learn how to start. My hopes is with this guide I can help would be translators and users who only know how to run a game script through Translator++ to understand my process when translating / bug fixing and apply that to create a better translation, or at the very least a better MTL translation with less errors. I am not a master at doing this so my process might seem tedious, or even weird to some, and hey their might be better ways and if there are feel free to share them! My hopes in creating this are to help other understand how I do things and maybe give them an idea of what they can do to make your translations better. So without further ado, let's get into the guide.

1: Getting Started:

So lets start by assuming you have a game in mind that you really want to create a translation for, but you don't even know what you need to start going through and translating the game. Well this section will go over the tools you will need to translate your first game. Please note although not all tools I will list are mandatory, I recommend having them installed and being comfortable with using them as you never know when you may find yourself in a situation where one tool will not work for you or the tool you are using does not have the means to translate everything (For example many of you I am sure have heard of translator++ and may have used it. There are many things translator++ cannot do leaving your translation incomplete if you use it exclusively). Here is what you should download in my opinion to be prepared for any situation when translating:

You don't have permission to view the spoiler content. Log in or register now.


2: Extracting Game Files:
Now that you have the tools you are going to need, let's start going through how to use them from the beginning. Assuming the game files have not yet been extracted, the first step you are going to need to take is unpacking the game files so you can work with them. I will break this section into the 2 most common engines used by RPGM in recent years: RPGM VX ACE and RPGM MV.

2A: How to tell which engine the game is using.

Before you start doing anything you need to know what engine the game is using, as each engine operates a bit differently and can tell you a bit of information about what to expect. For instance RPGM MV and later use plugins to streamline many tasks in the game (like word wrapping and custom menus) while VX ACE and older engines do not (word wrap an custom UI may be handled by scripts instead). Also if you plan on using the actual RPG Maker software you definitely want to know what engine the game is using. Below are some examples of how the average game directory may look with the engines:

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

Now that you can identify the differences between the game directory for various engines. Let's talk about how to decrypt and extract the game files for translation.

How to decrypt: RPG Maker VX ACE / VX / XP
You don't have permission to view the spoiler content. Log in or register now.


How to decrypt: RPG Maker MV
You don't have permission to view the spoiler content. Log in or register now.


Once you have decrypted the game files and the game is playable in it's encrypted form, you are finally ready to get to the real work: translating the game

3: Translating the game

So now let's talk about the biggest part of the process. Actually translating the game. There are two primary ways to do the bulk of the work for a translation and they are mostly similar barring a few differences. The first way would be using the RPG maker engine itself to edit the game files. The second way is using Translator ++ to edit game files. We will take some time to cover both methods. keep in mind there are more ways then this to translate. Some users do all of their work through notepad++ as an example. The important thing here is to cover what I consider the easiest methods to get started. As you get more experienced you may find new ways to get the job done. The steps I provide are also not absolute, in your efforts to translate you may come across text that is more difficult to translate then others, your game may have more scripts then others as well. This guide will be a general overview to the process as I cannot possible go through every possible scenario. I will highlight the how and the most common points where an issue can occur. The golden rule is "translate only what hte player sees and touch nothing else." If you miss something on your initial pass you can always go back and translate it later. So without further ado let's get started.

3a: Translating using RPG Maker MV / VXAce engine

So this section will over a step by step guide on the basics of starting and completing the bulk of a translation exclusively using RPG Maker VX Ace / MV. in a step by step guide.​
  1. The first thing you are going to need to do trick RPGM into letting you edit the game files. Generally when you create a game in the engine you have a project file. Now, we didn't create the game we are translating so we do not have our own project file for the game. However, we can trick RPGM into thinking we do. The ways to do this are exactly the same minus one step between MV and VXAce. We will take a brief moment to discuss how to accomplish this with both engines.​
    1. Creating a project file to utilize for VXAce:
      1. First, we need to open a brand new project file in RPGM VXAce, you can do this by starting the program and then going to File > New Project. On the New project screen, You can leave everything as is but I would recommend moving the project file to your desktop so you can find it easily. After this select okay.
      2. Once the program has created a default project you can close the program. Once you've done that, find your new project you created and look for this files 1600375095503.png . Locate this file and place it directly into the game directory( if you didn't place it on the desktop, it will be found here: Documents > RPGM VXAce) for the game you want to translate and double click it. This will open the games files and allow you to edit it in engine.​
    2. Creating a project file to utilize for MV:
      1. The steps to create a project file are going to be identical to the steps above to for RPGM VXAce (File > New project > select location to create file.)
      2. Once you have created the project file you will need to find the location of the project file. This is why I recommend placing it on the desktop. ( The file can be found in documents > Games by default). once you find the project file that looks like this: 1600375582821.png . however, instead of placing the file in the game directory, you are must move the file into the"www" folder. If you do not when you launch the project file it will tell you it cannot find actors.json.
  2. Now that we have created a project file created and placed in the correct location, we can start translating. First open the project file for the game you want to translate and you should be brought to a screen like this: 1600375877137.png . You should be able to see the games resources now. Including the mapfile. **NOTE** when opening RPGM MV projects there is a very high possibility you will see a screen like this when you open the project: 1600376027624.png . This happens because the image files are still encrypted and cannot be viewed. In order to fix this you will need to manually decrypt the ALL image files. This is not necessary to translate the game as you can still see and access the map events, however you might prefer to see everything the map files as you work. In this case we will be going over how to turn off the encryption for images / audio in MV a bit later.
  3. From here I usually start with translating the database entries for a game. To access the database select the following: Tools > Database. Once you have access the database you will see a screen like this: 1600376345727.png ( the screenshot is for MV, the data will basically be the same but look different in VXAce).
  4. Now that you've accessed the database you can start translating. The easiest way for a newbie with no knowledge of Japanese to do when translating, is to copy the entry and translating with the assistance of the translator of your choice. After you have received a result, just replace the entry on RPGM with your results. it is that easy.
  5. Now sometimes you may see entries that look like this: 1600376553412.png these are commonly scripts and SHOULD NOT be translated. If you see something that looks like this or computer code, you should refrain from translating it. In most cases this will break features of your game.
  6. You may have also noticed on this screen there are other entries untranslated under Class, initial equipment, etc. Most of these will be translated on other tabs so if you see something in a drop down box, like what is shown here: 1600376733859.png odds are you will be getting to it eventually. Take your time going through Each tab translating things as you go. Pay special attention to information in notes ensuring you are only translating information that will be displayed and NOT scripts. If you are unsure if something needs to be translated or not, it is better to leave it untranslated until near the end of your project.
  7. The last thing I want to cover in Databases is the commonevents tab. This is where THE BULK of all translation takes place. Most event dialog can be found here however, not all common events need to be translated. You are going to want to go through each event and look for text dialog calls such as these: 1600377163243.png and 1600377252530.png .
  8. once you have found text that needs to be translated you are going to need to edit the file. This can be done by right clicking on the line labeled "text" and select edit. When you have you'll be taken to a screen that looks like this: 1600377393745.png . From here you can edit the text manually, or with the translation software of your choice. Pay special attention to scripting tags like \n[1] and ensure you leave these as they are. The goal is to only edit the text that is displayed leaving the games code untouched.
  9. Once you've finished your editing the text box you want to select the preview button to see your results as the game will display it. This is one of the best parts of translating using RPGM. while editing you may have noticed the dotted line on the text box. This denotes how far before you risk the text going off the screen. You can sometimes go past the line and not risk the text overflowing but It is a good practice to check your text before you confirm the change. when you select preview you should see something like this: 1600377724596.png . I'm sure if you've played an MTL you've seen games like this before huh. If the MTL creator had only used the engine they could of seen this problem before releasing their translation. it is simple to avoid this, if you are getting towards the end of the line, just hit enter and do a line break. If you're box is getting full, you might want to look into editing your translation a bit to make it fit (such as using smaller words or less wordy sentences when you can.) For the example I have edited my initial text so it fits on the screen. 1600377932694.png
  10. Once you have finished translating all the lines of dialog in the database, the last part of the translation is going to be the map events. to do this, you simply need to go to the map of your choice. I usually start from top to bottom and double click on each event and translate all relevant lines. This honestly can get quite tedious so alternative if you like you could always instead translate the text using a word processor such as Notepad++ to go through the code and translate and edit the file directly. this is a bit less tedious in my opinion.
3b: Translating using Translator ++

This section will cover translation using T++. Although I strongly recommend against using this program, I understand most users will more prefer this method.​
  1. The first thing we need to do when using T++ is import the games resources into the program. to do this first you must open Translator++ then go to "start new project"​
  2. After selecting start new project, depending on what version of t++ you use, you may be asked to select the game engine you are using. Select the first choice "RPG Maker, and Wolf RPG Editor Games.​
  3. Next select "select executable from the file of your game" this will open a browser window and you will be required to select the game.exe for the game you wish to work on.​
  4. Once you have selected the game you wish to work on, the game will be imported into T++. once you have completed this you will see a screen like this denoting the import was complete: 1600379311369.png If you do not see this but rather an error or the program hangs while importing I would recommend using a different version of the program or seeking assistance by asking about the error on the appropriate forum thread for T++. Select close at the bottom of the screen to continue.​
  5. From here, you will see all the files for the game on the left hand side of the screen. Start with actors and begin to translate each entry or copy and paste the text into the online translator of your choice. You should ignore translating files such as Scripts and Animations as doing so either serves no purpose, or will more then likely break your game. You can paste your results into any column to the right of the original text. Just be aware the results that will be exported will always be those the furthest right.​
  6. During your translating you may come across scripts that will look much like this: 1600379533897.png . You should be very careful when working with these scripts as anything as simple as space, or a incorrect character can cause issues with your game. Translate only the text while keeping the scripting in tact. Like so: 1600380694639.png . There are many different examples of scripts utilized by RPGM. It is important to take great care in ensuring you are keeping them intact as stated earlier any space or typo will break the game.​
  7. After completing translation for your game you will need to export your changes back into the game. this can be done by going to "export project" the button for this looks like so 1600380866222.png . You will be given a choice on how to export. I recommend exporting as game patch to a predetermined folder, or exporting as zip. sometimes zip does not work so in those cases just default to exporting as game patch.​
  8. Once you have finished exporting, go into the destination folder for your patch and overwrite the files for the translation with the files to your game.​

4: The finishing Touches

So you finished the bulk of your translation or at least you know how to. So what's next? Well there are a few things you can do to improve upon what you already have. Maybe you exported your translation and notice you have text rolling off the textbox, or there are parts of the game that aren't translated because they are images. You could leave it as is yes, but if you've actually forsaken Batch translation and tried to do things the way I've detailed why not go the extra mile I say.

How to Apply word wrap scripts:
This is my bread and butter, the totally simple things that most people forget and that makes all the difference. There is little more detracting from a game then watching half the text run off the screen. Even if you made the best translation, what is the point if half of it isn't able to be read? With the following simple steps you can easily implement word wrap for most games. ** NOTE ** Although adding wordwrap to your game can be done without The game engine it is much more tedious and unless you are comfortable with editing files in notepad I suggest you use the engine!**​

  1. Apply wordwrap to VX ACE:
    1. Open your games project file and go to Tools > script editor. (If you do NOT have a project file nor know how to make one. Please review Step3a "translating using RPGM VXAce / MV)​
    2. Inside script editor you want to scroll down until you find a script named "Window_selectable" and right click on it and select Insert This will create a blank entry.​
    3. Next you want to go to the following page: . here you will find the word wrap script I use regularly. Copy it to notepad and save it so you have it whenever you need it.​
    4. Now go back to RPGM VXAce and name your blank entry "Word_Wrap" without the quotes. Inside the blank box to your right past the entire word wrap script into the box and Apply then Okay, then save the project.​
    5. Test your games. If you know areas where Textoverflow occurs test them. If the game refuses to launch you probably did something wrong so repaste in the script or if it refuses to work remove it entirely.​
  2. Applying Wordwrap to RPGM MV:
    1. Applying wordwrap in MV is a bit more difficult but fairly simple. MV uses plugins to accomplish word wrap as well as many other cool things. So in order to setup wordwrap, you need a plugin to do it. Luckily for you I have one that does the job pretty well that I've included in the thread. View attachment YEP_MessageCore.rar Download YEPMessagecore.rar included in this thread and unpack it
    2. Once you have this plugin you are going to need to put it in the right place. Navigate to the directory for your game labeled *Game folder*/www/js/plugins and place the file (mot the rar but the js file) in this folder.
    3. Now once we have it in the right place we need to turn it on. To do this we need to go into your RPGM MV project file (Again if you don't know how to make one check Step3a "translating using RPGM VXAce / MV).
    4. inside your MV project go to "Tools > Plugin Manager..."
    5. Inside the plugin manager, you'll need to go to the bottom of the list to the first line of white space and double-click. (sometimes you will need to scroll down more once you hit the bottom to get the line to show up.)
    6. one you have double-clicked a window should appear that looks like this: 1600383842328.png . under name there is a long dropdown box with many choices. You want to look for "YEP Message core" on the list. select it.
    7. Once you select it the above screen should change and look like this: 1600384077698.png . From here you should see many options on the right. The ones we care about are "word wrapping, description wrapping, Word wrap space, and tight wrapping." I usually turn them all on (which you can do by double clicking on the entry on the right and changing the value) or if I get bad results in testing turn on a combination of them ; It varies game to game. Clicking on the value will also give you a description of what it does if you are curious. Some games none of them will work and in those cases you can still utilize the plugin by changing the font size to fit the box better. This is done by changing the value under "font size"
    8. Once you have made the changes you desire. Click okay, then apply and save the changes.
    9. After saving test the game to see if it is the way you want it and make adjustments as needed. ** NOTE ** there is a playtest option in RPGM you can use but be aware the word wrap plugin fucks with that very often. So you don't want to test that way.
Translating UI values using Plugins ( RPGM MV ONLY)

You may notice that some games after translating some games that certain values are not translated no matter what you do. Usually values for H status screens. In these cases you will need to find the value in the plugin this can be done in a few ways. I am going to cover 2 of them here:
  1. Translating UI values using RPGM MV:
    1. First you're going to want to open your project file and go to Tools > Plugin manager.​
    2. From the plugin manager you are going to search for the plugin you want to edit. This can be difficult if you don't know which one the value is in. In this case you can look for common plugins such as CBR_Erostatus_main and CBR_Erostatus_1 as examples. You may need to look through many or all of the plugins with this method to locate all the values.​
    3. Once you have found the values you wish to edit, you can edit them by double clicking on the value and changing it.​
    4. If you don't know which values to change. there is no shame in looking through all the plugin values manually until you find the one you want to translate.​
    5. After making changes click okay, then apply and save your changes.​
  2. Translating Values through Notepad++
    1. This is the easier of the two in my opinion. First locate plugins.js in the game directory. This can be found usually under www/js
    2. once you have found the plugins.js file open it with notepad++
    3. once inside use a CTRL + F to find the text you are looking to translate and change the value.

5. CONCLUSION:
So that's it, With this you should have an idea of some of the basics that go into translating and going beyond MTL. Is there more I haven't covered? Yeah, quite a bit and a lot of these are one offs you learn alone the way. Did I miss something? Probably, but my hopes is to update this based on suggestions and feedback. Thank you for taking the time to read this monster of a post and I hope the stuff I've learned serves you well.

~ or join us in ~​
 
Last edited by a moderator:

K3NJ1

I'm so smart it hurts
Modder
Donor
Jul 26, 2018
5,358
51,908
Damn...Well detailed. Appreciate your work and effort, Thanks!
 
  • Like
Reactions: Silentce

Igneel1

The Slayer's Time Is Now
Moderator
Compressor
Jul 1, 2017
476
10,743
Excellent guide....covered all points perfectly just u might wanna add in the Translator++ section,
Like for wolf Rpg u need to use inject translations instead of the usual exporting of files.
 

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
26,015
Excellent guide....covered all points perfectly just u might wanna add in the Translator++ section,
Like for wolf Rpg u need to use inject translations instead of the usual exporting of files.
I don't really use wolf RPG so I didn't cover it. I only made a guide for stuff I myself can attest to. however, if you would like to write up a small addendum I don't mind adding it in :)
 

Igneel1

The Slayer's Time Is Now
Moderator
Compressor
Jul 1, 2017
476
10,743
Instead of export you have to use this Screenshot 2020-09-18 193819.png after that the following pop up window shows up Screenshot 2020-09-18 195144.png the first blank field is location of your game.exe and second is location where you want the patched games files to be saved
 
Last edited:

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
26,015
That is for the newer versions of t++ though. Might be worth mentioning that that option does not exist prior to like 2.7 I think.
 

Igneel1

The Slayer's Time Is Now
Moderator
Compressor
Jul 1, 2017
476
10,743
Now that i am not sure besides it shouldn't be an issue the new versions keep getting leaked here Translator++ you can add it to the thread
 

medassin

Active Member
Apr 5, 2018
887
319
Have you seen any Japanese games in this forum!? That isn't translated at all.
i mean, on ulmf there a lot people play japan games with translated tool. i ask them how do that but they never told properly for me to know.
 

gabz787878

Member
Aug 31, 2020
107
56
Hi, so i managed to get a game translated BUT i dont know where i messed up, basicly the enemies WONT attack me and I cant attack them.
 

gabz787878

Member
Aug 31, 2020
107
56
I guess you touched some script at Scripts and no error shows up?
Nothing, i guess i need to do it 1 by 1. It was my first try so i made the mistake of translating also the animation (Which i learnd i should not) On my second try it was the same so i guess i got 1 choice and it is to do it 1 by 1 until i find the problem. Ty
 

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
26,015
Nothing, i guess i need to do it 1 by 1. It was my first try so i made the mistake of translating also the animation (Which i learnd i should not) On my second try it was the same so i guess i got 1 choice and it is to do it 1 by 1 until i find the problem. Ty
Don't translate images calls, animations, anything behind the scenes. Doing that is a surefire way to break everything. A rule of thumb I go by. Translate only what the player will see. The rest can stay the way it is.
 

gabz787878

Member
Aug 31, 2020
107
56
Don't translate images calls, animations, anything behind the scenes. Doing that is a surefire way to break everything. A rule of thumb I go by. Translate only what the player will see. The rest can stay the way it is.
So i tried translating the MAP > basicly the dialogs that happen during the story BUT it bugs out the enemies