Repository navigation
BestPracticeForTyranoEN
Translate a Tyrano engine game and embed the translation into the game. After that, the game runs without any translation tool.
flowchart LR
A(["Copy the game"]) --> B("Create a project")
B --> C("Translate with AGENT")
C --> D("Generate Translation")
D --> E(["Copy back into the game"])
- You completed the [Basic Tutorial] one time
- A clean copy of the game: not translated
- Games made with
TyranoScriptandTyranoBuilderare supported. Both.exegames with anapp.asararchive and game folders with loose resources can be used directly
⚠️ We recommend that you make a full copy of the game folder and work on the copy
⚠️ Games with built-in language switching (language tables indata/others/lang/) are not supported. An.exethat only loads a verified archive is not supported
- Open
AGENTand clickCreate Project - Drag the game folder or
.exeinto the dialog - Click
Create Project, confirm theProject Languages, and select where to save the.lgproject file
The app identifies the resources/app.asar archive or the loose data and tyrano folders automatically. Do not select an archive or a .ks script file directly.
✅ Result: for games with an archive,
resources/app.asaris extracted into theresources/appfolder. For games with loose resources, the folder does not change
⚠️ Before the project is created, the app asks you to back up the game folder. The app changes the game files only after you confirm💡 After extraction, the game reads the files in
resources/appdirectly. You can start the game one time to make sure that it still runs correctly💡 If the app says that an update patch is pending, start the original game one time, then create the project again
After the project is created, the app opens AGENT with these steps already in the input box. Press Enter:
| Step | Instruction | Purpose |
|---|---|---|
| ① | Extract terminology |
Keeps character, place, and item names consistent |
| ② | Translate the full text |
Translates the game text |
| ③ | Review the translation |
Finds errors and code problems |
💡 AGENT loads the
tyranoskill automatically and processes text by the engine rules. No extra setup is necessary💡 After terminology extraction, check the character names and genders
💡 The character names above the dialog box are often linked to character images and voices, so they are not translated by default. To translate them, tell AGENT:
Help me translate the character names and update every place that refers to them
- Click
Generate Translation - Open the
{project name}_Translated/{game folder name}/folder - Copy all of its contents into the game folder and overwrite files with the same names
- Start the game
✅ Result: the game shows the translation and runs correctly
- Prepare the font. For Chinese, download [LGBaseFont_20261029.zip] and extract
LGBaseFont.ttf. For other languages, use your own.ttffont - Open
Toolbox-Modify Game Font - Drag in the game folder or
.exe, then the font file, and clickModify - Start the game
✅ Result: the game shows the translation with the new font
💡
LGBaseFontis a Chinese font. It contains only English and CJK characters. For other target languages, find a.ttffont that supports your language💡 Only the font of the dialog box, text layers, and choice buttons changes. Text in images and text that plugins draw themselves do not change
💡 Changing the font and generating the translation do not affect each other. You can do them in any order
For any problem that you see in the game, give AGENT a screenshot:
| Problem | What to say |
|---|---|
| Text is not translated | This UI text is not translated, here is the screenshot, find it and translate it |
| The game shows an error or a function stops working | The game shows an error, here is the screenshot, help me find the translations that cause it |
| Text shows as boxes | The text in the game shows as boxes, here is the screenshot, how do I fix it |
After AGENT corrects the problem, do step 3 again. You do not need to change the font again.
💡 In Tyrano games, character names, voices, and macro parameters can refer to each other. Some translated text can cause character images or voices to stop showing or playing, or branches to stop working. You can also give AGENT a screenshot of these problems
💡 Text that shows as boxes usually means that the game font does not support the target language. Do the extra step
💡 To restore the original game, copy your backup of the game folder back over it
How do I know if a game is Tyrano?
- An
.exegame folder usually hasresources/app.asar, orresources/apphas thedataandtyranofolders - A web or loose game folder has the
dataandtyranofolders directly - Drag the game folder into the
Create Projectdialog. If the app identifies it, it is Tyrano - You can also give AGENT a screenshot of the game folder:
This is the game folder, tell me which engine it uses and which tutorial to read
The game has more than one language. Can it be translated?
- Not at this time. These games find their language tables by the original text, so language switching stops working after the original text changes
Which content is not translated?
- Text in images, and text that Canvas or plugins draw themselves
- Files outside the
datafolder, and text that the game builds from variables when it runs
Does the translated game still need LinguaGacha?
- No. The translation is written into the game files
- Best Practices for High-Quality Translation of Godot Engine Games
- Best Practices for High-Quality Translation of RenPy Engine Games
- Best Practices for High-Quality Translation of Tyrano Engine Games
- Best Practices for High-Quality Translation of WOLFRPG Engine Games
- Best Practices for High-Quality Translation of RPGMAKER Engine Games