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

AGTH - text extraction tool for games translation

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AGTH - text extraction tool for games translation

    Current AGTH version: 2011.5.9

    Before asking something make sure you've read this first post, guides and searched in this thread.


    Related links

    AGTH home site: http://sites.google.com/site/agthook/

    Guide by mastress: http://blgames.proboards25.com/index...ead=1141106731

    Screenshot guide 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

    Itadaki (external toolset for adding furigana (reading) to kanji): http://www.hongfire.com/forum/showthread.php?t=75958

    Translation Aggregator (tool for querying many translation engines): http://www.hongfire.com/forum/showthread.php?t=94395



    AGTH general information

    AGTH is a tool for capturing text from running programs. Main purpose - extracting text from japanese games for translation.

    AGTH requires Windows 2000 or newer NT-based system, x64 and server variants are also supported. Recommended operation system - Windows 2003 and newer (yes, some features won't work on XP). With Vista/Win7 you would likely want to run AGTH with elevated rights or disable UAC.


    Running program under AGTH

    AGTH consists of hook module agth.dll and loader agth.exe.
    To load application - pass its name to agth.exe as command line argument.

    Example for running from shortcut:
    1) Create shortcut for game.
    2) Open properties of created shortcut. In "Target" field will be something like
    Code:
    "C:\Games\Maou no Musume-tachi\twins.exe"
    3) Append to the start of "Target" field full path to where you extracted AGTH, so it will be like
    Code:
    "C:\AGTH\agth.exe" "C:\Games\Maou no Musume-tachi\twins.exe"
    4) Make sure that "Start in" filed hasn't changed after you changed the "Target" and there is space between AGTH and game exe paths.
    5) Run game from this shortcut.


    Before name of game exe you can specify some options for AGTH. Each option must be separated by spaces from both sides.

    Example of running the same game but also automaticaly copy captured text to clipboard:
    Code:
    "C:\AGTH\agth.exe" /C "C:\Games\Maou no Musume-tachi\twins.exe"

    Working with loaded AGTH

    After load AGTH will create its window, where it will show captured text.

    AGTH separetes text into several 'text threads' based on 'context' (to avoid mess from mixing text of game, menu, title...).
    Displayed text thread could be chosen by drop-down list in the upper part of AGTH window. As game runs, new text threads could be found and added to list.

    If you close AGTH window it will not detach it's hook from the running applications, so if AGTH is started again it will continue to hook the text, hook options will be unchaged too.


    Additional features

    AGTH can try to correct locale of programs - useful for running japanese games with system locale set to non-japanese.

    /R option tries to correct locale the AGTH-way - minor visual glitches are possible, but overall program should run like started on system with specified locale.
    /L option works exactly as running program under AppLocale (also this option requires installed AppLocale).

    Both options can be used together.

    AGTH can be used just for fixing locale without any text hooking.
    Example of starting QuickATLAS with locale overriden to japanese (useful in case when you see only '?????' in it instead of characters):
    Code:
    C:\AGTH\agth.exe /L /NH "C:\Program Files\Atlas\QuickATLAS.exe"
    If you can't find useful text - try options /X3 and/or /V with loading by /P

    Recent changes

    2011.5.9
    • Added new type of user hook: Code.
    • Hardware hooks now also work on 32-bit XP SP3.
    • Improved /R override, now it should be able to run InnoSetup installers.
    • Added symbol '◇' to default filtering.
    • Removed user hook type: Hex.

    2011.4.21
    • Added support for LiveMaker engine.
    • Added support for IronGameSystem engine.
    • Updated KiriKiri support.
    • Updated RealLive support.

    2011.4.18
    • ASLR support, can be disabled with ':' at the end of user hook.
    • Improved /R override, just /R performs more aggressive process 'japanization' than /R411
    • Updated RealLive support.

    2011.4.16
    • Locale override support for Win7 (/R option).
    • Internal threading optimizations.
    Attached Files
    Last edited by Setx; 05-09-2011, 04:42 AM.

  • Hi, can anyone help me with a /h-code for the game [011102][apricot] deep voice? I could get partial characters with /x3 and /v options but not the full sentences. I guess it has font caching problem or something but I don't know how to fix it. Thanks very much in advance!
    Please There's a torrent for apricot collection that includes this game. I could try to upload it if necessary. It might take a while though.

    Comment


    • Originally posted by Flex151285 View Post
      ITH v3 not support
      I'll try with AGTH
      Thanks
      yeah, regrettably ith doesn't work with this game so we're stuck with agth

      Comment


      • I want to know [SAGA PLANETS] カルマルカ*サークル 体験版 (karumaruka_circle_trial) h code. please..
        http://sagaplanets.product.co.jp/wor.../download.html

        Comment


        • Please, requesting code for [tamamo] 冒険者の町を作ろう!2 thanks

          Comment


          • Originally posted by khj156 View Post
            I want to know [SAGA PLANETS] カルマルカ*サークル 体験版 (karumaruka_circle_trial) h code. please..
            http://sagaplanets.product.co.jp/wor.../download.html
            http://tieba.baidu.com/p/2531786952
            The answer is in "3楼"

            Comment


            • Since I just got into some Eroge games, I figured Id check this thread out since it talked about reading what was being said in Japanese. So I apologize if I ask the noobish questions which have most likely been answered time and time again in this 600+ page thread.

              Got the AGTH to run with the game Im playing on startup, so Im passed that. And when the text appears in the ingame dialogue, it does appear on the AGTH thing, but the text seems to always be a lot longer and bigger than what the actual dialogue was said. The Translation Aggregator seems to indicate that its repeating words a lot. So Im wondering if there is something on my end I could do to fix this.

              I previously had problem with the AGTH endlessly repeating itself, but I solved that problem I think when I clicked the "Suppress repetition of phrases" so at the moment just need to fix the little bit of repeating of words.

              I probably will have future questions after this one, so if somebody could help Id appreciate it

              Edit: The game by the way is Injoku Inkou Kaihatsu from the company Erogos
              Last edited by Superluccix; 08-15-2013, 05:25 PM.

              Comment


              • Originally posted by Superluccix View Post
                I previously had problem with the AGTH endlessly repeating itself, but I solved that problem I think when I clicked the "Suppress repetition of phrases" so at the moment just need to fix the little bit of repeating of words.
                Can't say anything about this specific game (don't have it to test)... Usually that depends on type of repeating and (again) usually agth's 'suppress repetition' should work for all these situations.
                What you can try in this situation :
                1. Go to game options and set text speed to max or instant. Sometimes the text is repeated because it appears slowly and this fixes it
                2. Try tinkering with agth's options to the right of 'suppression of repetituon' checkbox. They control how forcibly agth removes extra text, it may help to set first number to 1, or it could make things even worse... Basically it's all trial and error since there's no universal always-working setting

                Comment


                • Am I missing something or no one still came up with an hcode for 君と彼女と彼女の恋。 yet?

                  Comment


                  • Is there a hcode for 電車内でなう ([130618] [WAFFLE] Denshanai de Now)?

                    Comment


                    • Has anyone made a hcode for 妻みぐい2 ダウンロード版, the download edition? The hcode for the regular one doesn't work.

                      Comment


                      • looking for a hcode for Title :THE レイプ ~三姉妹監禁陵辱~
                        Romaji : THE reipu ~ sanshimai kankin ryou joku ~


                        http://www.dlsite.com/maniax/work/=/.../RJ110780.html

                        game has no text speed options that i found

                        Comment


                        • I want to request H code for Dot Kareshi-We're 8 bit lovers. You can download the trial here: http://rejetweb.jp/dotkare/DL/
                          Thank you very much

                          Comment


                          • Code:
                            ドットカレシ-We're 8bit Lovers!
                            /HBN-4*0@A5332:DotKareshi.exe
                            
                            Tiny×MACHINEGUN
                            /HBN-8*0@4CEB8:TinyMachinegun.exe

                            Comment


                            • Thank you so much for the h code for Tiny X Machinegun CaoNiMaGeBi >.<

                              Comment


                              • Originally posted by CaoNiMaGeBi View Post
                                Code:
                                ドットカレシ-We're 8bit Lovers!
                                /HBN-4*0@A5332:DotKareshi.exe
                                
                                Tiny×MACHINEGUN
                                /HBN-8*0@4CEB8:TinyMachinegun.exe
                                OMG so fast....thank you so much >.<

                                Comment

                                Working...
                                X