Artikash / Textractor

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

Not detecting Atelier Kaguya game #260

Closed Kuroonehalf closed 4 years ago

Kuroonehalf commented 5 years ago

Hello.

I've been having a trouble hooking onto an Atelier game I'm playing ( https://vndb.org/v10082 ) and Textractor simply doesn't seem to recognize it as a process that it can hook into, it doesn't appear on the process list.

This is a game that won't run unless your locale is set to Japanese, or you run it through Locale Emulator (which is what I'm doing). Do you think that could be the issue? I tried running games that run normally by themselves by Locale Emulator and Textractor was still able to pick them up, so I'm not entirely sure if running it through there is the issue.

Have you dealt with cases like this before? Let me know if I can help you diagnose the problem.

update: Just tried the new Atelier Kaguya game that came out recently ( https://vndb.org/v26382 ) and the engine seems to be the same, and the same issue occurs.

Artikash commented 5 years ago

Right click Textractor.exe -> run as administrator. Or, run Textractor normally, launch game -> select atelier -> emulate japanese locale.

Kuroonehalf commented 5 years ago

Ah, my bad! I totally missed the text that suggested trying to run in administrator. Now I do get it to show up on the list. However, when I attach to it it never seems to pick up any hooks. Trying manual text search also doesn't seem to do the trick. Do you have suggestions for how to crack this one?

Artikash commented 4 years ago

Having trouble downloading the first game, but tried the second one and the GetTextExtentPoint32A hook seems to work fine. Does the second game get hooked properly for you?

Artikash commented 4 years ago

Ah, found the issue, will be fixed next release. For now use hook code HS4@0:kernel32.dll:lstrlenA

Kuroonehalf commented 4 years ago

Ah, thank you very much! Sorry for not replying in time! >.<

Artikash commented 4 years ago

Fixed in 4.8.0.