Showing posts with label ITH. Show all posts
Showing posts with label ITH. Show all posts

Sunday, January 16, 2011

[Tutorial] ITH (Interactive Text Hooker)

Interactive Text Hooker - new text extraction tool

Interactive Text Hooker (ITH) is a tool to help you extract text from Japanese games.
It works very like AGTH...if you are familiar with AGTH you will find it easy to work with ITH.
Right now ITH is not quite stable and under developing....
any Ideas on ITH can be submitted through hongFire thread here

NOTE: Any Question can be submitted at our fanpage (at the Wall or wherever, just don't write it off on my profile wall) well, as long as it's within my reach, I'll try to help ^^

http://i.imgur.com/bor0f.jpg
hell... no other pic, so I'm using this one...
why? coz the tutor below using Damegane as an example ^^


Why Using ITH??
-------------------------------------------------------------------------------------------------------------------------------
(taken from Hongfire, with a little correction... coz common people can't understand hard things...)
AGTH is a big success in text extraction. With UserHook function it can solve more than 95% current text extract issues. But new games usually need H-code to help AGTH working, and common users have no way to write one. ITH is designed to recognize much more game engines than AGTH and insert proper hooks automatically.

1)ITH now can detect some popular game engine.
Currently KiriKiri, BGI, RealLive, ShinaRio, CMVS, MAJIRO, rUGP, Malie, NitroPlus,
System40, CIRCUS, AtelierKaguya, Waffle, TinkerBell, Lune, SofthouseChara.

2)ITH has a graphic attach/hook insert interface through system process (Task manager, process)... You don't need to pass parameters to ITH via cmd or link target line (via shortcut)

3)ITH is able to insert multiple UserHooks into target process, while AGTH only one.

4)ITH can join threads together as your wish(Link function), while AGTH will join many together, sometimes with useless threads.
Since ITH is able to insert multiple UserHooks, this also mean you can join text from different hooks together. This is useful when the text process function appears in different place.

5)ITH can detach from process, remove/modify UserHook while the process is running.
You don't need to restart the process when you find you have inserted wrong hooks.
Bad hooks won't crash the process, just yield error message. This means you can use try-error method to guess hook code more efficiently.

6)ITH is open source and is under developing. More features will be add to ITH in future versions.
-AGTH has option to hook common system routine(/X?), ITH currently only hook APIs in GDI32.dll

ITH User Manual (Read this!)

Introduction

Interactive Text Hooker (ITH) is a tool to help you extract text from Japanese games. It's the first building blocks of a auto-translating system. The main purpose of ITH is to intercept text processed by a program and arrange text into clean form. Main idea of ITH comes from AGTH. ITH works very like AGTH, and has some advantage over AGTH.

System requirement

Intel Pentium4 or later processor. Recommend OS is Windows XP or later. Your processor must support SSE2. Or you may get an error message.

Basic Usage

Setup and start ITH

ITH contains 3 files, namely ITH.exe, ITH.dll and ITH_engine.dll. These 3 files need to be put into same folder. ITH requires administrative privilege to function properly. If you are using Vista/7, you need to run ITH as administrator.

UI layout

The first line contains 8 buttons.
Process: opens the Process Explorer.
Thread: opens the Thread Editor.
Hook: opens the Hook Editor.
Profile: opens the Profile Manager.
Option: opens the Option Dialog.
Top: let ITH stay on top of other windows.
Clear: clears text of current thread.
Save: save current profile.

The second line contains a short drop-down list and a editable area.
The short drop-down list is called Process List. This list contains Process ID and name of all attached process.
The editable area is called Command Line. You can type command here to let ITH perform actions.

The third line is a long drop-down list called Thread List. This list contains all available thread. You can select one thread to change content of the Text Area.

Under the Thread List is the Text Area. This area contains text of one thread.

Attach ITH

The first step of text extraction is attaching ITH to a game. Open the Process Explorer. On the left you can see a list of processes that ITH is able to attach. This list is sorted by creation time of the process. So the latest created process is at the top of this list. Select the process you want to attach ITH, then click Attach button. ITH will give a message if it attach successfully. Click OK to close the dialog.

Select text thread

After ITH receive some text, it will put text into threads. A thread contains certain piece of the text. If you select one from the Thread List, the text in the main window is changed to that thread. By default, there's only one named ConsoleOutput. Usually as the game display some text, more threads should be added to this list. If you can't see any thread other than ConsoleOutput while the game is flashing text, you will need to insert custom hook.

Copy to clipboard

ITH can copy received text to clipboard, then other translation software monitors clipboard can read the text and translate it into other language. You can simply select text in the Text Area by clicking and dragging. Then the selected text is copied to clipboard. ITH is able to copy the last sentence to clipboard automatically. You need to enable this function in the Option Dialog by checking Auto copy to clipboard.

Save you selection

It's bothersome to attach ITH and select text every time you start the game. After you have attached ITH and selected some thread for the first time, click Save to save your selection. ITH will record necessary information in ITH.pro. The next time you start this game, ITH will attach to the game and select thread automatically.

Link threads together

When your see text appears in different threads, you don't need to switch between them every time. ITH provide a flexible mechanism to handle this case. Namely Thread Linking. You can find thread name in the Thread List. Every thread's name begins with its unique 4-digit identifier. You use this number to tell ITH which threads to link. Notice that thread number is hexadecimal. So character A-F stands for decimal number 10-15 (you won't see decimal number in Thread List). You will need 2 numbers to perform a link operation. Namely From and To. There are 2 ways to link threads.

  • Open the Thread Editor by clicking Thread. Select thread with the number From from the list in the top. Select thread with the number To from the shorter list. Then click Set.
  • Type L"From"-"To" in the Command Line and press enter. No quotes, only number. Example LA-4.

Additional hook

If you couldn't get any useful text thread, you will have to insert additional hook to generate more threads. You need a small piece of text called H-code to inform ITH about the desired hook. H-code looks like this /HA-8:-14@402050. Type H-code in the Command Line and press enter, a new hook will be inserted. As the game goes advance, you may see new text threads in Thread List. This code is game and usually version dependent. To create such a code, you should be familiar with programming and x86 assembly. If you don't know what these things are, you must wait someone else to create one. You can request it at the Hongfire forum.



-------------------------------------------------------------------------------------------------------------------------------
the Latest Version is: 2.2 update May 5 2011 at MediaFire
Update 20 May 2011 MediaFire
older version:
ITH 2.0 (MF mirror)

after download, extract the file...
Please put ITH.exe, ITH.dll and ITH_engine.dll in the same folder... in order for ITH to executed...

and now let the simple tutorial start...
the pic below are not mine, they're belong to Shouenga... (I already got his permission)

Tutorial

1. Open the folder and double click ITH.exe


2. Open your VN / galgame /eroge / otoge / game that you need to be hooked


3. Click "Process" at ITH tab, and attach your Game
in this case, attach damegane.exe
and if you want easier access later, click "add profile"



4.Open your translation engine...
in this tutorial, we use Translation Aggregator


5. Play/Read your VN until you got some dialog text... move on to ITH, and click at the dropdown menu console output... and choose the "sane" one...


6. here's the sample of wrong choice... the text are double aren't they?


and here's the right one


7. Click Option, and check the "Auto copy to Clipboard" in order to have the text at ITH imported to your Clipboard, and TA / Atlas will translate it automatically


8. Wait till TA / Atlas receive the text and translate it...

and... it's done... hehe...


9. Last... how to add /h code to ITH...
at profile tab, after you attach a process of VN, add your hook code as seen below

http://i.imgur.com/RVRVM.jpg
Note:
1. Mecab is used as an additional program which will help you to understand the somewhat "broken" Translation of Atlas... (at least if you don't understand kanji, you can help it by learning the Romaji) look above... contain some easy words heh??

2. This tutorial made in order to teach you basic usage of ITH... on some bothersome VN / Galge, maybe you need to combine several /h code to get the right text extracted...
please study them yourself... coz I can't explain everything here...

3. Please leechers, don't just Copy-paste-ing my post here... at CraneAnime...
coz we have copyrights to... (see below)
I'm making this tutor myself... not copying from other blog / forum...

if you want to share this to your site / forum, please link to our post/site... I don't need any of your money or material thing... just put: Credit to=¤Dwi_Edge¤ or just Dwi_Edge
I don't care which, but do put it ...

for now, let me forbid you a goodbye... ^^
ah.. before I forgot about this one...
SPOILER for NEXT PROJECT!
http://i1041.photobucket.com/albums/b419/Dimdom89/uni1.jpg

last edited by Dwi_Edge 2011/xx/xx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Wednesday, November 24, 2010

Tutor: How to install + play VN from this site



Asakura Ryoko... sign of ... eh... what?? :apa:

well... it looks like there's still some stupid/baka/newbie folks here...:bloon:
so I decided to make a tutor post...
so you can enjoy the content of this blog without any :???: (confusion)

till now, I made all of those post knowing the visitor is experienced with downloading VN and install them just fine... but some of the emails I got recently... tell me that they have problem with this and that... argh...:kaget:

so let's start with the basics...

first of all...

STARTING
change your regional setting to Japanese...:angel3:
as for me, I change all of them into japanese, coz there's some game which even check the time zone, formats, and the Location (win 7 preferences...)

but in Win XP you need some kind of files...
google it... (or try this one: Japanese XP pack)or just install jap-language from your WINDOWS XP CD... (use your original one please ^^)

how?
1. Download the "Japanese-Pack-XP.rar" above
2. Extract "Japanese-Pack-XP.rar" to a folder of your choosing (preferably desktop)
3. Go to Control Panel-->Regional and Language Options
4. Under the "Languages" tab tic the "Install files for East Asian Languages"
5. Click Apply, on the insert cd message click ok and the it'll give you the same error BUT with the option to choose where to load the files from
6. go to .../Japanese-Pack-XP/i386/Lang and load the only file that appears (only one appears because it asks for a specific file)
7. sit back and watch it install
8. it doesn't matter as long as you eventually restart, not log off/standby/hibernate.

sample of the un-changed language setting (you will see broken words...)
http://i.imgur.com/9F3ZW.jpg

FIND YOUR GAME

next,
how to download from MediaFire(MF)... coz MF is our (crane) most used sharing site...

and you can find the VN's by using the LIST OF VN in CRANE

zzz... actually I don't even care how to explain this...:ehem:
but just click "Click here to download from Mediafire"
and start your download....
:yahoo:

or right-click it, copy link location, and put it into your IDM / DAP / something like that for better speed...

also, if you happen to cannot resume your download from mediafire, you also can use the second method, and copy it into your adress (at IDM, properties at the file)
right click at the "Click here to download from MediaFire", copy link location, and paste it to the space below (see red arrow)

so if you done with Downloading let's go to unrar-ing


EXTRACTING

this is how to extract with winRAR/7ZIP/winZIP/ (something like that)
first get the program ... (google it you moron...):ehem:

and then, right click and choose your method of extracting...


the split parts are automatically joined (winrar)
or see below:
Here's how to extract a file using winrar. After you've installed winrar just right click the desired rar-ed file... you should get this image.
20716-7NLK368.jpg

If it's on your desktop you can just press extract here or if you want it in a certain folder on your computer press extract files and select wherever it is you want it. Once all the files for a game have been downloaded you only need to extract part one. Winrar will automatically extract the rest of the parts.. example if you already have
gath.part1.rar
gath.part2.rar
gath.part3.rar
...

you just need to extract and filling passwords (if there's any) at the first part... just wait till it's done... and next we move to more complicated files...

if there's .001, .002, .003, ... / __.a, __.b, ___.c,... type of file or at least you see it like that...then you need to use FFSJ or HJsplit (google it please)

it's easy, just locate the first one and the prog will join all of them as long as they're in the same directory...
sample:
gath.rar.001
gath.rar.002
gath.rar.003
...

simple, just put them in the same folder and use Hjsplit/ffsj to join all of the parts...
the program automatically detect files with the same filename... so just sit back and relax...

or if you find
gath.7zip.001
gath.7zip.002
...

7zip have special features that can extract 001 files even without make it into "parts"
so use 7zip when you're told to...
ah..:kenyang:

there's some password at the file... (the one that I got from buz is not counted)
and maybe I'll not tell the password until you spread this site out loud / Donate ... Just kidding... I'll give them for sure... the password is needed coz if someone find the links from outside CraneAnime... they cannot extract it easily (well, there's a win rar password remover but the process is tiring and long)

First before asking me what's wrong with the passwords you should make sure you have put in the right password...
The passwords for rar files are very sensitive and even include the space as a symbol.

Now the proper way to highlight and copy and paste the password into the password confirmation screen when you try to extract it...

hahaha...
and one moAR IMPORTANT THINGS ABOUT EXTRACTING...
:onion-86:

if you happen to find some corrupted file, please try to repair it first (open the corrupt files, ALT+R)
:hmm:
and repair all of the broken part ... easy... just replace the old one with the fixed one
delete the old .rar and rename the .fixed.rar into .rar

MOUNTING

after you extract it,
maybe / mostly you'll find ISO files... (or image files... ah.. whatever) if it's not, skip through installation
mount them with Daemon Tools (recommended, coz I never failed using this prog)
again, search it with g00gle...
why? coz I don't want to share any free download here... the VN's already make me :aghh:
so let just pass the Download links of the programs...

after you install daemon... open the file... or
use the most easiest way...
by using the notification (bottom-right, windows 7)



choose your ISO file and mount them...
the setup should be automatically running... if not, just browse "My Computer" and find it at the CD drive...:malu1:

and btw the tutor below is old...
please use other reference to find newer version

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daemon Tools Tutorial from fkku

Introduction:

Daemon Tools is a disk image emulator and optical disc authoring program for Microsoft Windows. A disk image emulator is computer software designed to mount a disk image, usually of a CD or DVD, from a local hard drive or USB flash drive. The mounting is usually done by creating a virtual drive on the system, that to the operating system looks like an ordinary disk drive, in other words disc reading hardware is substituted with disc images.

(Yes, I took that description from Wikipedia. Sue me)

Daemon Tools is use to run games so you need to have the application open as long as you're playing the game.

These are some of the file types supported by Daemon Tools:

- cue (CDRWIN)
- bin
- iso
- ccd (CloneCD file)
- mds (Media Descriptor File)
- cdi (Discjuggler file)
- nrg (Nero file)

There's probably more types out there but those are usually the common ones.

Part 1, Installing Daemon Tools:

- Download Daemon Tools. You can get the latest version from that link.
- Open the .exe file
- Follow the instructions and install the application.
- Make sure you uncheck anything you don't want. People always forget to do that for some reason.
- Start Daemon Tools. A red lightning bolt will appear in the system tray near the clock. This is what you use to work with Daemon Tools.

step1.jpg

Part 2, Mounting an image file:

Make sure you're trying to install an Image File. If you don't know the type, you can find out by right clicking the file and checking the properties.

I'm gonna use Discipline as an example because I really love that game. (Plug brought to you by Azuran)

imagefiles.jpg

- Right click the Daemon Tools icon
- Select Virtual CD/DVD-ROM
- Select Set numbers of devices...
- Choose and click 1 drive

step3.jpg

- Select Device 0: [Drive] No media
- Select and click Mount image

step5.jpg

- The open file window will appear. Find the file your trying to mount and click open

step6.jpg

- The startup screen will appear. If it doesn't, go to My Computer and open the virtual CD manually.
- Install the game and enjoy.

step7.jpg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

INSTALLATION


After you mount the ISO file, usually you can click autoplay, autorun, or smthg like that...
Most of the installation is easy and just do "next-next-next finish"
but if you notice that some of the jap-words is still understandable, e.q: Create a desktop shortcut / whatever...

and if I give you links to crack, no dvd /cd, no region, just put it into the game folder and execute/extract it... any problem can be asked on the prespective post... just don't ask it anywhere...

PLAY JAPANESE VN IN ENGRISH
yes engrish, it's not english

and now, how to play...
if it's english, I think you'll be fine on your own...
but when it's Jap??:zzzz:

use AGTH... (Anime Game Text Hooker) or ITH... for hooking the texts in VN's

and one more thing, you need to install ATLAS Fujitsu v14 here's the trial: http://www.fujitsu.com/global/services/software/translation/atlas/downloads/trial.html

These two cracks needs to be placed in the same folder you install the program:
http://www.megaupload.com/?d=493GDH7K
http://www.megaupload.com/?d=YSHEDENK

Newest Version of AGTH: 2008.11.20
(read about changes in the newest update here)

AGTH Quick Links:

AGTH Home Page
- Official site for AGTH. Go here to download the most recent version of AGTH.
Hongfire AGTH Thread
BLGHQ's Complete Idiot's Guide to Japanese Gaming
- Tutorial by Mastress Alita covering many aspects of Japanese gaming, including AGTH usage. Has lots of screencap examples.
FHC's Tutorial @ Hongfire or FHC's Tutorial @ Shibuyabashi - An AGTH tutorial with screencaps provided by FHC.
Freaka's Advanced AGTH Tutorials -
Download tutorial videos on finding /h codes for use with AGTH.
Freaka's Atlas Mods
- Get modified files for Atlas Ver. 13 or 14 to ease Atlas usage with AGTH.
Superpanzeta's Clipboard Hooker for SYSTRAN6
- Creates an "automatic clipboard translation" function for the SYSTRAN6 translation software.
Scumsuckingpig's Translation Aggregator -
A translation interface that simultaneously translates using Atlas and various different online translation sites.

you need only two things basically... but if you are the type who don't want to work hard, just download three programs...
first AGTH (Critical, listed above), Translation Aggregator (critical one... can use Google translate and other site translator... mentioned above)...
and if you just like me, who is playing while downloading...
just use ATLAS...
the tutorial of using them and some of the /h or hook code is listed :cerutu:

HERE


yah... probably you don't really care with "how's" and "why's":sigh:
so just skip how to section and go straight to the /h code list...
don't be afraid, my post is also have the /h code listed...
if it's not, then the game didn't need any ...:yareyare:

about SAVEDATA

if you really a fag and some stupid folks see this section when downloading the savefiles given from CraneAnime...

-If it's in a RAR file, extract it first.
-confirm the format.
-find the save file folders
-Copy paste the 100% into the save file folder
-In other words overwrite the same file, with the 100% file.

Some exception with games
-that have a separated save folder (Not in the same game folder)
-some save files has a special format that needs to be hacked a little bit (rare)
-some files are in the Windows folder (rare)

ETC

ah... one moar engine is devOSD...
which I already taught you before ... (it's not critical... but it's needed for great gaming experience... )
see this POST

UNDERSTOOD??? :hipno:

if you understand then I think you need this: :lulus:
if not... then you deserve... :bata:

or if you need moar... see this blog:
How to Play Japanese game in English
(he's Indonesian too... just like us... LOL!!!... I don't want to copassing things... so just go there...)


ah... I think this is enough for now...
maybe I'll edit this post later...
so for now.. farewell....:hmm:

=====================================================================

Collection