2007-7-14) Updated! No more using AgthAttach!
I spend for a week in reversing SchoolDays(SD) engine to attach AGTH.
Wow. I made it! Now I came to know how to handle Win32 Hooking and DLL Injection technique more than before.. :-)
In first time, I tried to make loader which attach to SD by itself but it failed; it was extremely slow and difficult to hook functions at dynamic DLL for me. So I tried alternative way, which is passing parameters to AGTH and let AGTH attach to SD.
Following pictures are the result I got:

As you see, hooked text was translated into Korean, not English. But I think you may get insight how to use this way to translate into English or other language... I'm using japanese-korean translation engine called "EzTransXP" and its invoker "CliphookerEX!". If you want to use other translator like Japanese-English translator(I can't remember its name. Atlas or something?), please google it yourself. Actually, I don't know how to handle those translators.
Anyway, you have to prepare following requirements to hook with AGTH :
#. Requirements
- SchoolDays Original DVD
- SchoolDays 1.11 patch (Necessary!)
- CliphookerEX! v3.0.57 [http://lolitype.net]
- AGTH v2006.11 [http://agthook.googlepages.com]
- JapanTextReviser v0.1 [you'll find it in this blog]
- Translation engine installed like ezTransXP
#. How to setup
0. You need to install translation engine like ezTransXP in order to translate the hooked text. It depends on your own.. Try googling, or whatever. Please remember that the ezTransXP can only translate japanese<>korean.
1. Install SchoolDays first. Download and patch with Schooldays v1.11 patch at the Overflow website. If you don't patch, you'll never hook the program.
2. Download and install CliphookerEX!(CHE).
3. Download and install AGTH. I recommend install it at the same folder as CliphookerEX! installed before.
4. Download and install AgthAttach v0.1 and JapanTextReviser v0.3 at my blog. Extract it at the same folder as I told above.
#. Setting environment and run the program
1. Run SchoolDays.(SD.exe). Proceed to the title menu.

2. Run CHE. At the first time, CHE will ask in which process you want to attach AGTH. Select "SD.exe" and type "/HW-20@30270:FILMEngine.gem:" in the Additional option box. Press "Attach" to run.


2. Check "Clipboard Monitoring", "Translation" option in the menu and change charset to "SHIFT-JIS" in Advanced setting menu.
3. After you pressed "Attach" button, you may see AGTH as shown in the following. Select approapriate [UserHookW] which seems captured japanese text best-showing.


4. Run JTR v0.1. If you check "Delayed paste" at the dialog, you can sync the subtitle and hooked strings. Minimize JTR for your convenience.

5. Now enjoy SchoolDays! You'll see hooked text are automatically translated as shown in the following.
#. Troubleshooting
1. You will see the texts are hooked "one step prior" all the times because SD engine uses double-buffering feature. You can fix it by activating JTR's "Delayed Paste" function.
2. You'll see popup message about memory access violation when you close SD. The reason is that hooking in dynamically loaded DLL is very unstable. I don't know how to fix the problem but I think it might be Okay.
3. Lastly, please, please don't ask me like "Where can I download SD?".
I spend for a week in reversing SchoolDays(SD) engine to attach AGTH.
Wow. I made it! Now I came to know how to handle Win32 Hooking and DLL Injection technique more than before.. :-)
In first time, I tried to make loader which attach to SD by itself but it failed; it was extremely slow and difficult to hook functions at dynamic DLL for me. So I tried alternative way, which is passing parameters to AGTH and let AGTH attach to SD.
Following pictures are the result I got:
As you see, hooked text was translated into Korean, not English. But I think you may get insight how to use this way to translate into English or other language... I'm using japanese-korean translation engine called "EzTransXP" and its invoker "CliphookerEX!". If you want to use other translator like Japanese-English translator(I can't remember its name. Atlas or something?), please google it yourself. Actually, I don't know how to handle those translators.
Anyway, you have to prepare following requirements to hook with AGTH :
#. Requirements
- SchoolDays Original DVD
- SchoolDays 1.11 patch (Necessary!)
- CliphookerEX! v3.0.57 [http://lolitype.net]
- AGTH v2006.11 [http://agthook.googlepages.com]
- JapanTextReviser v0.1 [you'll find it in this blog]
- Translation engine installed like ezTransXP
#. How to setup
0. You need to install translation engine like ezTransXP in order to translate the hooked text. It depends on your own.. Try googling, or whatever. Please remember that the ezTransXP can only translate japanese<>korean.
1. Install SchoolDays first. Download and patch with Schooldays v1.11 patch at the Overflow website. If you don't patch, you'll never hook the program.
2. Download and install CliphookerEX!(CHE).
3. Download and install AGTH. I recommend install it at the same folder as CliphookerEX! installed before.
4. Download and install AgthAttach v0.1 and JapanTextReviser v0.3 at my blog. Extract it at the same folder as I told above.
#. Setting environment and run the program
1. Run SchoolDays.(SD.exe). Proceed to the title menu.
2. Run CHE. At the first time, CHE will ask in which process you want to attach AGTH. Select "SD.exe" and type "/HW-20@30270:FILMEngine.gem:" in the Additional option box. Press "Attach" to run.
2. Check "Clipboard Monitoring", "Translation" option in the menu and change charset to "SHIFT-JIS" in Advanced setting menu.
3. After you pressed "Attach" button, you may see AGTH as shown in the following. Select approapriate [UserHookW] which seems captured japanese text best-showing.
4. Run JTR v0.1. If you check "Delayed paste" at the dialog, you can sync the subtitle and hooked strings. Minimize JTR for your convenience.
5. Now enjoy SchoolDays! You'll see hooked text are automatically translated as shown in the following.
#. Troubleshooting
1. You will see the texts are hooked "one step prior" all the times because SD engine uses double-buffering feature. You can fix it by activating JTR's "Delayed Paste" function.
2. You'll see popup message about memory access violation when you close SD. The reason is that hooking in dynamically loaded DLL is very unstable. I don't know how to fix the problem but I think it might be Okay.
3. Lastly, please, please don't ask me like "Where can I download SD?".
이올린에 북마크하기
이올린에 추천하기
