Tool RPGM SLR Translator - Offline JP to EN Translation for RPG Maker VX, VX Ace, MV, and MZ

Games & Games

Active Member
May 7, 2023
609
376
If something has a colored tag it generally means that it is not normal dialogue, but special text placed by some kind of plugin or script.
Those can be very different from one another.

Usually there is a value somewhere that determines the font size for everything, for example at the start of the System.json in MZ.
View attachment 3880306
In the plugins.js for MV (if they use the standard plugin.)
View attachment 3880303
or using a Font.default_size N line in the Main section of the Scripts.rvdata(2) for VX and VX Ace.

But there should also be individual values for the different parts of the game inside the files.

For example let's say we have an MV game using a small window to log on screen what is currently happening and we want to change the font size of that log.
Then you open the plugins.js in www>js and you search for a plugin that sounds like something that handles logs, and "usually" you will find a font size option there.
For example in this specific case it was the "TMLogWindow" plugin handling "addlog" entries.
View attachment 3880301
If you can't find it there it might also have a static font size value in it's plugin file inside the plugins folder.

For VX Ace those values will most likely be in the specific Scripts section of the element you are trying to edit, which means you have to open the game in the official editor and look for the needle in haystack there. It's really tedious which is why I generally just use the Main catchall and make font for ants.
This game is an RPGM VX Ace, but it looks like a VX because I had to use RPG Maker All Decrypter, as it came without the data folder and the graphics folder, and it is all concentrated in the System folder, hence the question, as I was a little unsure about where to look for these fonts and how to reduce these tags.
Sem título.png
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
This game is an RPGM VX Ace, but it looks like a VX because I had to use RPG Maker All Decrypter, as it came without the data folder and the graphics folder, and it is all concentrated in the System folder, hence the question, as I was a little unsure about where to look for these fonts and how to reduce these tags.
View attachment 3880367
Developers can handle scripts however they like, there's no clear tutorial I could give you. You just have to try stuff and see what happens.

Open the game in the Ace editor, go to scripts, and either try putting the global font option in Main (If you want to keep the standard font 12-16 are usually the way to go here.)
global.png
or try to find and change the individual settings of the different scripts used by the game.

Entries like these can be changed if you do not want them to just use the global option:
script uses default.png
script uses default2.png
Others have set font sizes not necessarily affected you would need to change:
example1.png
example2.png
example3.png

Again these are just random examples from a random game, this will look different in your project, and these ones most likely are not what you are actually looking for right now.
 

iYuma

Member
Nov 17, 2017
349
821
Holy shit.. thanks for the tool man.. was having a headache in translator++ and this saved me alot of time.
 

Games & Games

Active Member
May 7, 2023
609
376
Developers can handle scripts however they like, there's no clear tutorial I could give you. You just have to try stuff and see what happens.



Open the game in the Ace editor, go to scripts, and either try putting the global font option in Main (If you want to keep the standard font 12-16 are usually the way to go here.)

View attachment 3880930

or try to find and change the individual settings of the different scripts used by the game.



Entries like these can be changed if you do not want them to just use the global option:

View attachment 3880924

View attachment 3880929

Others have set font sizes not necessarily affected you would need to change:

View attachment 3880926

View attachment 3880928

View attachment 3880927



Again these are just random examples from a random game, this will look different in your project, and these ones most likely are not what you are actually looking for right now.


Yes, more or less I went that way, I put the global as it says in the SLR manual and then I searched in each file of the script through the Ace editor for the word "font" and there I found the ones that had size or something like that and I moved everything to 16 and so I managed to gradually get where I wanted which was in a font that was good to read and at the same time that didn't overwrite the other word.

Thanks for the help and the tips, besides the program that finds me things that T++ would never find, even though I can't use sogoi because of my 2008 CPU, the program is still lighter and better to translate, even with just google and its crazy translations.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
I've released v1.081.
The regex checkbox wasn't correctly displaying in the replace section of the find menu.
I've also added a "?" symbol to them that links to .
That's not only pretty much the best website to learn and test regex, but if you don't delete your browser data it actually works offline after visiting it once.
 

Games & Games

Active Member
May 7, 2023
609
376
I've released v1.081.

The regex checkbox wasn't correctly displaying in the replace section of the find menu.

I've also added a "?" symbol to them that links to

That's not only pretty much the best website to learn and test regex, but if you don't delete your browser data it actually works offline after visiting it once.
Why is this happening to me when I export after finishing the translation, I'll try to explain to be clear

I translated a text in Japanese and it had to look like in picture B, but every time I export it looks like in picture A either it looks like letters or it creates an extra line and separates the command from the red tag. This happens a lot, it used to happen with T++ and now it's starting to happen with SLR.

Sem título.png
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
Why is this happening to me when I export after finishing the translation, I'll try to explain to be clear

I translated a text in Japanese and it had to look like in picture B, but every time I export it looks like in picture A either it looks like letters or it creates an extra line and separates the command from the red tag. This happens a lot, it used to happen with T++ and now it's starting to happen with SLR.

View attachment 3884548
I'm not entirely sure what you mean.
Please post me the original Japanese Map file, the number of a cell in which that is happening, and what exactly you are putting in it.
I need to reproduce the problem on my end.
 

Games & Games

Active Member
May 7, 2023
609
376
I'm not entirely sure what you mean.
Please post me the original Japanese Map file, the number of a cell in which that is happening, and what exactly you are putting in it.
I need to reproduce the problem on my end.
I don't know what happened, but after you released the new version and I removed everything I had from the old one from my pc, both the temp folder and the user's local folder and then installed the new version, it just disappeared, it started not eating words anymore and not separating the tags into two lines anymore.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
I don't know what happened, but after you released the new version and I removed everything I had from the old one from my pc, both the temp folder and the user's local folder and then installed the new version, it just disappeared, it started not eating words anymore and not separating the tags into two lines anymore.
So I fixed it by accident? Okay then... :KEK:
 

Games & Games

Active Member
May 7, 2023
609
376
So I fixed it by accident? Okay then... :KEK:
I honestly don't know, but I was just exporting either in T++ or SLR and the program always ended up eating important sentences or creating a new line and separating the red tags into two, so the only thing I did was delete the program and inside the user delete the Temp folder and the SLR file that was there and then start a new translation of these two dates, 1 and 6, which were the ones that always gave errors. And in the end it worked.

Of course, there's still Google translator to get in the way and eat character names or their lines, but for the rest it finally worked, now we just have to play and see if there's anything else wrong along the way. :cry: :D
 

mrericsan

Member
Sep 21, 2021
128
242
1st i like to say this program is amazing though some of the games i translated broke, but there are many that are completely fine.
I do have a problem ... i can never get the Vx, and Vx Ace translation working. its always give me the same error. Does anyone knows why?

Screenshot 2024-07-31 152832.png
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
1st i like to say this program is amazing though some of the games i translated broke, but there are many that are completely fine.
I do have a problem ... i can never get the Vx, and Vx Ace translation working. its always give me the same error. Does anyone knows why?

View attachment 3886848
Can you give some specific examples of games that "broke", or games that throw that error during parsing?
I need to actually reproduce that stuff on my end or I'm working blind.
Because how would I check whether or not I actually fixed it?
 

mrericsan

Member
Sep 21, 2021
128
242
Can you give some specific examples of games that "broke", or games that throw that error during parsing?
I need to actually reproduce that stuff on my end or I'm working blind.
Because how would I check whether or not I actually fixed it?
I will do a save next time i encounter a problem ... i kinda deleted those games already. But i believe in 2 cases in the middle of game play suddenly the game froze because they cannot find certain file with a japanese name. In one case during battle the opponent battle gauge never rises (which mean 100% win).
In any case would you know about the error i encounter for translating Vx and Vx ace game (above picture) saying i have the directory issue.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
In any case would you know about the error i encounter for translating Vx and Vx ace game (above picture) saying i have the directory issue.
I have never seen something actually trigger that error.
Is that all VX/VX Ace games for you?
That would be super weird, because if it's a permission issue then why would it fail to write staging data just for VX/VX Ace, but successfully do it for MV/MZ? That doesn't make a lot of sense...
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
In any case would you know about the error i encounter for translating Vx and Vx ace game (above picture) saying i have the directory issue.
To make sure I didn't introduce some weird bug when SLR Translator is on the desktop and the game on a different drive without admin rights or something like that I've ran some tests.
(Since your screenshot suggests that your SLR Translator is on your desktop, while the game is on D:.)
But I cannot reproduce any issues...
I tested using the VX Ace game Devil Seed v1.02, with the game being on G (because my rig doesn't have a usable D right now), and the SLR Translator being directly on the desktop. I also did not run SLR Translator with admin rights.
It creates the staging data without any issues :confused: :
1.png
 

mrericsan

Member
Sep 21, 2021
128
242
To make sure I didn't introduce some weird bug when SLR Translator is on the desktop and the game on a different drive without admin rights or something like that I've ran some tests.
(Since your screenshot suggests that your SLR Translator is on your desktop, while the game is on D:.)
But I cannot reproduce any issues...
I tested using the VX Ace game Devil Seed v1.02, with the game being on G (because my rig doesn't have a usable D right now), and the SLR Translator being directly on the desktop. I also did not run SLR Translator with admin rights.
It creates the staging data without any issues :confused: :
View attachment 3887128
Yup its weird as hell. i wonder if its some kind of win 11 curses .... and yes i have use the program and successfully translated like 10 MV/MZ games. But any time i touch VX and VX ace this error occur. Only different is the cache directory is different. I even checked that directory is actually created (so itsn't some kind of write error). all error mention that 'YAML' mumbo jumbo.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
Yup its weird as hell. i wonder if its some kind of win 11 curses .... and yes i have use the program and successfully translated like 10 MV/MZ games. But any time i touch VX and VX ace this error occur. Only different is the cache directory is different. I even checked that directory is actually created (so itsn't some kind of write error). all error mention that 'YAML' mumbo jumbo.
I'm honestly worried about that.
Because I pretty much cannot provide any support for Windows 11.
Even if I would have a license for it, I do not have a TPM chip, so my PC couldn't run it.
(And the moment I would use some kind of modified version to get around it, I can't be sure if my tests are actually comparable to a "normal" version)
 

iYuma

Member
Nov 17, 2017
349
821
I'm gonna need some help. So I'm translating this game:

Problem is I get this error whenever I launch the game: 1722583906047.png

Now if I translate enc_lv2d.js. It launches but when I press start I would be stuck in the "Now Loading" screen. Would really like some tips regarding this.
1722583987506.png

I'll be providing the RAW and translation files.
 
Last edited:

iYuma

Member
Nov 17, 2017
349
821
Quick Update. Managed to make it work by putting the translated files one by one and pinpointing the file that has an issue. Which is Weapons.json. Problem is when I don't put it in and put the translated js folder an error occurs similar to the picture I sent.
 

fantasmic

Member
Modder
Nov 3, 2021
391
934
iYuma Did you still include the translated enc_lv2d.js after excluding the translated Weapons.js? A SLR export excluding Weapons.js and without a translated enc_lv2d.js booted fine for me. I clicked my way through the prologue and didn't see any immediate issues.