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.

  • I found the H-codes for 縁りて此の葉は紅に from a Chinese website, so credit goes to the person who make these codes http://tieba.baidu.com/p/5529983852

    Ver 1.00: /HS-C@35090:Yorikure.exe

    The other code /HS-8@B7509:Yorikure.exe supposes to work for ver 1.01, but it didn't work for me so I decided not updating the game.

    Comment


    • Shiniiku
      Shiniiku commented
      Editing a comment
      Thank you very much.

    • vipervoid123
      vipervoid123 commented
      Editing a comment
      I found this H-code for the game.
      And it is working for me, not sure whether I have updated the game or not.
      /HS-8@B4518:Yorikure.exe

  • 愛する妻、玲奈の浮気告白 https://vndb.org/v6755 Tell us the code of this game

    Comment


    • Originally posted by davidch View Post
      Requesting H-code for this new game:

      [ぱちぱちそふと黒] 調子に乗ってるレイヤーでオタサーの姫を教師の俺が騙してハメ撮りしてみた
      https://vndb.org/r54615

      artemis engine, but cannot hook. thank you!
      I second this, I tried using Cheat Engine, but could pick up no text.

      Comment


      • Requesting H-code for this new game:処女はお姉さまに恋してる 3つのきら星
        https://vndb.org/v21979
        Thank you so much

        Comment


        • Requesting H-code for Rance X
          https://vndb.org/v20802

          Thanks.

          Comment


          • ivdos
            ivdos commented
            Editing a comment
            /HSN30:0@00614875:
            found

        • requesting h-code for 厨二姫の帝国 [Ushimitsu Soft]
          link : https://vndb.org/v17900
          http://www.getchu.com/soft.phtml?id=865895


          many thanks

          Comment


          • Requesting H-code for "IxSHE Tell"
            VNDB : https://vndb.org/v21956/chars#chars

            Comment


            • Originally posted by ahan45 View Post
              Requesting H-code for "IxSHE Tell"
              VNDB : https://vndb.org/v21956/chars#chars
              I have found this H-code for the game for VNR with UTF-8
              /HSN4@152470:IxSHETell.exe

              Comment


              • Shiniiku
                Shiniiku commented
                Editing a comment
                Thank you so much

            • Originally posted by vipervoid123 View Post

              I have found this H-code for the game for VNR with UTF-8
              /HSN4@152470:IxSHETell.exe
              Thank you
              Last edited by ahan45; 02-24-2018, 01:24 PM.

              Comment


              • Originally posted by sailabc1 View Post
                Requesting H-code for Rance X
                https://vndb.org/v20802

                Thanks.
                @ ivdos Thank you so much!

                Comment


                • django009
                  django009 commented
                  Editing a comment
                  sirve para ITH.?

                • sailabc1
                  sailabc1 commented
                  Editing a comment
                  django009 English please... But it works with ITH 32-bit if that's what you're asking. May not work well with OSs above Windows 7.

                • django009
                  django009 commented
                  Editing a comment
                  sailabc1 thank you know in which page I can download it?

              • Requesting an h-code for the new otoboku game:
                [Caramel Box] 処女はお姉さまに恋してる 3つのきら星
                https://vndb.org/v21979

                I tried to put together a code myself for the trial version without success.

                It seems to be a font caching thing, with the automatic hooks losing repeated characters.

                Comment


                • Requesting H-code for this new game:世界でいちばんNG(だめ)~な恋 ハピネスモーション~
                  https://vndb.org/r54549

                  Comment


                  • Requesting H-Code for these games :


                    [はちみつそふと] HarmonEy
                    https://vndb.org/v22075

                    and

                    [ウシミツソフト] 厨二姫の帝国 パッケージ版
                    https://vndb.org/v17900

                    Both game are released in february 2018, any kind soul willing to share ?
                    Thanks in advance

                    Comment


                    • marz311
                      marz311 commented
                      Editing a comment
                      Harmoney, use agth /x3 function, text should be in one of the lstrlenA,

                  • Requesting H-code for this new game: となりに彼女のいる幸せ~Winter Guest~
                    https://vndb.org/v22314

                    Comment


                    • Originally posted by feiduan000 View Post
                      Requesting H-code for this new game:処女はお姉さまに恋してる 3つのきら星
                      https://vndb.org/v21979
                      Thank you so much

                      Originally posted by SoSD View Post
                      Requesting an h-code for the new otoboku game:
                      [Caramel Box] 処女はお姉さまに恋してる 3つのきら星
                      https://vndb.org/v21979

                      I tried to put together a code myself for the trial version without success.

                      It seems to be a font caching thing, with the automatic hooks losing repeated characters.

                      I found this hook for [Caramel Box] 処女はお姉さまに恋してる 3つのきら星 from a different site. It works for me. Please try it.

                      /HWN18*0@53A964


                      Originally posted by fonfabre29 View Post
                      Requesting H-Code for these games :

                      [ウシミツソフト] 厨二姫の帝国 パッケージ版
                      https://vndb.org/v17900

                      Originally posted by CCAVH View Post
                      requesting h-code for 厨二姫の帝国 [Ushimitsu Soft]
                      link : https://vndb.org/v17900
                      http://www.getchu.com/soft.phtml?id=865895


                      many thanks
                      I have not tested it myself, but the hook for [ウシミツソフト] 厨二姫の帝国 is from the same site I found for the above hook. Please try it out. Also, set it to 'ignore infinite cyclic repetition' when using VNR. If you're using agth, then please use agth with /x3.

                      /HS8@53C70:GDI32.dll



                      Edit: Thanks to Clephas and WinkelHime for the additional comments.
                      Last edited by RolltotheEnd; 03-03-2018, 09:46 PM. Reason: Added quote and thank WinkelHime and Clephas for knowing that agth with /x3 works

                      Comment


                      • WinkelHime
                        WinkelHime commented
                        Editing a comment
                        Yeah, agth with /x3 works, tnx.

                      • django009
                        django009 commented
                        Editing a comment
                        and what they only use ITH ..?

                      • Harkoz
                        Harkoz commented
                        Editing a comment
                        Code for 厨二姫の帝国 doesnt work for VNR (both old and new version)
                    Working...
                    X