View Single Post
Old 2008-03-08, 20:09   Link #12
Whitemoon648
Sawa-Chan <3 <3 <3
 
 
Join Date: Dec 2004
Quote:
Originally Posted by Kaioshin_Sama View Post
For good measure I'm going to add a bit here on how to use AGTH and Atlas to translate game text into english on the fly. I used the example of Prism Ark here from a PM I sent someone regarding how to use AGTH:

First you want to have your AGTH.exe file in a folder that is preferably near the Prism Ark.exe file. Now, make a shortcut for your prism ark exe file and right click it and select properties. Heres where it might get a little bit tricky. Under the shortcut tab you should find a line of text in a box with the word target to the left. That's the address your shortcut is pointing to. Click on it and go right to the beginning of that line. Now in Quotation marks, type out the address of your AGTH.exe file. You will also need an /h code to hook the text for Prism Ark due to it being offset between other bits of data, which I will include. Also, if you are using Atlas Translation Tool, your want it to copy to clipboard to make it easier, so that would mean entering the command /c.

Thus, for example, if you put the AGTH.EXE file in the program files section in a folder called AGTH and the Prism Ark folder in it's default location, your shortcut bar would now read:

"C:\Program Files\AGTH\AGTH.exe" /HBC@479600 /c "C:\Program Files\Pajamas\p_ark\P_ARK.exe"

Now, when you open up the AGTH program, you should see a bar along with the program and it should have an address and then say WideCharacterToMultiByte. When the text starts appearing in game, you are going to want to click the drop down option, and if the /h code was entered correctly you should see an option labelled USERHOOK B. Select that and the game will start hooking your text. Other drop down options give different threads of text, one of which is your items and Prism description and battle text.

Now, If you open up Atlas Translation Tool and select the quickatlas option you should get the icon in your quicklaunch bar, right click it and select Automatic Clipboard Translation. Because you chose to have AGTH automatically copy text to the clipboard, Atlas should be translating the text as it comes up in the game. It won't be a perfect translation, but it was enough to save me many times in games I would otherwise have no idea what I'm doing.

Now normally most games won't use a USERHOOK B and will only require textout A or something of that variety. Sometimes there are multiple text threads so you just have to find the on that works for you. Most games don't require an /h code either and merely require you to put in the /c portion to copy it to clipboard, which Atlas will then translate. This way you get portions of translated text as it comes up. In this case the shorcut line from the example would normally read.

"C:\Program Files\AGTH\AGTH.exe" /c "C:\Program Files\Pajamas\p_ark\P_ARK.exe"

Games that do require a /h code can be found within:

Spoiler for /h Codes for games. Credit goes to Mastress Alita from Boy's Love Games Headquarters:


Make sure you put in any /h codes before the /c as the commands will initialize in that order, and since /c is normally the last thing you would need to do, the game will crash on bootup as the code becomes scrambled.
Truely an awesome guide. Thanks alot.


Any ways i thought i would add this too . http://reversed.tistory.com/6 is another guide. Although i couldnt figure out what was going on, Still is a good guide for people who can figure it out .



I also had a question. I played around with AGTH for few hours, But still couldnt get the text hooker to work. I want to get the text from the game to the AGTH, so that i can copy the text and use google translator to translate it for me. However i havent been able to do it.

This is what i did . First created a short cut of the game, then do as you said .

C:\Users\name\Documents\AGTH /c "C:\Users\name\Documents\Overflow\SchoolDays\SD.ex e" /HW-20@30270:FILMEngine.gem:

i also tried this too,

C:\Users\name\Documents\AGTH /HW-20@30270:FILMEngine.gem: /c"C :\Users\name\Documents\Overflow\SchoolDays\SD.exe"

after doing all of these, Both of the school day shortcuts would redirect me to the AGTH folder. Then after i opend AGTH , well there was no option to pick.

I am so confused. Would you know what i am doing wrong?




Edit : Ok so far i have been able to link the two. I copied the location of the shortcut of the game and then pasted in the target location of AGTH so i got :


C:\Users\name\Documents\Overflow\SchoolDays\SD.exe /c "C:\Users\name\Documents\Overflow\SchoolDays\SD.ex e"

Now when i click on the AGTH shortcut with the above location, Both AGTH and the game open . However still there is no text.
Also i tried it with the /hcode and i got


C:\Users\name\Documents\AGTH\agth.exe "/HW-20@30270:FILMEngine.gem:" /c "C:\Users\name\Documents\Overflow\SchoolDays\SD.ex e"

However , here i get an error saying Hook base module not present , and then both AGTH and game open ( but not text). There was no error when i tried to open it without the /h code that i just wrote
__________________

Last edited by Whitemoon648; 2008-03-08 at 20:49.
Whitemoon648 is offline   Reply With Quote