Artikash / Textractor

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

Cannot find valid Hook code for Kuroinu 2 redux titles(Yuris-2, Yuris-3, Yuris-6) #1251

Open phopho124 opened 4 months ago

phopho124 commented 4 months ago

For Kuroinu 2 redux. There is no hook code available by default. I tries manually searching for text and it seems to work for only a couple lines.

HIllya51 commented 4 months ago

You can Try LunaHook, which is the next generation of visual novel text hooker. I have tested this VN by it and it works fine.

1.Textractor has not been officially maintained for a long time, with numerous errors and inability to support the latest games in a timely manner 2.Almost all of Textractor's code is concentrated on one engine/engine.cc file, making it difficult to maintain 3.Textractor does not support Windows XP Therefore, I spent over half a year refactoring a large amount of code, creating a new generation of text hooker. Compared to Textractor, it has the following advantages: 1.Providing additional support for hundreds of games compared to Textractor and it will support the latest games every month at the fastest speed possible 2.Almost perfect support for Unity/Renpy Engine. 3.Supports Windows XP 4.Provides DLL/CLI for other programs to call conveniently 5.Compatible with all Textractor plugins 6.For some game engines, it even supports embedding translations into the game Additionally, if your operating system is Windows 7 or above, I would recommend you to use LunaTranslator. LunaTranslator not only supports using LunaHook to hook text, but also supports the use of OCR (including built-in OCR models, as well as tesseract and Windows OCR). And it supports over 40 different online translation APIs as well as many offline language model APIs.

phopho124 commented 4 months ago

How to start the program? I don't see any .exe files

Vào CN, 3 thg 3, 2024 vào lúc 11:29 恍兮惚兮 @.***> đã viết:

You can Try LunaHook https://github.com/HIllya51/LunaHook, which is the next generation of visual novel text hooker. I have tested this VN by it and it works fine.

1.Textractor has not been officially maintained for a long time, with numerous errors and inability to support the latest games in a timely manner 2.Almost all of Textractor's code is concentrated on one engine/engine.cc file, making it difficult to maintain 3.Textractor does not support Windows XP Therefore, I spent over half a year refactoring a large amount of code, creating a new generation of text hooker. Compared to Textractor, it has the following advantages: 1.Providing additional support for hundreds of games compared to Textractor and it will support the latest games every month at the fastest speed possible 2.Almost perfect support for Unity/Renpy Engine. 3.Supports Windows XP 4.Provides DLL/CLI for other programs to call conveniently 5.Compatible with all Textractor plugins 6.For some game engines, it even supports embedding translations into the game Additionally, if your operating system is Windows 7 or above, I would recommend you to use LunaTranslator https://github.com/HIllya51/LunaTranslator. LunaTranslator not only supports using LunaHook to hook text, but also supports the use of OCR (including built-in OCR models, as well as tesseract and Windows OCR). And it supports over 40 different online translation APIs as well as many offline language model APIs.

— Reply to this email directly, view it on GitHub https://github.com/Artikash/Textractor/issues/1251#issuecomment-1975017598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBLS647AKJJGWHMPSWQ33DYWKRKPAVCNFSM6AAAAABEDHNJBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGAYTONJZHA . You are receiving this because you authored the thread.Message ID: @.***>

HIllya51 commented 4 months ago

You can download https://github.com/HIllya51/LunaHook/releases/download/v1.2.0/Release_English.zip and run "LunaHost32.exe" or https://github.com/HIllya51/LunaTranslator/releases/download/v2.37.3/LunaTranslator.zip and run "LunaTranslator.exe"

phopho124 commented 4 months ago

I installed it successfully but when I use it, the translated text is not displayed

Vào CN, 3 thg 3, 2024 vào lúc 11:57 恍兮惚兮 @.***> đã viết:

You can download https://github.com/HIllya51/LunaHook/releases/download/v1.2.0/Release_English.zip or https://github.com/HIllya51/LunaTranslator/releases/download/v2.37.3/LunaTranslator.zip

— Reply to this email directly, view it on GitHub https://github.com/Artikash/Textractor/issues/1251#issuecomment-1975022510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBLS626V6ADTAZNLP5YH3DYWKUSDAVCNFSM6AAAAABEDHNJBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGAZDENJRGA . You are receiving this because you authored the thread.Message ID: @.***>

HIllya51 commented 4 months ago

I don't know how you operate it. Select Processs and attach to it, then select yuris8 in list.

屏幕截图 2024-03-03 140419
phopho124 commented 4 months ago

oh really thank you, i did it, sorry for the trouble i caused

Vào CN, 3 thg 3, 2024 vào lúc 13:06 恍兮惚兮 @.***> đã viết:

I don't know how you operate it. Select Processs and attach to it, then select yuris8 in list. 2024-03-03.140419.png (view on web) https://github.com/Artikash/Textractor/assets/101191390/ebfae8a9-4afb-4fe7-87eb-7bdf13f5c83c

— Reply to this email directly, view it on GitHub https://github.com/Artikash/Textractor/issues/1251#issuecomment-1975055429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBLS6ZGZGKJBUDFBCW47CTYWK4UVAVCNFSM6AAAAABEDHNJBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGA2TKNBSHE . You are receiving this because you authored the thread.Message ID: @.***>

phopho124 commented 4 months ago

Can you help me with this, currently I am using LunaOCR but it cannot be translated, can you help me fix this error? [image: image.png]

Vào CN, 3 thg 3, 2024 vào lúc 13:06 恍兮惚兮 @.***> đã viết:

I don't know how you operate it. Select Processs and attach to it, then select yuris8 in list. 2024-03-03.140419.png (view on web) https://github.com/Artikash/Textractor/assets/101191390/ebfae8a9-4afb-4fe7-87eb-7bdf13f5c83c

— Reply to this email directly, view it on GitHub https://github.com/Artikash/Textractor/issues/1251#issuecomment-1975055429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBLS6ZGZGKJBUDFBCW47CTYWK4UVAVCNFSM6AAAAABEDHNJBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGA2TKNBSHE . You are receiving this because you authored the thread.Message ID: @.***>

HIllya51 commented 4 months ago
屏幕截图 2024-03-05 172314

Oh, it seems some error happened. Please show me the image again.

phopho124 commented 4 months ago

image it only displays text and cannot be translated

HIllya51 commented 4 months ago

image it only displays text and cannot be translated

This is to avoid a large amount of text that needs to be translated due to misoperation (such as copying a large amount of text). This threshold is set to 200 by default. You can increate this threshold at "Translation Settings"->"Maximum number of translated words". I will also increase the default threshold after. Thank you for your reminder

phopho124 commented 4 months ago

I increased the threshold to maximum but still can't translate

HIllya51 commented 4 months ago

I increased the threshold to maximum but still can't translate

Have you enabled several translation APIs in "Translation Settings" ? Or have you set the translation language correctly in "Language Settings" ?

phopho124 commented 4 months ago

image image Can you check for me to see if everything is correct?

HIllya51 commented 4 months ago

image image Can you check for me to see if everything is correct?

Cancel the "Balanced load"? (Actually, I don't know where the problem lies. In fact, I can translate it correctly according to your settings) Or are you using any network Proxy?

屏幕截图 2024-03-05 193519