/HS18\*50:18\*14@0:GDI32.dll:GetTextMetricsA
The H-code works with AGTH, ITH and Textractor (x86).
ITHVNR and VNR can’t use it as is, but there’s a workaround: attach ITH to the game, use the H-code above, then select it in ITH’s hook editor and click Generate Code button. The converted H-code (for example, /HS18\*50:18\*14@1D1DA:gdi32.dll) will work in ITHVNR and VNR, but it will be bound to your specific version of gdi32.dll and may not work in other versions of Windows.
Also, if you want to use ITH, remove ITH's default hook for ShiinaRio IMMEDIATELY (!) after attaching ITH to the game because once the game window regains focus, the game engine will detect ITH's default hook and will respond by killing itself. That's why we have to hook system DLL instead of the exe.
P.S.Markdown is really shitty for posting H-codes.
Also also, here's a very, very old version of ITH that does not need any H-codes for this game:
http://s000.tinyupload.com/index.php?file_id=01504152821935649940
However, I suspect that it doesn't work in any Windows newer than Windows 7 - but if you do have Win7, this is the best text hooking solution for this VN. ITH 1.6 even works with other games on ShiinaRio engine, most notably VNs made by onomatope\*raspberry.
Comments - 3
jepong003
Anon1
Anon1