bbepis / XUnity.AutoTranslator

MIT License
1.86k stars 285 forks source link

Translated text turns invisible/doesnt appear ingame #238

Open RunningFieryOrb opened 2 years ago

RunningFieryOrb commented 2 years ago

Original: https://i.imgur.com/ExQlEJQ.png/ original

After translation: https://i.imgur.com/NgQQ7t3.png/ invisible

in the _AutoGeneratedTranslation.txt it appears to be translating it correctly: [2874AE,12304D]神殿調査クエストLv1[-]=[2874ae, 12304d] Temple survey quest Lv1 [-] [2874AE,12304D]神殿調査クエストLv2[-]=[2874ae, 12304d] Temple survey quest Lv2 [-]

from LogOutput.log [Message: BepInEx] BepInEx 5.4.17.0 - PrincessConnectReDive (11/28/2021 7:01:44 PM) [Info : BepInEx] Running under Unity v2018.4.21.16595221 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.17.0] [Info : BepInEx] 1 patcher plugin loaded [Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] [Message: BepInEx] Preloader finished [Message: BepInEx] Chainloader ready [Message: BepInEx] Chainloader started [Info : BepInEx] 3 plugins to load [Info : BepInEx] Loading [Configuration Manager 16.4] [Info : BepInEx] Loading [XUnity Auto Translator 4.20.1] [Warning:XUnity.Common] Could not hook 'UISprite_material_Hook'. Likely due differences between different versions of the engine or text framework. [Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2018.4.21f1] game. [Info : BepInEx] Loading [XUnity Resource Redirector 1.2.1] [Message: BepInEx] Chainloader startup complete [Info :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered. [Warning:XUnity.AutoTranslator] An error occurred while setting up GoogleTranslate TKK. Could not locate TKK value. Using fallback TKK values instead.

but it just appears to be invisible or doesn't show up ingame

the game is princess connect re:dive on DMM https://priconne-redive.jp/

using the latest BepInEx version 5.4.17.0 and latest XUnity Auto Translator 4.20.1

I have no clue why this is happening and would like to either make it show up or just not have the auto translator touch this section if possible

everything else works fine, splendid, just some text colors turns invisible / doesnt show up ingame

gravydevsupreme commented 2 years ago

Are you using a separate font? (I am asking because it looks like the text is displayed with a white font on your screenshot)

It should also be possible to press ALT+T to disable the translation temporarily.

Sorry for late response.

zaviier commented 2 years ago

this happend because the hex color is have space.. look at this [2874ae, 12304d] you need to delete the space, like this [2874ae,12304d]

i also have same issues, idk how to fix this... tired of edit it manually