Announcement

Collapse

Please use the Hentai ID thread for all hentai ID requests. Click me for link!

The Identification Thread is Here:

http://www.hongfire.com/forum/showthread.php/447081
See more
See less

Interactive Text Hooker - new text extraction tool

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Interactive Text Hooker - new text extraction tool

    Interactive Text Hooker (ITH) is a tool to help you extract text from Japanese games.
    It works very like AGTH. if you are familiar with AGTH you will find it easy to work with ITH.
    Right now ITH is not quite stable and under developing. Please help me test it and report any bugs you find.
    Also any suggestion about new features or improvement is welcome.
    Latest ITH 2.3 (2011.7.9). ITH64 1.0 (2011.5.15). 3.0 test.
    Latest engine support module(10.15).


    Manual & Tutorials
    User manual: http://code.google.com/p/interactive...iki/UserManual
    English: http://craneanime.blogspot.com/2011/01/tutorial-ith-interactive-text-hooker.html
    Korean: http://blog.naver.com/foolmaker/30098345502
    Vietnamese: http://vnsharing.net/forum/showthread.php?t=235841
    Just googled these tutorials out. Thanks to the authors of these tutorials. I'm just too lazy to write one.
    If you also write tutorial please send me the link and I will add it here.
    Chinese(need register): http://bbs.sumisora.org/read.php?tid=10997379
    Written by me. Also ITH Chinese version can be found here.

    Links:
    ITH at Google code: http://code.google.com/p/interactive-text-hooker/
    ITH at Google group: http://groups.google.com/group/interactive-text-hooker
    AGTH main thread by Setx: http://www.hongfire.com/forum/showthread.php?t=36807
    AGTH tutorial by fhc: http://www.hongfire.com/forum/showthread.php?t=59189
    Advanced AGTH Video Tutorials by Freaka: http://www.hongfire.com/forum/showthread.php?t=80401
    Translation Aggregator by ScumSuckingPig: http://www.hongfire.com/forum/showthread.php?t=94395
    VirusTotal: http://www.virustotal.com/

    System requirement:
    Intel Pentium4 or later processor. Recommend OS is Windows XP or later.
    Technically your processor must support SSE2 and OS support common control library 6.
    ITH is also assumed to work in 64-bit Windows.

    Basic usage:
    Spoiler

    Please put ITH.exe, ITH.dll and ITH_engine.dll in the same folder.
    To let ITH extract text from a game, click on the process button,
    it will open a dialog with a process list. Find your target and click attach then.
    When you don't want to extract more text from that game, click detach to tell ITH stop extracting.
    After attached, the shorter drop-down list will contain the pid and name of the game you select.
    If ITH could extract some text, the longer drop down list in the main window will have more than one item.
    When you select one text will appeared in the big square.
    Every item is called a thread. Try to go through every item and find if the text is the same
    to the text in the game.

    User-defined hooks:
    Spoiler

    Also UserHook. AGTH uses this term in its thread.
    When the default hooks doesn't give you right text you want, you will need to install a user-defined hook.
    A special string is needed to inform ITH about the hook you want to install.
    This string is called H-code in AGTH terms. Usually it's game and version dependent.
    Refer to AGTH help and Freaka's video tutorial for further information.
    ITH can handle AGTH H-code, so if you have an AGTH H-code for a game, ITH will also work well for that one.
    Input this string right to the process list(the shorter drop down list) and press enter, a new hook will be installed.

    Thread window:
    Spoiler

    You can manage thread linking information and comment here. Thread linking is a mechanism to merge thread.
    Select the sender thread at the top, then select a thread in link to list.
    Click set, a link will be created to that. Notice that no cyclic link is permitted. Like 1>2>3>1.
    Link list will list all thread on this chain one by one.
    Last sentence contains the last sentence from one thread.
    Comment is some text to describe the thread.
    After you have commented some thread, its name will change in the main window.


    Hook window:
    Spoiler

    Click hook in the main window will open a dialog to help you manage hooks.
    But it is for advanced users who are familiar with H-code internal.

    H-code defined by Setx: /H[X]{A|B|W|S|Q|H}[N][data_offset[*drdo]][:sub_offset[*drdo]]@addr[:module[:{name|#ordinal}]]
    addr->Hook Address, data_offset->Data Offset (when data_offset is negative value, sub more 4 from that, e.g. -8 for EAX, but still -4 for EAX in H-code)
    *drdo->Data Indirection when after data_offset, Split Indirection when after sub_offset
    sub_offset->Split Parameter, also sub 4 when negative.
    Module/Function Base(ITH original): Here fill hash values of module and name. You enter a string in the right blank,
    click hash module/function, then hash values is calculated and filled into this 2 blanks.
    CheckBoxes on the left enable correspond function.
    CheckBoxes On the right correspond to charset option.
    A->Big Endian (ITH different from AGTH defination), B->None, W->Unicode
    S->String, Q->String&Unicode, H->Hex value, N->No context.
    Last Char(ITH original), give in string pointer and extract last char of that string.
    Click generate code you will see h-code of this hook in the bottom.
    Notice that module and name is string in AGTH h-code, but ITH can't get string back from hash.
    Click Remove Hook to remove current selected hook from target process and clear all threads from that hook.
    Click Modify Hook to modify current selected hook. In fact original hook is removed and ITH insert new hook base on parameters in hook window.


    Profile:
    Spoiler

    After attached to some process, you can add that to profile. ITH will record its path.
    If you enable auto inject in option window, ITH will monitor process and attach to that whose path has been record.
    You can also assign up to 4 user-define hook codes(h-code) to a record.
    If you enable auto insert in option window, ITH will insert these hooks after attached.
    Hook code contains module/function name will be transform into hash value.
    They represent equivalent hook. Module name is case insensitive while function name is case sensitive.
    Original : change to ! to indicate that's hash value.
    e.g. /HA4@123:foo.bar:abc -> /HA4@123!BD097770!C5840063

    On the left is a list of all games you have attached and added to profile.
    They other three boxes stores information about remote downloaded profiles.
    Click Refresh to list all profiles stored locally. You can update this list with the updater.
    Click a game on the left and click Find, ITH will find a correspond profile according to executable hash value.
    The click import to copy all information and insert hooks.
    .


    Option:
    Spoiler

    Split time: Time interval to insert line break. At least 100.
    Process delay: ITH will check one process if it's in profile. At least 50.
    If there are N processes running on your system, it takes N*PD for one round.
    This is the longest time ITH waits to attach after a process in profile launched.
    Inject delay: ITH delay attach after process in profile found. At least 1000.
    Insert delay: ITH delay insert hooks after attached. At least 200.
    Auto attach: ITH will attach to processes in profile automatically.
    Auto insert: ITH will insert hooks after attached automatically. Notice that auto insert will not work if auto attach is not enabled.
    Time unit is millisecond.
    Suppress: Enable suppress repetition function. This is the case ABCABCABC.
    Clipboard: ITH will copy the last sentence to the clipboard. Other tools which monitors clipboard will make use of it.
    Here "last sentence" means characters from right after the last line break to the current character

    Global filter: Global filter is a customizable filter that will apply to all threads.
    Currently only single character policy is implemented.
    Maybe in the future I will introduce more complex rules into ITH.
    All characters in the filter list will be filterd out before dispatch to correspond thread.
    Therefore those characters will not appear in final output.

    Full space at the beginning is by default filtered. If it's in the middle of a sentence,
    explicitly add it to global filter list.



    Miscellaneous:
    Spoiler

    Top: ITH will stay on top when pushed.
    Clear: Wiped out the text in the current thread.
    Save: Save profile for current game.
    This includes UserHooks, thread links, thread comment, and current select thread.

    Suspend/Terminate thread: You can suspend terminate some thread of some process.
    Select one thread and operation type, then click Execute.
    There's an box in the right upper corner of the process dialog.
    If you enter an function address here then operation will be proceed on all threads with the same start address.

    ITH is able to attach to multiple processes at same time, although it seems useless now.
    When you close ITH while a program, which is already attached by ITH, is still running,
    open ITH once more then ITH will automatically attached to that program.

    Link: You can type L[num1]-[num2] in the command line (without brackets, only number).
    ITH will make a link from thread num1 to thread num2.
    All text thread num1 receives will also be sent to thread num2.

    ITH will remove single character repetition, that is the case AAABBBCCC....


    ITH64:
    Spoiler

    Based on worldwide data taken during June 2010 from Windows Update 46% of Windows 7 PCs run the 64-bit edition of Windows 7.
    It's likely that more and more game engine will have a 64 bit version. Currently already one exist(CMVS64).
    Neither current ITH nor AGTH can hook 64 bit process, since they're all 32 bit program.
    ITH64 is designed to address this problem. It's native 64 bit program. Its internal architecture is reformed to fit the 64 bit environment.
    Although it's possible for ITH64 to hook 32 bit process, I want to leave that task to original ITH currently.
    In other word, ITH64 will NOT hook ANY 32 bit process. Please use original ITH instead.
    Maybe at some future point I will write a compatible layer. Then you need only ITH64 to do all your hook task.

    Usage of ITH64 is almost the same to original ITH. Only difference is about register representation in h-code.
    Original h-code has the following register map:
    EAX -> -4, ECX -> -8 ... EDI -> -20
    New 64 bit version is as this:
    RAX -> 0, RCX -> -8 ... RDI -> -38, R8-> -40 ... R15 -> -78
    It becomes zero-based and the increment is changed from 4 to 8.

    Example code for current CMVS64 engine.
    /HA-40:-48@4E050:cmvs64.exe
    This means that at 4E050 in module cmvs64, r8 contains data and r9 stores split parameter.
    Be aware of architecture difference when writing h-code for ITH64.
    I strongly recommend that new code use a base-offset style to indicate the real address.
    Not only because the address has become longer, but also to avoid problems when the target module is map into random address.


    Why ITH:
    Spoiler

    AGTH is a big success in text extraction.
    With UserHook function it can solve more than 95% current text extract issues.
    But new games usually need H-code to help AGTH working, and common users have no way to write one.
    ITH is designed to recognize much more game engines than AGTH and insert proper hooks automatically.

    1)ITH now can detect many popular game engines.
    Currently KiriKiri, BGI, RealLive, ShinaRio, CMVS, MAJIRO, rUGP, Malie, NitroPlus, Lune, QLIE,
    Apricot, CandySoft, AB2Try, Debonosu, System40, CIRCUS, AtelierKaguya, Waffle, YU-RIS,
    TinkerBell, AbelSoftware, SofthouseChara, LiveMaker, Bruns, CaramelBox, Pensil.
    More will be added later. If you find some engine ITH currently can't detect, feel free to request it here.
    I will then study that engine and try to find a way to detect it.
    General speaking ITH works well without special codes for more than 70% new released games.

    2)ITH has a graphic attach/hook insert interface. You don't need to pass parameters to ITH via cmd or link target line.

    3)ITH is able to insert multiple UserHooks into target process, while AGTH only one.

    4)ITH can join threads together as your wish(Link function), while AGTH will join many together, sometimes with useless threads.
    Since ITH is able to insert multiple UserHooks, this also means you can join text from different hooks together.
    This is useful when the text process function appears at different place.

    5)ITH can detach from process, remove/modify UserHook while the process is running.
    You don't need to restart the process when you find you have inserted wrong hooks.
    Bad hooks won't crash the process, just yield error message.
    This means you can use try-error method to guess hook code more efficiently.

    6)ITH is open source and is under developing. More features will be added to ITH in future versions.

    a) AGTH has option to hook common system routine(/X?), ITH currently only hook APIs in GDI32.dll


    IMPORTANT note:
    I have submit this program to VirusTotal, some anti-virus software report ITH as malware.
    I use NOD32 and it report nothing here. There is some aggressive technique that may be used in virus.
    ITH requires administrative privilege to function properly, means it has potential to damage your computer.
    I promise that original ITH will not
    1)spy programs other than you tell it to attach,
    2)create/modify/move/delete any files without explicit prompt, other than "ITH.pro" and "ITH.ini" resides in its folder,
    In the case of ITH64, it will create "ITH64.pro" and "ITH64.ini" respectively.
    3)create/write/delete any system registry keys,
    4)send/receive any information through network.
    Make sure you have checked hash values to ensure it is original version.

    Hash value of ITH
    Spoiler

    Hash values for current ITH.exe
    MD5 : 339360e57c9940ab33631071947a8e42
    SHA1 : f8a1b98c7b77b0b1fa45a1998bb80c0a6f34aad2
    SHA256: 540a5ec6f6d5092b1d76f96427d8cd344103b256e4526ad460 2b1a25ef1c882e

    Hash values for current ITH.dll
    MD5 : 2685073a5825725d09bb6671f99ac151
    SHA1 : 6e5cffd1886d7d131c91a6afe20244b79f3d89ac
    SHA256: 34548ec22b4e22774255b13c0ac799d13a535c03bcb84a0e4a ad3a06d454ad6e

    Hash values for ITH_engine.dll (2011.7.9)
    MD5 : 6d9cd2bf506aede1bcc40b1db8b116e0
    SHA1 : f066d124ee91de2da0dc89c864390969602aff3b
    SHA256: c61e1fe060d5bf6e69c1b70a122f51e406714e7821ea43761e 0046ad6dc505ce

    Hash values for current ITH_engine.dll (2011.10.15)
    MD5 : c027319d9f652747c2beb9be2cc0a6e7
    SHA1 : cdb6b380e859cf45c6747ac5880d2ac4896c251d
    SHA256: faca50c43ab62b2366d4b927d234dcf4522e01e369c415a9ac 9b1d27dd632d90


    Hash value of ITH64
    Spoiler

    Hash values for current ITH64.exe
    MD5 : 394b168b58e2f8da89fa73c507ea1136
    SHA1 : 412a3fdac7b9ec42bafd30f2fc2f821c25c2513d
    SHA256: 180dea1d34c23260bfbef0d529ecfdea437395d86ca8f44ac6 a1730c44a51b0d

    Hash values for current ITH64.dll
    MD5 : 523089418cc41e410f1c58f71e277b2b
    SHA1 : 251eb10d20d1083e99d2697db30d987c561bd970
    SHA256: 12073ed66c13967818b7778ce3e5ac37f0edd87f4e8adf9b6c 4c02a4849b0511

    Hash values for current ITH64_engine.dll
    MD5 : 2657858b2beb04dc104adcccbb343691
    SHA1 : 6bb730cbfc7715d5b8c5f56c008923d6d25a5ebf
    SHA256: 78b4ae62b19e04bce75ba2bdd5bf7ca3c1d5db3e95df53db9e 8c2117329e6a35


    About the source:
    Spoiler

    From 2.2 source code of ITH is under GPLv3. Older source is no longer available.
    ITH is written in C++ and inline assembly, compiled by VC10.0.
    A ready-for-compile project pack is also uploaded. Please get ntdll.lib and msvcrt.lib from latest WDK.
    Since I begin develop ITH with VS10.0 so maybe it's inconvenient for those under 10.0.
    I develop this program in WIN7 64 so it's assumed to work well under both 32 and 64bit OS.
    Attached Files
    Last edited by kaosu; 03-02-2012, 08:27 PM.
    sigpic
    Got stuck at AGTH H-codes? Have a try of ITH, supports more game engine.
    http://www.hongfire.com/forum/showthread.php?t=208860

  • #61
    @Kaosu
    Also requesting for save setting for :
    - Auto copy in Option menu
    - Window size and position
    It's kinda boring to always setting it everytime start the program ^^;;;

    Comment


    • #62
      I noticed that many people got a missing process issue.
      Here's a test version. ITH will give warning message if it isn't granted sufficient privilege.
      Also type /p[n] in AGTH style in the command line is another approach.
      New features not ready here.

      @errzotl80: That's reasonable and seems not difficult to implement.
      I'll extend option dialog in the next version.
      sigpic
      Got stuck at AGTH H-codes? Have a try of ITH, supports more game engine.
      http://www.hongfire.com/forum/showthread.php?t=208860

      Comment


      • #63
        Weird It's dont work on my laptop T_T, I use ITH to play oresama no ragnarock from AkabesoftTRY but I got engine fail message

        When I use it on my laptop (VISTA OS) :
        Inject process 6740.
        Module base 08F30000
        6740: ragna.exe6740: Pipe connected.
        6740: 000033546740: 00400000:004bd000
        6740: 105C3DAC64930AF99F4F502F8C0F32A7
        6740: Exception raised during hook processing.
        6740: Exception code: 0xC0000005
        6740: Exception offset: 0x0000110A:ITH_engine.dll
        6740: 790C10006740: Fail to identify engine type
        And when i used it on my computer it's got work (XP OS)
        Inject process 4208. Module base 00B80000
        4208: ragna.exe
        4208: Pipe connected.
        4208: 00002CE9
        4208: 00400000:004bd000
        4208: 0D68C20E9264E431FD1BBF7998C5360E
        4208: DotNet1
        4208: Additional hook inserted.
        4208: Insert address 0x792CA513.
        4208: Initialized successfully
        Or maybe it's just my Vista OS that epic fail?
        Last edited by Diozzz; 12-04-2010, 10:20 PM.

        Comment


        • #64
          I want to request a option to save all game hook options in a "name of the game profile" in the ITH and load it automatically every time that I start the game.

          For instance, I am very lazy, I like to use AGTH and add the h-code and the /W option with the address of the hook text option that I want, in few words, I just begin the game and AGTH is already configured to run with the game already with the correct text hook already choose.

          ITH is different, every time that I need to play, I need:

          1- choose the exe file to hook.

          2- afther choose the exe file to hook, also show another option to hook ( like some dll related to the exe file )

          3- I need to add the h-code ( I am playing しすたー・すきーむ2 now, that need h-code )

          4- I need to choose the hook option that have the text that I want to read.

          5- I need to chose the option to copy to clipboard automatically.

          This is a lot of work to do every time that I want to start a game.

          I want to save everything in a profile named "しすたー・すきーむ2" and when I start the game, every option comes loaded and I just need to play.

          You think that this is possible, kaosu ?
          Last edited by fhc; 12-07-2010, 03:32 AM.
          ...

          Comment


          • #65
            @Diozzz: I didn't test that game on VISTA.
            Most possible problem might be the difference between .NET versions.
            Actually is the mscorlib.ni.dll. I will setup a VISTA test environment later to see what's going on.
            It will be great help if you can send me a copy of your mscorlib.ni.dll.

            @fhc: Of course possible. Current ITH(1.6) can automatically do the first 3 steps.
            I suggest to have a look at profile function.
            You will find "profile" button in the main window and "add to profile" in the process window.
            The remain 2 will be done in the next version.
            Actually many people here have request that feature and I currently focus on this issue.
            Last edited by kaosu; 12-07-2010, 06:12 AM.
            sigpic
            Got stuck at AGTH H-codes? Have a try of ITH, supports more game engine.
            http://www.hongfire.com/forum/showthread.php?t=208860

            Comment


            • #66
              Originally posted by kaosu View Post
              @fhc: Of course possible. Current ITH(1.6) can automatically do the first 3 steps.
              I suggest to have a look at profile function.
              You will find "profile" button in the main window and "add to profile" in the process window.
              The remain 2 will be done in the next version.
              Actually many people here have request that feature and I currently focus on this issue.
              Oh, thank you very much ! I not noticed the profile feature.

              I tested it now with しすたー・すきーむ2 and is working nicely.
              ...

              Comment


              • #67
                My dream is to one day to send AGTH to the trash and never use it anymore, and I want to use only ITH forever instead of AGTH.

                I hate AGTH because of the h-codes, and recently I begin to hate it more because of the recent trouble of me with AGTH (link)

                I hate ollydbg and hex codes. I never want to have any contact with these devilish things anymore.

                I already tested ITH with some games that need a h-code and some of these games are hooked with ITH without to need a h-code. Then, The progress of ITH is on the right way.

                Then, my dream of someday ITH surpass AGTH completely is very near, since ITH is improving a lot in every new version.

                Unfortunatelly, I noticed a very bad thing. I guess, I not sure because I admit that I not mastered the usage of ITH fully yet, but, I think ITH not have the option "/X3" or "/V"

                I admit that I not sure If "/V" is really important, since I used it only with one game my whole life, but, /X3 is very much important.

                I already played several games that have some sentence troubles that /X3 fix nicely.

                for instance, the game 春待蜻蛉
                http://www.hongfire.com/forum/showthread.php?t=227893

                With ITH, or with AGTH without /X3, happens the trouble of the last sentence comes mixed with the actual sentence. See screenshot:



                However, with AGTH using /X3, this trouble is fixed nicely. See:



                This not happens only with this game. I already see similar troubles with others games ( but, I not remember the names of the others games anymore to test it now with ITH ).

                Then, I think, in my humble opinion, that /X3 need to be added in ITH and maybe /V too, besides of the fact that I not sure If /V is really useful. I remember that I already used /V with a certain game a long time ago, but, I not remember which game, then, I cannot test If this game work with ITH without /V.

                You think that is possible to add /X3 and /V feature in ITH, kaosu ?
                Attached Files
                ...

                Comment


                • #68
                  @fhc: Thanks for your suggestion. Add /X3 and /V equivalent hook is easy,
                  but there is something need to be considered seriously first.
                  The reason I haven't added these hook so far is that /X3 or /V usually generate a lot of junk threads.
                  This is a waste of system resource and may sometime have significant impact on speed of your PC.
                  This is also why AGTH doesn't insert these hooks by default, I think.
                  Default hook is in fact the same to user-defined hooks for internal mechanism.
                  If you are interested in it, you can just generated codes of these hook using ITH.
                  I want to design a general method, that is able to generate a special hook code
                  according to the selected thread. This hook only catch the text you selected
                  and have nothing to do with other after ITH removed the original hook.
                  Fortunately, its technical internal is not too complex.
                  After I have finished this feature, a lot of more additional hook can be find and
                  as a result, the default detection rate will be raised, towards the ultimate goal of 100%(although it seems impossible).
                  Last edited by kaosu; 12-08-2010, 06:26 PM.
                  sigpic
                  Got stuck at AGTH H-codes? Have a try of ITH, supports more game engine.
                  http://www.hongfire.com/forum/showthread.php?t=208860

                  Comment


                  • #69
                    Yes, kaosu, you are right, /X3 really make my system slow, but, is better than to wait for a h-code that for sure never will be made.

                    You not noticed ? The number of people that make h-codes decreased considerably. I not want to mention any name, but, some people that already make a lot of h-codes in the past not make h-codes anymore, and you can notice several games that need h-code and the code was requested in AGTH thread and until nowadays, no one make the necessary h-code for these games.

                    Then, still several games that need a h-code and this was requested in AGTH thread, but, no one cares to make h-codes for these games.

                    Then, I have no hope anymore about AGTH. For sure, soon, no one will be making h-codes anymore.

                    Since I cannot live anymore without hentai games, and since is impossible for me to learn japanese or learn how to make h-codes, my last hope is ITH.

                    ITH is more than just a tool, is the last hope to keep the maintenance of my fun in the future.

                    Then, I need something that replaced AGTH, then, only ITH can do it.

                    Then, you think that is possible to add in ITH a option to DELETE the junk threads and SAVE only the USEFUL threads when we use /X3 ?

                    And when we close and start the game again, ITH can load our save options and delete automatically all junk threads and keep only the correctly thread that I want ?

                    For instance, playing 春待蜻蛉 using /X3, is loaded more than 30 new threads, but, I use only the "0x00404155:00000000 lstrcpyA", then, I use /X3 /W404155 to choose this option automatically, then, I never need to choose "0x00404155:00000000 lstrcpyA" again, since this is choose automatically, then, WHY not make a option to DELETE the others thread that we are not using ?

                    Will be so nice just to choose the junk thread and press the DELETE key to rid of this thread forever. And, of course, to save it for the next time that we start the game not need to delete the same thread AGAIN.

                    You think that is possible to add the feature of to delete useless threads and save these options in ITH, kaosu ?
                    Last edited by fhc; 12-09-2010, 12:13 PM.
                    ...

                    Comment


                    • #70
                      My approach is to remove hook not just delete thread.
                      Technically, there is significant difference between the 2 operation.
                      If you want to have a in-depth understanding of ITH's mechanism,
                      please continue to read the following paragraph. I'm not sure if it's quite confusing to you
                      just believe it will be done in a nice way sooner or later. I need some time to design this method carefully.

                      I first want to clear the relation between thread and hook here.
                      As you can see from the main window, every thread's name has the following format.
                      ThreadNumberID:HookAddress:ReturnAddress:SplitParameter
                      Hook is something inserted into the target program, while thread is maintained by ITH.
                      As the program hit the hook, hook catch the text and send it back together with some
                      other information(HookAddress,ReturnAddress,SplitParamet er).
                      The catch and send back operation consumes much time. It's this operation slows down the target program.
                      If the hook is hit very frequently, the program may even freeze.
                      One hook has unique HookAddress. But it can generate many thread by sending back different ReturnAddress and SplitParameter.
                      Also it may generate no thread, if the hook is never hit.
                      Just delete a thread or filter other out is easy, but it has nothing to do with the hook though.
                      By removing the hook however, the program will run without any performance penalty.
                      sigpic
                      Got stuck at AGTH H-codes? Have a try of ITH, supports more game engine.
                      http://www.hongfire.com/forum/showthread.php?t=208860

                      Comment


                      • #71
                        Originally posted by kaosu View Post
                        My approach is to remove hook not just delete thread.
                        Technically, there is significant difference between the 2 operation.
                        If you want to have a in-depth understanding of ITH's mechanism,
                        please continue to read the following paragraph. I'm not sure if it's quite confusing to you
                        just believe it will be done in a nice way sooner or later. I need some time to design this method carefully.

                        I first want to clear the relation between thread and hook here.
                        As you can see from the main window, every thread's name has the following format.
                        ThreadNumberID:HookAddress:ReturnAddress:SplitParameter
                        Hook is something inserted into the target program, while thread is maintained by ITH.
                        As the program hit the hook, hook catch the text and send it back together with some
                        other information(HookAddress,ReturnAddress,SplitParamet er).
                        The catch and send back operation consumes much time. It's this operation slows down the target program.
                        If the hook is hit very frequently, the program may even freeze.
                        One hook has unique HookAddress. But it can generate many thread by sending back different ReturnAddress and SplitParameter.
                        Also it may generate no thread, if the hook is never hit.
                        Just delete a thread or filter other out is easy, but it has nothing to do with the hook though.
                        By removing the hook however, the program will run without any performance penalty.
                        I admit that I did not understand it well, but, I trust you and I know that you'll do the best for us all.

                        Thank you very much. I will wait patiently for your new update. Of course, you not need to hurry.
                        ...

                        Comment


                        • #72
                          Excellent program, just tested in mashiroiro and Nanairo Kouro ^^
                          Keep up your good work >.<
                          Ja ne and thx

                          Comment


                          • #73
                            I've tested some H-Codes that needs using with /pn in ITH and they worked greatly!
                            These games are:
                            - [Alice Soft] Miko Sanctuary
                            - [Alice Soft] Tsuma Shibori
                            - [SAGA PLANETS] Natsu Yume Nagisa
                            - [SAGA PLANETS] Kisaragi-GOLDSTAR-
                            - [Light] Tapestry -you will meet yourself

                            There's one great game that does not work with ITH/ AGTH in Windows 7 (maybe Vista, too) without the proper H-Code. It's Moshimo Ashita ga Hare Naraba (もしも明日が晴れならば), one of the best nakige that I've ever played. Unfortunately, the H-Codes made for this game are only XP-compatible and even in windows XP, only one in three codes listed in mastress's site works. I played this game by using VMware to simulate XP environment but it's hard to persuade my friends to enjoy this masterpiece because "installing VMware just to play a Visual Novel is quite... silly >"<", or so they said (even I think this way after finishing this game ).

                            Moshiraba uses a rather old engine (sysAdv - 2005) and I doubt that that many games nowadays still use this engine.
                            The working (Xp only) H-Code is /HSNC@038E164A (use with /kf1:200 and /pn)

                            @kaosu: BTW, there's a Chinese localisation patch for this game. If you have never played this game, please give it a try. Believe me, you won't be disappointed
                            Last edited by kimi ga tame; 12-17-2010, 05:56 PM.

                            Comment


                            • #74
                              Originally posted by kimi ga tame View Post
                              I've tested some H-Codes that needs using with /pn in ITH and they worked greatly!
                              These games are:
                              - [Alice Soft] Miko Sanctuary
                              - [Alice Soft] Tsuma Shibori
                              - [SAGA PLANETS] Natsu Yume Nagisa
                              - [SAGA PLANETS] Kisaragi-GOLDSTAR-
                              - [Light] Tapestry -you will meet yourself

                              There's one great game that does not work with ITH/ AGTH in Windows 7 (maybe Vista, too) without the proper H-Code. It's Moshimo Ashita ga Hare Naraba (もしも明日が晴れならば), one of the best nakige that I've ever played. Unfortunately, the H-Codes made for this game are only XP-compatible and even in windows XP, only one in three codes listed in mastress's site works. I played this game by using VMware to simulate XP environment but it's hard to persuade my friends to enjoy this masterpiece because "installing VMware just to play a Visual Novel is quite... silly >"<", or so they said (even I think this way after finishing this game ).

                              Moshiraba uses a rather old engine (sysAdv - 2005) and I doubt that that many games nowadays still use this engine.
                              The working (Xp only) H-Code is /HSNC@038E164A (use with /kf1:200 and /pn)

                              BTW, there's a Chinese localisation patch for this game. If you have never played this game, please give it a try. Believe me, you won't be disappointed
                              I just tried AGTH with Moshiraba cause I have it on my backlog. I'm using VISTA 32bits and even though any of the /H codes work using /X will give you a thread that captures all the text shown but, it has a flaw. It will also capture the last shown text along with the new one.
                              Currently Playing: いろとりどりのセカイ
                              Currently Downloading: Nothing at the Moment
                              Currently Seeding: いろとりどりのセカイ / Rewrite

                              Comment


                              • #75
                                Originally posted by johnishida View Post
                                I just tried AGTH with Moshiraba cause I have it on my backlog. I'm using VISTA 32bits and even though any of the /H codes work using /X will give you a thread that captures all the text shown but, it has a flaw. It will also capture the last shown text along with the new one.
                                Thanks for the tips but this flaw really slowed down my PC's performance because Atlas always had to translate a bunch of text.
                                It reminds me of Kimi no Nagori wa Shizuka ni Yurete, with which AGTH has the same problem.
                                That game uses Unisonshift's new engine that may be used in their Flyable Candy Heart

                                I hope future release of ITH will fix this problem

                                BTW, sometimes ITH crashes when I use it to hook text from Tsuma Shibori (system40 engine).

                                Spoiler

                                Comment

                                Working...
                                X