Translator++ Ver. 6.12.4 - Faster RPG Maker parser
Added 2024-12-04 10:41:36 +0000 UTCHello fellow translator,
If you see notifications in Translator++ about the latest update, you'll notice that it focuses significantly on the RMRGSS add-on, which is the parser for RPG Maker XP, VX, and VX Ace.
Indeed, I have been banging my head against a brick wall for the past few days to make the parser faster and more supportive of large games.
If you start a new project for RPG Maker XP, VX, and VX Ace, the first thing you might notice is that CommonEvents are now divided into several segments.

Apart from making them easier to organize, this change improves AI translation by isolating the context for each event. Another reason is that we can parse games much faster since the parsing process can be done in parallel for each event in CommonEvents. You can also make export/inject by incremental changes to selected events in the CommonEvents file without having to parse the entire file.
But none of this matters if thread processing isn't done correctly. Therefore, I have rebuilt the thread processing. Previously, threads were handled in the front-end Javascript context; now they are handled in the node context. This means each thread runs faster due to lower execution overhead.
With the RMRGSS add-on version 2.20, I have seen significant improvements. Previously, I have a large game project that could take over an hour to create a new project (with multi-threading active). Now, it can be completed in about 12 minutes. So, roughly it’s 5 time faster now. This thread processing is enabled by default for everyone.
Please note that the split CommonEvents affect new projects. For old projects (where there's a single CommonEvents file), you can still export CommonEvents as usual.
Another change is that parsing RPG Maker XP is more stable and faster because the data decoding process now occurs only during project creation. So, every export action (which might be done several times) no longer requires decoding/encoding binary data.
If you have any other questions, please discuss them in the Discord channel.
Happy translating,
Dreamsavior
Comments
Please repair Free DeepL :-)
Mafian89
2024-12-05 06:54:25 +0000 UTC