故事质量好高,非常美味
Akitora
Recent community posts
You can find a sample of my ongoing work here for reference:
Hi,
I am currently working on a fan-made Simplified Chinese localization patch for Morenatsu-Revival. Following standard Ren'Py translation protocols, I generated and placed the translation files into the ./game/tl/chinese_simplified directory.
During testing, I found that the game drops the selected language and reverts to the default. After unpacking and inspecting archive.rpa, I noticed the following logic under label splashscreen2::
label splashscreen2:
$ persistent.replay = False
$ renpy.change_language("None")
$ persistent.replay_oringal = True
because $ renpy.change_language("None") forces the language reset at startup, my translation wouldn't load. To bypass this, I wrote an override patch to force the language setting.
However, this workaround causes several deeper engine issues:
- Text Duplication: Dialogue lines frequently repeat or render twice on the screen.
- Translation Application Failure: Some of the localized
.rpyfiles fail to hook successfully, leaving parts of the text untranslated.
Could you provide some technical guidance on the best way to implement a translation patch for the current build? Specifically, is there a recommended way to bypass or safely hook into the splashscreen2 language logic without breaking the text rendering? Alternatively, would you consider removing or modifying this hardcoded reset in a future update so the game natively supports custom tl/ directories?
Thanks for your time.