Create and Fuck your AI Cum Slut –70% OFF
x

Tool Ren'Py Ren'py realtime translator Mod[v0.36.b]

Jul 28, 2025
184
93
28
v0.30.a
update:15-11-2025
updated file:realtimetrans.rpy ,transconfig.rpy
1-Fix a bug of load_translation_cache in v0.29.b
2-Add option for showing comparison ,showing translated texts and original texts at the same time.
There might be layout problem.
show_comparison is set to False by default,you can toggle it within game.
3-Bing translate can be set within game now.
 
Jul 28, 2025
184
93
28
v0.32.a
update:18-11-2025
updated file:realtimetrans.rpy ,transconfig.rpy
Add freellm translate from github project for Ren'py 8.
NO API KEY NEEDED.

Currently only one provider and two models(random choice).

oi-vscode-server-2.onrender.com
'Qwen/Qwen2.5-72B-Instruct-Turbo' and "gpt-4.1-mini"
 

Nobre

Member
Mar 12, 2022
235
191
166
The mod keeps getting better and better. The translation from freellm isn't as fast as Google, but the quality makes it worth it.
 
Jul 28, 2025
184
93
28
v0.33.a
update:19-11-2025
updated file:realtimetrans.rpy
Add freellm translate support for Ren'py 7.
Figured out the real model in the response of oi-vscode-server-2.onrender.com ,
it's gemini 2.0 flash in fact.
Another provider is oi-vscode-server-0501.onrender.com
it's model is always x-ai/grok-code-fast-1.

Now freellm has two providers and two models,
still random choice,
the time interval could be set as low as 0.4 seconds without 502 errors in my test.
Your minimum time interval depends on your own network environment.
Conduct your own tests, but don't set it too low, such as below 0.2,
as this may trigger security mechanisms that
could result in your IP being blocked by the providers.
 
Last edited:
  • Like
Reactions: CAT0X0

frostkag

New Member
Oct 30, 2017
4
1
205
The Synthetic
While running game code:
File "renpy/style.pyx", line 808, in renpy.style.rebuild
File "game/transconfig.rpy", line 81, in prepare_screen
File "game/transconfig.rpy", line 81, in prepare
renpy.display.screen.ScreenNotFound: Screen 'preferences' is not known. Did you mean: 'my_preferences'?
 
  • Like
Reactions: TosaTo
Jul 28, 2025
184
93
28
The Synthetic
While running game code:
File "renpy/style.pyx", line 808, in renpy.style.rebuild
File "game/transconfig.rpy", line 81, in prepare_screen
File "game/transconfig.rpy", line 81, in prepare
renpy.display.screen.ScreenNotFound: Screen 'preferences' is not known. Did you mean: 'my_preferences'?
v0.34.a
update:22-11-2025
updated file:realtimetrans.rpy transconfig.rpy
The update changes `realtimetrans.rpy` and `transconfig.rpy` from tightly coupled to loosely coupled.
If you encounter quote error (because the game's preferences screen is missing, and in-game settings depend on it), simply delete the `transconfig.rpy`.
This will render in-game settings ineffective;
you can configure them using this version of `realtimetrans.rpy`.
 
  • Like
Reactions: frostkag
Jul 28, 2025
184
93
28
v0.34.a
update:22-11-2025
updated file:realtimetrans.rpy transconfig.rpy
The update changes `realtimetrans.rpy` and `transconfig.rpy` from tightly coupled to loosely coupled.
If you encounter quote error (because the game's preferences screen is missing, and in-game settings depend on it), simply delete the `transconfig.rpy`.
This will render in-game settings ineffective;
you can configure them using this version of `realtimetrans.rpy`.
For your changes to take effect, note that SCREEN_CONFIG should be set to False.
And if you need to delete the transconfig.rpy, don't forget to delete transconfig.rpyc as well.
 
Last edited:
  • Like
Reactions: frostkag
Jul 28, 2025
184
93
28
v0.35.a
update:25-11-2025
updated file:realtimetrans.rpy
Glossary replacement feature has been added.
Term replacement occurs after the text is converted to HTML.
There are two ways to use the glossary dic:
direct replacement, which allows the translation engine to read the replaced text,
and protected replacement, where the replaced content should be manually protected.
Glossary file should be named as glossary.json.
SET persistent.glossary_enabled to True.
eg.
{
"Auto": "Automatisch",
"Auto-Forward Time": "Autom. weiter",
"skip": "<input type='Vorspulen'/>"
}
 
  • Like
Reactions: Nobre
Jul 28, 2025
184
93
28
v0.35.a
update:25-11-2025
updated file:realtimetrans.rpy
Glossary replacement feature has been added.
Term replacement occurs after the text is converted to HTML.
There are two ways to use the glossary dic:
direct replacement, which allows the translation engine to read the replaced text,
and protected replacement, where the replaced content should be manually protected.
Glossary file should be named as glossary.json.
SET persistent.glossary_enabled to True.
eg.
{
"Auto": "Automatisch",
"Auto-Forward Time": "Autom. weiter",
"skip": "<input type='Vorspulen'/>"
}
The protected replacement will not work in bing translate.
As Bing tranlate processes html tag in a different way.
Google and freellm works well.
 

trans1

Newbie
Jan 24, 2023
32
1
131
I have the same error. Simply insert the following line

prescan_texts=list(PRESCAN_TEXTS)

before the line with the error.
 
Jul 28, 2025
184
93
28
I have the same error. Simply insert the following line

prescan_texts=list(PRESCAN_TEXTS)

before the line with the error.
I can not repeat the error myself in the same game.
Though i do find the reason.
I forget to pre-define prescan_texts,
and in v0.36.a,prescan_texts is defined until prescan is finished,
while translation is using prescan_texts already.
I do not think
Code:
prescan_texts=list(PRESCAN_TEXTS)
is a good solution,
as prescan_texts itself is to prevent list(PRESCAN_TEXTS) repeating.
 
Jul 28, 2025
184
93
28
problem with realtimetrans.rpy v0.36.a
v0.36.b
update:28-11-2025
updated file:realtimetrans.rpy
Fix the problem by pre-define prescan_texts.
Code:
prescan_texts=[]
But i can not repeat the peoblem myself in the same game,
so if the problem remains,i will try to fix it again.
 
Last edited:
Jul 28, 2025
184
93
28
One of my bros said his performance issues haven't been resolved, especially on Android;
it's still very laggy and crashes at times.
Have you experienced something similar?
In my own testing,
I noticed that memory usage seems to increase uncontrollably
as the amount of text that needs to be redrawn accumulates.
 

trans1

Newbie
Jan 24, 2023
32
1
131
I don't have any performance issues or crashes.
What I do occasionally encounter is that some dialogues are not translated.

In the log:
Translation disabled or no texts provided.

After restarting, it will work again.
 
Jul 28, 2025
184
93
28
I don't have any performance issues or crashes.
What I do occasionally encounter is that some dialogues are not translated.

In the log:
Translation disabled or no texts provided.

After restarting, it will work again.
Has this problem always existed,
or did it only appear in v0.36?
 

trans1

Newbie
Jan 24, 2023
32
1
131
I just tested this with v0.34.a and there is also an error where a dialog is not translated. However, this has nothing to do with the message in the log, which appears even when everything is OK.
 
Last edited: