Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.15k stars 207 forks source link

Textractor not fully translating lines #1321

Open RhySinn opened 3 months ago

RhySinn commented 3 months ago

Been a bit since i posted on here but with most vn's textractor works fine, however every once and a while it just fails to work and in this case it doesn't fully translate lines https://i.imgur.com/fZFh7im.jpeg Don't know how to fix this, i should mention this is a downloaded version from gyuuto since i couldn't find other working versions.

storycoolbro commented 3 months ago

firstly you can attach images directly to the post don't need to use an image host such as imgur just drag and drop. into the text field have you updated you're texthook.dll from the alphabuilds archive?if not https://github.com/Artikash/Textractor/issues/868#issuecomment-1249146885 also you forgot to mention which game this is for. the imgur image is just the text box in game and the extra window of textractor but try updating your texthook.dll first as like 90% of the time it fixes these types problems when it's not already been updated.

RhySinn commented 3 months ago

Ah sorry probably took the image half asleep, its D.C. III With You, i updated it and got a new hook titled "circus" messed around with it aswell as another called "glyphoutline" and it seems to either translate some characters wrong or split the sentences if they are longer. Besides that its an improvement translationg translatef

storycoolbro commented 3 months ago

the first image it appears the 0@w1 is the backwards comma thing as it doesn't show in the translated text and is in about the same spot of the line. switching the font to something that supports Japanese characters might solve that or maybe changing translator extensions cause it's actually displayed properly in the pre-translated text so that's a bit odd. could also try regex filters in the FAQ to remove it the one that filters most special character might work for it, idk regex so can't help with that, or us the replacer to change it to a regular comma before it's sent to the translator.

for the sentence splitting if the games text display speed is adjustable try setting it to as fast as it will go if its not you'll just have to deal with that. if clicking makes the text display instantly that might also prevent it but from experience you might end up accidently skipping a line doing it this way so dealing with it is preferable from that method imo.