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, 05:42 AM.

  • Originally posted by stralyx View Post
    Thank you! I'll be back more than a week. I got my hands full. By the way, I'm looking forward playing this game too. So I'll post my h-code once I got it.
    Thank you! I'm waiting warmly

    Comment


    • Originally posted by Lyricale View Post
      Thank you! I'm waiting warmly
      [141128] [Chuablesoft] 残念な俺達の青春事情

      OLD 1: /HB-8@577C0:残念な俺達の青春事情。.exe

      OLD 2: /HB-8*0@8CC44:残念な俺達の青春事情。.exe

      UPDATED: /HB-8*0:-20@8CC3C:残念な俺達の青春事情。.exe

      Works in ITH. It still needs improvement. Not tested on VNR.

      I'm satisfied with the updated code. I won't update the code anymore.

      I lied... The updated H code can hook the texts properly. Have fun playing the game.
      Last edited by stralyx; 12-19-2014, 05:21 AM. Reason: updated hcode

      Comment


      • Originally posted by stralyx View Post
        /HB-8@577C0:残念な俺達の青春事情。.exe

        Works in ITH. It still needs improvement. Not tested on VNR.
        Thanks, works, can finally play ><
        Few of the characters with hiragana on top got a couple repeats, but thats np, thanks again xD

        Comment


        • Originally posted by stralyx View Post
          /HB-8@577C0:残念な俺達の青春事情。.exe

          Works in ITH. It still needs improvement. Not tested on VNR.
          You are great, I'm in love with you. Thank you very much.

          Comment


          • I updated my post. The code I made can stop the repetitions and the cutting of the sentences.

            Comment


            • [α-MODEL] 美佐子37歳 ~童貞大学生x普通の主婦~

              h-code plisss

              Comment


              • [NAVEL]月に寄りそう乙女の作法2 Append pls get me the h-code XD!! I WILL FOREVER PRAISE YOU IF YOU DO!!

                Comment


                • しすたー・すきーむ3

                  /HB-8*0:-40@4049FB

                  Is working but not the best can be made better.
                  Is to hard to make a good h-code for the game.
                  For now u get all text.

                  Comment


                  • I have some problem with ITH 3.0 (20.10.2014) and VN 彼女のセイイキ/Kanojo no Seiiki:

                    Why japaneese text displays as "롐" and how I can fix that?
                    Thanks.
                    Last edited by Foxder; 12-24-2014, 11:15 AM.

                    Comment


                    • [Leaf/AQUAPLUS] WHITE ALBUM2 ミニアフターストーリー
                      anyone?

                      Comment


                      • Need a h-code for this new game:

                        [141226] [ルナソフト] 悪堕ラビリンス ~囚われ魔王と奈落の狂人~
                        http://www.getchu.com/soft.phtml?id=832620

                        Thanks in advance.

                        Comment


                        • Originally posted by fouquet View Post
                          [Leaf/AQUAPLUS] WHITE ALBUM2 ミニアフターストーリー
                          anyone?
                          [Leaf/AQUAPLUS] WHITE ALBUM2 ミニアフターストーリー
                          /HS0:0@5166F:WA2_mas.exe

                          I have a version of ITH with the latest hook engine from VNR. I should release it, but it in the meantime here's the code found by VNR.
                          AGTH wiki

                          Comment


                          • Originally posted by Roy Mustang View Post
                            Need a h-code for this new game:

                            [141226] [ルナソフト] 悪堕ラビリンス ~囚われ魔王と奈落の狂人~
                            http://www.getchu.com/soft.phtml?id=832620

                            Thanks in advance.
                            From VNR source code:

                            [141226] [ルナソフト] 悪堕ラビリンス ~囚われ魔王と奈落の狂人~
                            /hsn8@46C5EF
                            AGTH wiki

                            Comment


                            • Need h-code for this game:

                              [エロゲーム][アトリエさくら Team.NTR] 流され妻、綾乃の“ネトラレ”報告 -おっとり妻&一晩ぶっ通し超肉食不倫セックス-

                              http://www.getchu.com/soft.phtml?id=827980

                              Comment


                              • Hi, got a difficult one here

                                [Discovery] Hitozuma Sentai Aisaiger Paipaipon!

                                [ディスカバリー] 人妻戦隊アイサイガー ぱいぱいポン 地球のピンチだ、宇宙人妻魔女襲来!

                                http://www.getchu.com/soft.phtml?id=575285

                                The game forces fullscreen which can only be run in 800 x 600 which is one of the reasons I find it a bit difficult to get the h-code.

                                ITH got this information for the address to hook.

                                http://imgur.com/yoi8jPI

                                Although it has a lot of missing characters. I tried following the tutorial for the missing character h-code but still trying to understand the about half the steps.

                                pls halp?

                                Comment

                                Working...
                                X