CREATE and FUCK your own AI GIRLFRIEND TRY FOR FREE
x

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

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
doodle.png
Overview:
SLR Translator is a tool I've been developing over the past few years to translate RPGM games at a high enough standard to be able to finish them without getting stuck, without being dependent on online services.
You can find countless examples in my main translation thread.
If you've ever used Translator++ before, then the tool will immediately feel familiar, because I am using it's UI licensed under GPLv3.
But the actual translation process is very different from Dreamsavior's stuff.
Most outside credit there actually goes to Reddo9999, his code helped me a lot.
(We don't know each other, but his code is also licensed under GPLv3.)

Important Notes:
Press F1 with the tool open for tutorials on how to use this.
This tool will only function if you have a working SugoiV4 server running locally on port 14366.
(The standard setting.)
If you want to use the SugoiLevi model as backup option it needs to run on port 14370.
You can visit
, or the F95 Sugoi thread to find out more about Sugoi.
The V9-V9.4 Toolkits are not compatible with SLR, but 9.5 works again.

If you'd like to support development of this tool or my work in general you can donate here:

Thread Updated: 2024-10-31
Release Date: 2024-05-19
Developer: Shisaye
Version: 1.111
System Requirements: Windows (64bit), At least 8GB of RAM, Decent cooling.

Installation:
You don't have permission to view the spoiler content. Log in or register now.
Changelog:
You don't have permission to view the spoiler content. Log in or register now.
FAQ:
Q: A game is not working correctly after translation, or the translator has problems during the translation of a game, what do I do?
A: Please post the DLsite code of the game (or it's full name), a screenshot of the problem, and a description when exactly the problem occured. If appropriate please also include a save file to reproduce the issue in-game.
Please do not include any rule breaking content in your post.

Q: So this is just another way to run Sugoi on a game?
A: No, Sugoi is only used for basic dialogue. Most scripts, noises, menu buttons, etc., have pre-defined translations from a dictionary I've built. There's also hundreds of regex patterns fixing common quirks and issues with Sugoi.

Q: Translator++ is terrible and constantly crashes stuff, so this does the same?
A: This is not using T++ parsing or converting. I'm just using its UI. Even old VX/Ace converts and exports correctly in SLR Translator, and as a result this does not have the crashing issues T++ has.

Q: When I use SLR on a cell why do some parts remain Japanese?
A: That means those parts have preset translations. Just click the "Fix cells and check for errors" button and the Japanese will be replaced. (Only works in the Initial Translations column to prevent it from touching manual edits.)

DOWNLOAD
SLR Translator


SHA-256 of the archive:
95621c72df8812a2af4aee1be287292d536cc5e6b7f39eca3daf3756deb664c0


Additional Tools:
(Extractors, Editors, etc. Also includes a minimalist Sugoi Repack.)

(I did not make any of these.)


SHA-256 of the archive:
61bfb54dc700ecd875a0d28fd10d032058db4b901bc191ddbd2257008c926f3b

 
Last edited:

Entai2965

Member
Jan 12, 2020
147
417
Best Mascot Ever.

Edit:
SLR Translator has a lot of optimizations based around Japanese to English translation + the Sugoi Offline Translator v4.0 NMT model. The Sugoi Offline Translator v4 NMT model is included in Sugoi Toolkit v6-v8+.

Using SLR Translator in its intended configuration requires:
1) The Sugoi Offline Translator v4.0 model in either or in .
2) Software that can run that model on either the CPU or GPU.

The PyTorch/Fairseq/original version of the model and a small flask server to run it are available from the Official Toolkit (~6.5+ GB), but FOSS alternatives are also available here for convenience, reduced size, better performance, improved compatibility, added cache, added UI, transparency, stability, etc.

I went ahead and bundled everything together in a Sugoi-Repackage to bootstrap the Sugoi Offline Translator v4.0 NMT model + SLR Translator as fast, as clearly, and as reliably as possible. The Sugoi-Repackage is already included under AdditionalTools.7z\apps\Sugoi-Repackage-CPU in the OP. Just double click on the .bat to set up the software and then add the CTranslate2 format model to the correct folder to begin using SLR Translator right away.

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

For more detailed notes on the Sugoi-Repackage, see the , expand the small summary below, and also read this.

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

Edit2: This thread is to discuss SLR Translator. To discuss the repackage, please use the repackage or the Sugoi thread.
 
Last edited:
  • Like
Reactions: rzerces

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Can't open localhost
Localhost refers to your own computer.
What I meant is that you need to have SugoiV4 running in offline mode on the standard server settings.
(I've now changed the note to be less confusing.)

If you have no idea how any of that works, then you can just use the standard Sugoi toolkit by minshiba, run it in offline mode, and leave everything on default. It might be a bit slow, but it will do the job.

I just mentioned the port, because some of the more advanced Sugoi setups might use a different number, and then it will not properly communicate with SLR Translator.
 
Last edited:

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
25,967
Good job on the tool. I plan on checking it out. My knowledge of coding sucks but I am eager to see how the process works. might make me start doing translations again as I could focus on editing the results instead of spending 6 years translating everything by hand lol.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Good job on the tool. I plan on checking it out. My knowledge of coding sucks but I am eager to see how the process works. might make me start doing translations again as I could focus on editing the results instead of spending 6 years translating everything by hand lol.
I'm planning to add proper documentation for everything, but I'm really bad at that stuff, so for now there's only tutorials for basic usage, and some explanations for error codes and cell tags. (Press F1 in the tool.)

I've tried to put explanations in the code everywhere, but it's a mess.

The most important bits are actually in the TransRedBatch and TransRedSugoi folders in www/addons. Specifically the "TranslationEngineWrapper.js" and the "transredbatch.js". That's where all the magic happens.

Not because that makes a lot of sense, but because I started with Reddo's stuff back then and never bothered to actually move it out of there. :KEK:

But I obviously also made changes to the core parsers and even to stuff like rvpacker.
(As you know, all the normal Translator++ stuff is broken. I basically had to edit every single file at some point.)
 
  • Like
Reactions: Azerak and Silentce

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Since I never had a thread in this section, yet, did anyone get a notification when I edited the OP for the 1.043 update and then 3 days later for the 1.044 update, or do I have to make a post each time I release an update?
 
Last edited:

Silentce

Quiet Eldritch Horror
Modder
Uploader
Jan 2, 2018
4,273
25,967
Since I never had a thread in this section, yet, did anyone get a notification when I edited the OP for the 1.043 update and then 3 days later for the 1.044 update, or do I have to make a post each time I release an update?
Gotta make new posts. updates to previous posts do not trigger notifications as far as I am aware.
 
  • Like
Reactions: Shisaye

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Gotta make new posts. updates to previous posts do not trigger notifications as far as I am aware.
Odd choice, makes the "Watch Thread" function not super useful.
Oh well, I guess I spam new posts each time then.
 
  • Thinking Face
Reactions: Silentce

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
I've released Update v1.045.

Main change is that it will now put a non breaking spaces in D_TEXT entries if they end on a number that is encased.
Because for some dumb reason D_Text accepts \V[n] as font size if there's a space in front of them.
Which means if there's a menu entry "Money \V[12]" Instead of printing "Money variable12" it scales the font size of the word Money.

Which is kinda funny, but I've fixed it now. :KEK:

It probably only works with that variable type, but just to be safe I changed it for all encased numbers at the end. (It just makes the text a bit ugly when it happens, because the spaces are bigger.)
 
Last edited:
  • Like
Reactions: Entai2965

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
I've released v1.046.
Tagging related improvements and fixes, mostly related to the scripts context and plugins.js.

The Additional Tools package now includes a minimalist SugoiV4 installer. (Made by a certain 2965 pokemon :Kappa:).

Edit: I may or may not have had a really dumb typo. Anyways there's v1.047 now. :HideThePain:
 
Last edited:

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Just released v1.048.
Biggest change is that I significantly improved my script for detecting and deleting empty objects and their staging data.
It should now consistently work regardless of project or settings.
 
  • Like
Reactions: Entai2965

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Btw I completely forgot to mention, regardless of what I've changed in a new version, you can move over your staging data from the www/php/cache folder into the new version and it will retain all information it had (outside of your profile folder in Appdata).
That way old projects will still work as expected and you do not need to keep old versions of the tool.

I thought about offering update patches instead of always the whole thing again, but that just introduces another instance in which I could fuck something up, so I'd rather not. :HideThePain:
 
Last edited:

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
I've released v1.049.
Fixed a problem with some old escaper patterns that was causing bad translations.
This actually makes a significant difference in translation quality for some games.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
I've released v1.050 because sleeping is overrated.

Main changes are to make the error detection system more accurate and VX plugin stuff.
If you have used SLR Translator before v1.050, then you might want to delete your profile folder in "Appdata/Local/SLR Translator", so it applies the new default settings, unless of course you already made a bunch of changes to the settings and you want to keep them.
But I recommend changing these settings
1.png
To something more spicy like Request Character Limit 5000 and Maximum Batch Size 15000.
Otherwise translation will be really slow.


And yes, I've also just noticed the typo in the description... I'll fix it in the next update. :HideThePain:
 
Last edited:

Yuki-x

Member
Jul 22, 2021
195
309
Shisaye
Does your tool have the same feature/enhancement (for me is a flaw) of grouping all identical strings in one string with multiple references, as translator++?
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Shisaye
Does your tool have the same feature/enhancement (for me is a flaw) of grouping all identical strings in one string with multiple references, as translator++?
It does do that, but for automated RPGM translation it's not a problem because It's not blindly collecting everything like Translator++ does. My parser is more selective.
It doesn't really make sense to make 30 cells with just the word "Yes" in it, to be processed one by one, if they are all choice boxes, and all in the same object.
This isn't really meant for manual translations.

I might make a toggle in the options menu at some point, but that's actually more annoying to implement than it sounds.

Edit: If you find an instance of SLR Translator actually grouping a cell that breaks the game if translated with one that needs translation, please tell me and I'll adjust the parser to not collect the untranslatable cell in the first place.
 
Last edited:
  • Thinking Face
Reactions: Yuki-x

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
Released v1.051.
Just some minor bugfixes.
I've also added a download mirror using wdho, which is probably not everyone's favourite host, but it seems like Pixeldrain is getting problems soon, so I should at least have some mirror and the host options are starting to be really limited...
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,160
5,465
I've released v1.052.
Fix for a niche crash and some minor translation improvements.