Artikash / Textractor

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

Can't find the correct hook in a Rio game #881

Closed Manoman90 closed 2 years ago

Manoman90 commented 2 years ago

Hello smart people. I found an old thread with the same issue as me but different games (https://github.com/Artikash/Textractor/issues/135)

Game: Bitch Nee-chan ga Seijun na Hazu ga Nai! vndb: https://vndb.org/v18781 Downloaded at: https://www.h-suki.com/en/games/1920

problem is that i can't find a working hook that gets full sentences and only parts of them. I've tried countless ones from several different sites but every person seems to get their own h-code somehow.

Screenshot_75 Have been trying for a couple of days now before resolving to bother you all with it. Closest i've come to finding a solution was a thread made in 2017 on Animesharing that linked to a solution that someone had posted on Sakuradite which is gone.

So here is some hopefully helpful information.

for days and until just a while ago Textractor said "vnreng:ShinaRio: unknown version (just like in the old thread mentioned at the top) But now it instead says "Textractor: ShinaRio 2.50+: adding trigger" Screenshot_78

I can only think of 2 things that ive done in between and that's

  1. I opened up the Rio.ini in case i have to share it on here
  2. I tried to hooking it in VNR which i used until I found Textractor. Which to my surprise worked. so i tried copying the hook code to then add it in textractor and got invalid hook. Screenshot_74

H-code copied from VNR (I got it by clicking Edit /H hookcode at the top /HS8@63E30GDI32.dll

Other info that might help: Edition Windows 10 Home Version 21H1 Installed on ‎02/‎09/‎2021 OS build 19043.1826 Experience Windows Feature Experience Pack 120.2212.4180.0

Contents of Rio.ini [椎名里緒 v2.50] Reg=software\onomatope*\ビッチ姉ちゃんが清純なはずがないっ! WindowWidth=1280 WindowHeight=720 Scn=start.scn Arc=BITCHES_S.WAR Background=1 Joypad=0 DirectSoundHard=0 DirectSoundPrimaryBuffer=1 SynthiaPCMPriority=1 SynthiaPCMBuffer=4 SynthiaPCMNotify=4 MPEG1Filter=0 MovieMode=0 FullScreen=0 CacheSize=0 WideMode=2 WindowSizeMenu=1 ForceWMV=0 ForceSFLOff=0

Setup.ini [SETUP] CompanyName=onomatope* GameTitle=ビッチ姉ちゃんが清純なはずがないっ! GameClass=椎名里緒 v2.50 GameDir=ビッチ姉ちゃんが清純なはずがないっ! GameExe=BITCHES.EXE UninstExe=UNINST.EXE SetupBMP=SETUP.BMP InstallSelects=1 DefaultSelect=0 InstallSize0=6442450944 InstallTitle0=『ビッチ姉ちゃんが清純なはずがないっ!』インストール InstallFiles0=1:BITCHES.EXE,RIO.INI,UNINST.EXE,SETUP.INI,README.TXT,OGG.TXT,HID_ONAHOLE.dll,BITCHES_S.WAR,BITCHES_T.WAR,BITCHES_D.WAR,BITCHES_M.WAR,BITCHES_G.WAR,BITCHES_E1.WAR,BITCHES_E2.WAR,BITCHES_E3.WAR,2:BITCHES_V.WAR,mv,BITCHES_PA.WAR,BITCHES_PB.WAR DiskCheckFile1=BITCHES_G.WAR DiskCheckFile2=BITCHES_V.WAR Shortcuts=4 Shortcut0=BITCHES.EXE,「ビッチ姉ちゃんが清純なはずがないっ!」 実行,,ビッチ姉ちゃんが清純なはずがないっ! Shortcut1=UNINST.EXE,「ビッチ姉ちゃんが清純なはずがないっ!」 削除 Shortcut2=README.TXT,初めにお読み下さい Shortcut3=http://onomatope.jp/,『onomatope*』ウェブサイト ExecApp=explorer.exe,README.TXT UseCompanyNameForShortcutGroup=1 ChooseSaveDataFolder=1 InstPathMode=1

Hope that was everything as i had to completely rewrite this after i did an epic fail and deleted it all when i accidently hit my macro for jumping into bing when google trans fails Hope there's a kind soul out there who has the time and energy to help :)

Artikash commented 2 years ago

shinafix.zip Try replacing your texthook.dll with that. Also the hook code is missing the colon, try HS8@63E30:gdi32.dll Textractor should see that as valid.

Manoman90 commented 2 years ago

Artikash you are a genius. Thank you so much. And thank you for not abandoning Textractor. I remember reading that you felt done with it but I appreciate the fast answers when problems arise and that you still put out updates <3

Artikash commented 2 years ago

Just thank fate that you asked when I had spare time :3

Did replacing texthook.dll automatically hook it? Or do you need to use the hook code?

Manoman90 commented 2 years ago

first try nothing happened but restarted it all to try again and then it worked :) but yeah it was automatic no userhook ever showed up :)