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.

  • sorry ozdog, the game is called 孕ら☆みん!! ~催眠中だし子づくり宣言~ and here is the problem:

    AGTH shows:

    日名子

    「どうしたの?」

    ATLAS translation: [Hinako]

    As you can see it only captures the name and not the dialogue that is inside the brackets, and it's the same for the rest of the game. Maybe it's ignoring the brackets, thus ignoring all the dialogue. I don't know if the problem is the AGTH or the ATLAS.

    Comment


    • Originally posted by undertaker View Post
      AGTH shows:

      日名子

      「どうしたの?」

      ATLAS translation: [Hinako]
      That's odd. If agth captures both line, Atlas should, at the very least, be able to translate the last line. I would check the Atlas panel to see if there are any missing texts compared to the agth panel. Try setting the text speed to maximum, or under the option menu in the agth panel, increase the time in the auto copy to clipboard after xx ms.


      Couple of h code for this week's releases:

      [TERIOS] はっぴぃプリンセス~Another Fairytale~
      Happy Princess ~Another Fairytale~
      http://www.hongfire.com/forum/showthread.php?t=87714
      /HSNC@414100

      [Light] あるすまぐな!-ARS:MAGNA-
      Romaji: Arusu Maguna! -ARS:MAGNA-
      http://www.hongfire.com/forum/showthread.php?t=87703
      /HW-C@47735C

      aoyu18 posted a h code for エインズワースの魔物たち
      [アイル] エインズワースの魔物たち
      [ail] Ainsworth no Mamono-tachi
      http://www.hongfire.com/forum/showthread.php?t=87776
      Dummycut version: http://www.hongfire.com/forum/showthread.php?t=87787
      /HB-C*0@42DB4B
      Last edited by ozdog; 07-26-2008, 07:59 PM.

      Comment


      • You were right, I just increased the speed in agth and problem solved. THANK YOU VERY MUCH ozdog.

        Comment


        • I dont know why it dont work =/

          Well.. i have tried all the ways i could but seems like i don't get it =/ the route for me is C:\AGTH\agth.exe /C /L "C:\Program Files\Conboku\Conboku\konboku.exe" but when i change the "Target" it don't display any icon it only shows a "kind of windows screen" and when i run the game only the AGTH, but not the game =/ I'm a bit silly in these things could you explain me what am i doing wrong?

          If you find any dead links please PM

          Comment


          • First of all, I would like to thank Freaka for once again helping with my previous problem. Kudos to you my friend. Alas...

            Surprise...I need help once again, hopefully the last time. I finished my Ra-Sen ''collection'' by downloading the Magical Angel Misaki 1 torrent from Hongfire. I managed to bypass the installation problem (Misaki.exe contained a worm), but I can't seem to hook AGTH to the game at all...everytime I hook AGTH to the game, the game window loads, then the agth window does too, but only for a split second. It then disappears...I was wondering if there was any way to force the AGTH window to hang around and hook the text. Here is the torrent link in question:

            http://www.hongfire.com/forum/attach...8&d=1214663578

            Any help would be, once again, greatly appreciated.

            Originally posted by nembapro View Post
            Well.. i have tried all the ways i could but seems like i don't get it =/ the route for me is C:\AGTH\agth.exe /C /L "C:\Program Files\Conboku\Conboku\konboku.exe" but when i change the "Target" it don't display any icon it only shows a "kind of windows screen" and when i run the game only the AGTH, but not the game =/ I'm a bit silly in these things could you explain me what am i doing wrong?
            I don't know much about AGTH myself, but I see you use the /L command for applocal...did you try chaning your OS' language to Japanese? Applocal made agth hard to manage for me. I'm sorry if it's stupid, it's all I could come up with =/


            *EDIT* I finally managed to hook the program with agth by using the command /p(processID)! But now I need the /h code again lol...
            Last edited by Ghaleon2133; 07-28-2008, 04:07 PM.
            (\ /)
            (0.o)
            (><)
            /_|_\ Copy the bunny to your sig and help him achieve world domination

            Comment


            • But if i change my OS' to Japanese some programs wont work, i would like to know if there is any other way to do it, but if there is not i'll have to. Thanks in advance

              If you find any dead links please PM

              Comment


              • Well unfortunately it's either that or you use Mircosoft Applocate to temporary make it usable. I mean it's actually temporary. Although changing the settings to Japanese is much better for you and the game you're planning to play in Japanese benefit. Also you can always change it back to English when you're done playing the game. It only takes about 30 secs to 10 minutes depending how long your computer loads up after being restarted.

                I'm still can't find an avatar that I would like to produce. But I'll probably make one when I'm extremely bored.

                Comment


                • I have a problem running AGTH with Popotan game.
                  Without AGTH it works but with AGTH it leads to game crush.
                  This is my first expirience using AGTH so probably I do something wrong.
                  Maybe there was such information in this thread but I'm to lazy to read more then 200 pages)

                  Comment


                  • Originally posted by Ghaleon2133 View Post
                    I finished my Ra-Sen ''collection'' by downloading the Magical Angel Misaki 1 torrent from Hongfire. I managed to bypass the installation problem (Misaki.exe contained a worm), but I can't seem to hook AGTH to the game at all...everytime I hook AGTH to the game, the game window loads, then the agth window does too, but only for a split second. It then disappears...I was wondering if there was any way to force the AGTH window to hang around and hook the text. Here is the torrent link in question:

                    http://www.hongfire.com/forum/attach...8&d=1214663578

                    Any help would be, once again, greatly appreciated.
                    For the heck of it, I went ahead and took a look at this game. The way the game runs is weird. You start the game with misaki.exe, but that acts like a launcher to misaki2.exe, which is the thing that shows up in the process list.

                    Anyway, you'll need to use the /pn option for this game. After launching the game first without agth, run agth with this h code:
                    /HA-C@41173C /pnmisaki2.exe

                    The texts in the choice selection scene are not in the Userhook, but in one of the ExtTextOutA thread, and they appear to fine, without any missing texts.

                    Comment


                    • For the game:

                      [RUNE] Yuki Nochi, Fururu!: (fururu_v101) /HA8*0@47A570 or /HAN2C@47CED6

                      these /h commands don't work, unfortunatly. Yes I applied the patch to update to v101 and no its still not hooking the proper text. I tried the /x and the /v command and still no luck. Any help here?

                      Game can be found here:
                      http://www.hongfire.com/forum/showth...highlight=RUNE

                      Comment


                      • Originally posted by Mongolfier View Post
                        I have a problem running AGTH with Popotan game.
                        Without AGTH it works but with AGTH it leads to game crush.
                        This is my first expirience using AGTH so probably I do something wrong.
                        Maybe there was such information in this thread but I'm to lazy to read more then 200 pages)
                        Some games can only be hooked by using the /pn or /p option. I'm not sure if that's the case with Popotan, since I don't have the game myself. Anyway, you can try using /pn option to hook the game. You'll have to run the game first without agth, then run agth with the /pn(Game exe file).

                        For example, say that game exe file is named Popotan.exe, your target line using the /pn option would look like this, assuming the agth exe is in the C:\agth directory:
                        "C:\agth\agth.exe" /C /pnPoptan.exe

                        Originally posted by Haiyami View Post
                        For the game:

                        [RUNE] Yuki Nochi, Fururu!: (fururu_v101) /HA8*0@47A570 or /HAN2C@47CED6

                        these /h commands don't work, unfortunatly. Yes I applied the patch to update to v101 and no its still not hooking the proper text. I tried the /x and the /v command and still no luck. Any help here?
                        Did you see any Userhook thread in agth? Sometimes, in my case, agth doesn't automatically jump to the userhook thread.



                        More h code goodies:
                        Title: 恥淫ノ教室~女教師とその娘に××する~
                        Chiin no Kyoushitsu ~Jokyoushi to Sono Musume ni xx Suru~
                        Company: erogehonpo
                        /HA4@418FD8
                        http://www.hongfire.com/forum/showthread.php?t=88148

                        Title: 春色桜瀬
                        Haruiro Ouse
                        Company: Purple Software
                        http://www.hongfire.com/forum/showthread.php?t=88020
                        /HA-4@435910

                        Comment


                        • question:

                          Is there a program like atlas that will work with agth but translates the japanese into chinese?

                          Comment


                          • Has anyone gotten AGTH to work with Little Busters!EX (ecstasy) yet? Whenever I try to open both programs it says "Error: can't install hook".

                            Comment


                            • Re: [RUNE] Yuki Nochi, Fururu!

                              I figured out what went wrong. Both of those codes work. It's just that this game requires the /pn option to work. Seeing that another game from RUNE, Shishunki, also requires the /pn option gave me the clue. So the code should be :
                              (fururu_v101) /HA8*0@47A570 /pnfururu.exe or /HAN2C@47CED6 /pnfururu.exe

                              Comment


                              • Does anyone know the code for "タユタマ -kiss on my deity-"?
                                Thanks!

                                Edit: nvm I found it.
                                Last edited by Rikto; 08-03-2008, 07:45 AM.
                                何でも先頭に“男の”をつけるとカ コ良いぞ。

                                Comment

                                Working...
                                X