Mudborne:育蛙模拟器

Mudborne:育蛙模拟器

Русификатор для mudborne
4 条留言
ellraiser  [开发者] 6 月 25 日 上午 12:39 
Ah perfect, that's a simpler fix for sure - great work! :screamyfrog:
Et In Arcadia Ego  [作者] 6 月 24 日 上午 8:40 
Hello, matis2330 and ellraiser!

Thank you so much for your incredibly helpful comments!

I've implemented the fix: instead of replacing the `➕` and `➖` symbols in the game's data logic, I've added these Unicode characters directly to the custom font. This resolved the genetics issue and allows the game to display the symbols correctly without interfering with its internal mechanics.
ellraiser  [开发者] 6 月 23 日 上午 1:31 
Heya - good job on getting a custom language mod working!

Unfortunately, as matis2330's comment says, this does break all genetic modifications in the game, because you have replaced the custom ➕ and ➖ unicode characters which are used by the game to apply +1 and -1 modifications with magic mud (example code: md_genetics.lua, line 97).

For languages without those characters, like JP + CN, I replace the characters only in tooltip rendering. You can view both these locations in "md_ui.lua, line 1083", "md_ui.lua, line 1006", as well as "cl_book.lua, line 1169". All of these sets of gsbus are applied after game logic just to render book + tooltip text, leaving the ➕ and ➖ intact in the raw strings.

You might have to do something similar by replacing these defaults with a copy, but with russian added to be included in these text gsubs.
matis2330 6 月 22 日 上午 9:34 
Hello, i have issues with the mod, genetics dont work and i always get 44444444