- Feb 7, 2020
- 129
- 439
So, I did the script for that. It scans for any english text with 10+ consecutives identical characters and if it finds it, it'll execute the line by line translation that should fix most of the problems.I don't suppose it's possible for a script to scan an entire block (Lets say the [Initial] block in this case) and if it detects multiples of the same letter (lets say 4 or more of the same letter in a row) it'll automatically execute the above script?
You don't have permission to view the spoiler content.
Log in or register now.
While I was doing that I discovered that just by cleaning the string a bit you can get some better translations.
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.
So yeah, the simple cleaner improves SOME translations, very few but even so its an improvement.
I'll leave the modded file in the attachments, just replace the files.
==============================================================
Sugoi Gold Translator Addon
I kinda made a custom replacer parser that improves the translations by A LOT. so far I didn't found one of those bugged translations, and even if another one is found, I made an options on the addon to enable anyone to fix that manually.
As this was getting a bit different and to avoid any future addons update breaking it I've decided to make this into a new addon.
Naming it Sugoi Gold Translator to comply with those red google, red sugoi sub-addons lol.
Here are some results done with the new addon
The usage is exactly the same as the Sugoi Translator, the big difference is in the options for the addon and how it prepares the string to be translated.
It comes with a default pattern that I made that works great for this game. As other games find bugged translations they can be appended to the replacer parser.
So you only need to select the Sugoi Gold Translator and use it like normal.
Advanced options
You don't have permission to view the spoiler content.
Log in or register now.
Installation
File in attachments(sugoiGoldTrans_addon_for_4.3.31_x64 (latest public).rar)
Unpack the files in the Translator++ folder.
From the options, select Sugoi Gold Translator as the default translator engine.
The addon folder is at 'www/addons/sugoiTransGold'
Considerations
Both normal and Gold versions of Sugoi does not have the HexEscape parser enabled so they will most probably lost variable names for games that use nameable characters.
If you batch translate a map it'll try to translate all the cells including the event names.
From what i've seen it just outputs the same which is the ideal behavior and should not break anything.
Google translator addon has a parser that marks those cells so that you can use tags to exclude them when exporting the translations to avoid errors. Sugoi addon does not have that.
In the future if I decide to check if it's worth to use the hexEscaper to keep the variable names inside text I might look into that too.
----
Hopefully I didn't forget anything.
========== EDIT ===========
I was testing the addon with an old MTL game to see if everything works
And found out that when you batch translate it. After the first batch ended, it would get stuck at setting tables. So I dig up a little.
Turns out this is a problem of Translator++ itself, at least on the latest public version(4.3.31_x64 (latest public)).
You don't have permission to view the spoiler content.
Log in or register now.
I made a script to "fix" this for Translator++ itself, until they patch it.
It'll just skip the "untranslateable" cells. If there is an untranslateable line, there'll be a message on the batch log.
This is a bug of the batch code so you can still translate the cell by right clicking it and choosing translate.
To make the live easier I've also added a script for you to execute after the batch is done.
It'll scan all the empty cells and if it finds one, it'll simply translate it.
(you can re-run the batch again, skipping translated lines, to check if everything is alright and update the % translated at the files)
To apply the fix, unpack and override the file.
The fix script is also inside, you can run it per file like the script at the top.
Again, this should be rare and its a bug of Translator++ itself on the latest public release only when batching.
PS: The script is made to use sugoi gold translator addon, but to change it just edit the file
You don't have permission to view the spoiler content.
Log in or register now.
I did a test run using this on this old google MTL game (https://f95zone.to/threads/npc-sex-...sistance-2-final-latte-art.45244/post-9067448)
You don't have permission to view the spoiler content.
Log in or register now.
Last edited: