Repository navigation
Toolbox
Lord0fTurk edited this page Sep 13, 2026
·
3 revisions
RenLocalizer integrates several automated tools directly into the translation engine to handle encrypted archives, compiled binary scripts, custom terminology, and script integrity.
Ren'Py games often pack game scripts, screens, and assets into compressed .rpa archives (e.g. archive.rpa, scripts.rpa).
-
Automatic Extraction: When you load a game, RenLocalizer checks if
.rpaarchives need extraction and automatically unpacks them into thegame/folder. - Powered by UnRPA: Fast, reliable archive decompression without requiring external third-party extractors.
Many commercial and Patreon visual novels only ship with compiled .rpyc files, omitting the raw human-readable .rpy scripts.
-
Direct AST Traversal: RenLocalizer includes a 2,455-line dedicated
.rpycbinary reader capable of parsing Ren'Py AST nodes (Screen Language, Python code blocks, dialogue nodes) directly. -
Smart Fallback: Unrpyc decompiler automatically reconstructs readable
.rpytranslation sources on the fly. - Deep Extraction: Traverses complex nested dictionaries, lists, and tuples to discover hidden UI strings.
To prevent character names, locations, fictional lore, or proper nouns from being translated into literal dictionary words, use the Glossary:
A glossary.json file is located in your RenLocalizer directory:
{
"Ethan": "Ethan",
"Elena": "Elena",
"Redwood City": "Redwood City",
"Blackwood Corp": "Blackwood Corp",
"Stamina": "Kondisyon"
}- Left (Source Term): Exact case-sensitive or case-insensitive term to match.
- Right (Target Replacement): Desired translation (or leave it identical to keep it untranslated).
- The pipeline applies glossary substitutions with word-boundary awareness, preventing partial replacements inside longer words.
-
RTL Language Detection: When translating into Right-to-Left languages like Arabic (
ar), Persian/Farsi (fa), or Hebrew (he), the runtime hook automatically activates BiDi text reordering and Persian/Arabic character shaping. - Unicode Support: Preserves special characters and non-Latin scripts (Cyrillic, Greek, CJK, Turkish diacritics) seamlessly.
For automated batch builds, CI/CD pipelines, or server environments:
# Automated translation without GUI
python run_cli.py "D:\Games\MyVN.exe" -e deepseek -t tr --deep-scan
# Interactive rich console menu
python run_cli.py --interactive- π Home β Welcome & Overview
- π₯ Installation β Download & Setup
- β‘ Quick-Start β First Translation in 3 Steps
- βοΈ Settings-and-Engines β Engines, Profiles & AI Tuning
- π¦ Output-Modes β Native TLID vs Standard Hook
- π οΈ Toolbox β RPA, RPYC & Glossary Utilities
- β FAQ β Common Questions & Fixes