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.

  • Requesting H-code for [SofthouseChara] 悪魔娘の看板料理 https://vndb.org/v16413 ITH and AGTH can find some text but it's missing around 60% of every sentence.

    Comment


    • Requesting H-code for [ゆずソフト]サノバウィッチ [Yuzusoft]Sanoba Witch/Sabbat Of The Witch
      https://vndb.org/v16044

      Thx in advance.

      Comment


      • Have you actually tried Sanoba and it failed? It's Yuzu, so if memory serves there's 99% chance it's KAG2, so no reason it shouldn't just work by default unless they horribly mutilated the engine.

        Please don't waste people's time unless you've actually tried things.
        Last edited by nullskillvoid; 02-27-2015, 07:34 PM. Reason: I'm bad at english

        Comment


        • Originally posted by xj577 View Post
          Requesting H-code for [ゆずソフト]サノバウィッチ [Yuzusoft]Sanoba Witch/Sabbat Of The Witch
          https://vndb.org/v16044

          Thx in advance.
          Try changing font to ms gothic

          Comment


          • Originally posted by snooze321 View Post
            Requesting H-code for [SofthouseChara] 悪魔娘の看板料理 https://vndb.org/v16413 ITH and AGTH can find some text but it's missing around 60% of every sentence.
            Check the previous page, I made one for the trial and it works with the full game.
            Last edited by SaintLouisX; 02-28-2015, 03:32 AM.

            Comment


            • Originally posted by nullskillvoid View Post
              Have you actually tried Sanoba and it failed? It's Yuzu, so if memory serves there's 99% chance it's KAG2, so no reason it shouldn't just work by default unless they horribly mutilated the engine.

              Please don't waste people's time unless you've actually tried things.
              I tried it and it doesn't work well. Changing font works for the first few lines but then text repetition happens. Auto-supress option doesn't work and making the lines appear instantly instead of per-text does nothing. I'm out of ideas personally. So anyone please help. ;_;

              Originally posted by Andys View Post
              Try changing font to ms gothic
              sadly, it doesn't work. only for a while then text repetition continues.

              Comment


              • Originally posted by SaintLouisX View Post
                Here's a hook for the trial of 悪魔娘の看板料理 which was just released: /HQ-8@6423:ryouriya.exe

                EDIT: This works fine for the full game too.
                Thanks. I was getting tired of translating japanese by my brain.
                勇往邁進,

                Dash forward, Advance bravely.

                Comment


                • Originally posted by SaintLouisX View Post
                  Here's a hook for the trial of 悪魔娘の看板料理 which was just released: /HQ-8@6423:ryouriya.exe

                  EDIT: This works fine for the full game too.
                  thank you very much for this

                  Comment


                  • Requesting H-code for [ゆずソフト]サノバウィッチ [Yuzusoft]Sanoba Witch/Sabbat Of The Witch
                    https://vndb.org/v16044

                    Comment


                    • Alicesoft's Eventicle trial: /HS-C@1BAC52:EvenicleTrial.exe

                      Comment


                      • I'm now intrigued by the Sanoba issue, does anyone know if the trial has the same problem? I don't really feel like downloading the whole game and I have no plans to buy it.

                        Comment


                        • Originally posted by soul5991 View Post
                          Requesting H-code for [ゆずソフト]サノバウィッチ [Yuzusoft]Sanoba Witch/Sabbat Of The Witch
                          https://vndb.org/v16044
                          Change font inside game settings to gothic, and use Translation Aggregator's repeat suppression (character repeat = auto).
                          GetTextExtentPoint32W thread
                          Currently im playing it like that on WinXP, maybe it won't work on Win7+

                          Comment


                          • Btw, regarding aforementioned game, could you try this version of ITH?
                            I tried to port new kirikiri engine from VNR, don't know it it will work (not at my pc). Maybe it won't even launch...

                            //edit: sorry, I missed the new 'KiriKiriZ' engine, this version could work: https://www.mediafire.com/?4dy4f33f6ygg42h
                            Last edited by Andys; 03-04-2015, 04:58 AM.

                            Comment


                            • When you start providing source instead of binaries...

                              Comment


                              • Originally posted by SaintLouisX View Post
                                When you start providing source instead of binaries...
                                And you just HAD to say that 6 hours after I removed google code link from my signature... I removed it since three lines is too big signature for my tastes.
                                The link was in ITH thread, https://code.google.com/p/interactiv...-hooker-andys/

                                Well, regarding [150227] [ゆずソフト] サノバウィッチ - it seems to be working.
                                Though I messed up somewhere and those LenstrA threads are filling thread list. Will look into it later, maybe on weekend
                                Last edited by Andys; 03-04-2015, 09:05 AM.

                                Comment

                                Working...
                                X