Post details: Machine Assisted Visual Novel Reading

07/30/07

Permalink 05:10:06 pm, by Blitzwing Email , 599 words, 21433 views   English (CA)
Categories: General, Scripting

Machine Assisted Visual Novel Reading

UPDATE [11/25/08]: Revised script can be found here.

While pondering a means by which I could enjoy Key's latest work, Little Busters, with my limited Japanese language ability, I discovered a lack of resources available to assist low-intermediate readers. Machine translation does naught to improve one's interpretation skill (except perhaps of "Engrish"), and those with literate reading capability don't require aids.

Thus, I have hacked together what is essentially a glorified (if even that) macro for automating the transferal of text from AGTH to Wakan and Firefox (rikaichan). All the software required to implement it is freely available on the internet. It's very simple, essentially shuffling clipboard contents around, but I hadn't really seen any discussion regarding this sort of technique in the usual places.

More details after the jump:

[More:]

Methodology:

Why both Wakan and rikaichan? I wasn't satisified with the implementation of each one on it's own. rikaichan has a superior grammar detection engine, but mouse-overing every single character gets tedious quickly. Wakan, on the other hand, displays furigana and definitions along with the text, but it often omits hiragana and katakana only words, and occasionally parses compounds incorrectly or provides the incorrect pronunciation. Together, the two complement each other nicely. The ideal solution would be some sort of AGTH plugin that piped into a standalone version of rikaichan that had the additional features of Wakan, but that's well beyond my abilities. Anyone up to the task? xD

Pros:
-Japanese literacy can be better trained, especially when used in conjunction with Wakan's learning features.
-Software is freely available.
-Should work with every game that AGTH works with.

Cons:
-solid understanding of Japanese grammar and kana required for effective use.
-it's somewhat inefficient, being a script and requiring several different programs in a specific configuration.

What you'll need (These will open in new window):

AGTH (Anime Games Text Hooker)

agth.html (make an empty html file of that name and put it somewhere convenient. UTF-8 encoding is a good idea.)

AutoIt (the scripting engine)

Mozilla Firefox

notepad.exe (this comes with Windows >.>)

Rikaichan (Firefox extension)

The script

Wakan

Make sure to grab the latest dictionaries for Rikaichan and Wakan, of course. Quite a list eh? This solution is not for everyone, but I definitely found it worthwhile to set up.

Instructions:

Step 1: Install everything.

Step 2: Create an AGTH shortcut as required for the game in question (More documentation on AGTH can be found here). Make sure to use the /C switch in the shortcut (clipboard copy).

Step 3: Modify the script by replacing GAME WINDOW TITLE GOES HERE with the Game's window title. The AutoIt Window Info Tool that comes with AutoIt will facilitate this. Copy it from the box as indicated in this example screenshot.

Step 4: Open agth.html in Notepad. This file acts as a scratchpad of sorts for rikaichan.

Step 5: Open agth.html in Firefox. Turn on rikaichan.

Step 6: Open Wakan. Go to "Editor/Translator" mode.

Step 7: Run the shortcut you made in step 2 to start your game. Once past the main menu, select the appropriate text thread in AGTH (see AGTH documentation for further details).

Step 8: Run the script.

Step 9: Arrange your windows nicely for efficient use of screen space.

And that's pretty much it. Click on the game window to advance the text, and when it's done displaying and registers in Wakan, click on the Wakan window to translate it. Mouse-over the text in Firefox with rikaichan for more detailed info on conjugations, names, and words that Wakan may have skipped. Hope someone finds this useful!

Comments:

Comment from: Qu4Z [Visitor] Email
Awesome idea ^_^
This makes it much easier to play Japanese games.
Two things though:
- I haven't found notepad necessary. Wakan saves just fine, and it means fewer windows. (Just remove SetFocus("Notepad") and Send("^v") or whatever. The first time time you use the script Wakan will ask what to save it as)
- I've made it set the focus back to the game then Wakan so it doesn't mess up my tab order. I'm fussy about that.

But yeah. Great idea! Thanks!
PermalinkPermalink 09/25/07 @ 04:06
Comment from: Blitzwing [Member] Email
Glad it was helpful!

The nice thing about this is that it's all customizable, so the user can tailor it to their specific needs as necessary.
PermalinkPermalink 09/26/07 @ 01:29
Comment from: RT [Visitor] Email
I know there is an application that relies on an OpenOffice.org plug-in called Itadaki (http://itadaki.org/wiki/index.php/Itadaki). I have never tried it, but it should be accurate, in theory, to annotate Japanese text.
If you have time, would you mind taking a look?
PermalinkPermalink 11/25/07 @ 18:32
Comment from: Simmons [Visitor]
Great! Thanks!
If you do not have Windows in English, Notepad might give you some trouble. Edit the script like this:
- Set the Notepad window title to the correct one.
- Set the shorcuts with their correct keys (select all, paste, save).
PermalinkPermalink 06/26/08 @ 23:31
Comment from: An. [Visitor] Email
Strangely, I can't seem to make it do anything in the firefox window, seems like the path is broken somewhere, it reaches Wakan, so I guess that's fine, at least.
PermalinkPermalink 08/18/08 @ 18:46
Comment from: Alex [Visitor] Email
This thing looks great! Thanks for your work!

Would it please be possible to post up an empty html file (agth.html)? I am not a computer/web programmer so I have no idea about how to do this...

Thank you so much!
PermalinkPermalink 08/23/08 @ 00:00
Comment from: Kyoung Kim [Visitor] Email
Thanks for this, it's really helpful!

I have a slight request though. Could you please help me create a script that lets me use Mozilla for translation with Rikaichan without open Wakan or agth.html in Notepad?

Thanks!
PermalinkPermalink 09/22/08 @ 14:32
Comment from: Paludis [Visitor] Email
This saves me so much time, thank you!
PermalinkPermalink 10/10/08 @ 21:07
Comment from: anonymous [Visitor] Email
That doesn't work for me, firefox is just showing empty window. Maybe because i use Vista.
PermalinkPermalink 11/15/08 @ 07:28
Comment from: Blitzwing [Member] Email
Did you open agth.html in Firefox (in vista)? I have never tested it in vista but in theory it should work just as well...
PermalinkPermalink 11/23/08 @ 07:52
Comment from: unknown [Visitor]
How do you run the script?
PermalinkPermalink 01/09/09 @ 12:17
Comment from: anonymous [Visitor] Email
from 11/15/08 @ 07:28
yes, i open agth.html in firefox.
PermalinkPermalink 01/09/09 @ 13:54
Comment from: Makoto [Visitor] Email
Anyway chance that you will make a youtube video cuz i've tried several times and i still dont know what i'm doing.
PermalinkPermalink 01/14/09 @ 11:06
Comment from: xuanfung [Visitor] Email
this is website or blog?
need to sign up?i hope i can join ...
u monthly update this web?

this is good site,really.
hope we can be friend on MSN

p.s. Sorry write too much,long time don such friendly site....
PermalinkPermalink 05/25/09 @ 06:37
Comment from: GBcrazy [Visitor]
Thanks, I don't exact remember how I've found this page and it was apparentely posted 3 years ago, but let me say thank you, you made my life easier. Gotta play now, see ya
PermalinkPermalink 08/05/10 @ 19:19
Comment from: Hans Kottre [Visitor] Email · http://proactoldiscount.blogspot.com/
Free gifts upon signing up But this infatuation err, addiction to coffee isn't all that bad.
PermalinkPermalink 10/13/10 @ 21:36
Comment from: golf store [Visitor] · http://www.golfing-tips.net/left-handed-golf-grip
I wanted to thank you for this excellent post!!! I definitely loved every little bit of it. I have you bookmarked your weblog to check out the latest stuff you news
PermalinkPermalink 10/20/10 @ 07:56
Comment from: tokay gecko [Visitor] · http://tokaygeckoprice.blogspot.com/
I liked it. So much useful material. I read with great interest. Of course, there isn't much by way of luxury, just the way you would not expect anything like it on Ryanair or JetBlue.
PermalinkPermalink 10/27/10 @ 12:15
Comment from: Earnest Tradup [Visitor] · http://www.akccar.org/
This blog appears to recieve a large ammount of visitors. How do you get traffic to it? It gives a nice unique spin on things. I guess having something useful or substantial to say is the most important thing.
PermalinkPermalink 10/31/10 @ 15:34
Comment from: Mila Lamarra [Visitor] · http://www.teachingenglish.org.uk/users/alberty788
Very interesting and amusing subject. I read with great pleasure.
PermalinkPermalink 11/04/10 @ 17:49
Comment from: Marylee Struggs [Visitor] · http://forum.carlalitchfield.com/index.php?action=profile;u=35182
You got great honest points here. I done a search on the issue and learnt most peoples will agree with your blog. Most people, however, have a country in mind when thinking about world travel, or a specific site that they wish to see.
PermalinkPermalink 11/05/10 @ 13:51
Comment from: bleaching gel [Visitor] · http://shop.swissdent.com/extreme-toothpaste-100ml-p-112.html
Dear Webmaster, I'm following your blog from a long time now and read all the posts back to back when I saw it first time...very nice read!! Thank you!Cheers
PermalinkPermalink 11/07/10 @ 15:58
Comment from: Bess Lozaro [Visitor] · http://massagetabletherapy.com/
Hi could I reference some of the information from this post if I reference you with a link back to your site?
PermalinkPermalink 11/08/10 @ 03:00
This doesn't need to be anything excessive, but simply put working out is almost certainly the most effective way to lose weight and enhance your general heath. And they know HOW to exercise.
PermalinkPermalink 11/08/10 @ 05:38
Comment from: Israel Courier [Visitor] · http://a4esl.org/q/h/vc-food-lb.html
This domain seems to get a great deal of visitors. How do you get traffic to it? It gives a nice individual spin on things. I guess having something real or substantial to post about is the most important thing.
PermalinkPermalink 11/08/10 @ 12:51
Really Good Work…. You Helping People A lot Growing up, I remember all the fun I had playing with a number of my favorite toys, like He-Man, G.I.
PermalinkPermalink 11/09/10 @ 20:48
Comment from: Sandee Jendras [Visitor] · http://www.unlimited-studio.de/us/index.php?action=profile;u=7116
Valuable information and excellent design you got here! I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up Actually, in effect, people could end up paying more expensive premiums.
PermalinkPermalink 11/10/10 @ 10:55
You made good ideas here. I done a research on the topic and learnt nearly all peoples will agree with your blog. After five minutes of yanking, you're certainly not going to see the battery meter climb up.
PermalinkPermalink 11/11/10 @ 13:29
Comment from: oil paintings [Visitor] · http://www.emergingartists.com/
I just added this feed to my bookmarks. I really enjoy reading your posts. Tyvm!
PermalinkPermalink 11/12/10 @ 20:39
Comment from: Batman games [Visitor] · http://www.arcaderush.net/batman-games
Thanks a lot for posting this, it was quite handy and helped me a ton
PermalinkPermalink 11/12/10 @ 21:26
Comment from: Billie Tomblin [Visitor] · http://www.dumboShariat5261.com
Many blunders and absurdities have crept in.
PermalinkPermalink 11/13/10 @ 02:48
Comment from: Zane Edick [Visitor] · http://erudiit.ee/forum/profile.php?mode=viewprofile&u=26850
I harmonise with your conclusions and will thirstily look forward to your next updates. Just saying thanks will not just be enough, for the exceptional clarity in your writing. I will directly grab your rss feed to stay privy of any updates. Solid work and much success in your business endeavors!
PermalinkPermalink 11/13/10 @ 07:48
Comment from: Porfirio Dickmann [Visitor] · http://talkbigbrother.com/forum/profile.php?id=60372
You gave fantastic honest ideas here. I performed a research on the issue and discovered almost all peoples will agree with your blog. The tricky thing about talking about birth pain is that it is slightly different for each woman, and every woman has a different threshold for pain.
PermalinkPermalink 11/13/10 @ 19:32
Aw, this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get something done. You want to take advantage of both help and healing time after birth so when you do need to do it all again, you have the energy to tackle life head on once more.
PermalinkPermalink 11/14/10 @ 17:07
Comment from: rss links [Visitor] · http://www.webintegratedsolutions.com
Hey, this post showed up 100 times in my feedburner reader. Is it a problem on my web browser or is it happening to anyone else?
PermalinkPermalink 11/14/10 @ 20:16
Comment from: leaf [Visitor] · http://www.landscapingwilmingtondelaware.com
Oh man! This blog site is awesome! How can I make it look this good !
PermalinkPermalink 11/14/10 @ 23:43
Comment from: Jarred Aldarondo [Visitor] · http://ezw.ru/phpBB0/profile.php?mode=viewprofile&u=162826
Thank you! You often write very interesting articles. You improved my mood. I was able to get approved for two credit cards that offered zero percent interest on balance transfers for two years - one with a ten thousand dollar credit limit, the other with a five thousand dollar limit.
PermalinkPermalink 11/15/10 @ 02:35
Comment from: Rachel Blanchard [Visitor] · http://cata456rat.corank.com/tech/framed/reasons-behind-Hair-Loss
one more information. come across advice am glad I found working on some research, and trying to find such.
PermalinkPermalink 11/16/10 @ 00:13
Comment from: Lauren Conrad [Visitor] · http://url.org/bookmarks/bepper162
crafted a document. can stuff like this and written homework, and I am on the look out for.
PermalinkPermalink 11/16/10 @ 03:33
Comment from: exchange bank rate [Visitor] · http://www.forexbank.com.au/forextrading.php
You can easily gain real cash by buying and selling in the FX market. This industry provides various sorts of opportunities to people interested in the sector of trade. inspite of this you can find endless speculations on how to commerce FX efficiently. You might as well discover situations wherever people have lost their entire moolah whilst buying and selling during this market. You will discover also instances of people receiving a regular revenue from these markets. These instances indicate that most people take chances with their deals. They don't have appropriate have an understanding of on the Foreign exchange promote which can end up with substantial losses. The trades in Forex markets reach as much as 2 trillion each dayHence it is necessary for you to adopt definite foreign currency trading ideas on your business to be productive.
PermalinkPermalink 11/16/10 @ 04:30
really. site owners to tell you besides It is nice to see people
PermalinkPermalink 11/17/10 @ 05:21
Comment from: seotons [Visitor] · http://theblog4.info/on/seotons2/
I found your entry interesting do I’ve added a Trackback to it on my weblog :)……
PermalinkPermalink 11/18/10 @ 11:37
Comment from: Lakita Tatsak [Visitor] · http://www.x-safe.net
Hello man do you have news documents ? I applaud article advance for me ... ..
PermalinkPermalink 11/18/10 @ 17:39
Comment from: Pasquale Jerden [Visitor] · http://casinos821.interneteclub.com/2010/11/13/il-a-t-trs-agrable/
Anyhoo, happily, it's not the complete story.
PermalinkPermalink 11/18/10 @ 21:58
Comment from: Kent Piccone [Visitor] · http://speedranks.comlu.com/index.php?action=profile;u=4037
You gave nice ideas here. I done a research on the issue and learnt most peoples will agree with your blog. These are gross motor skills at first.
PermalinkPermalink 11/19/10 @ 07:55
Comment from: Herb Formaggioni [Visitor] · http://www.dogubatinakliyat.com
Hi guy do you have news documents ? I approve clerical develop so my friend ... ..
PermalinkPermalink 11/19/10 @ 08:05
Comment from: Sifali Bitkiler [Visitor] · http://www.saglikli.biz
Hi guys did you'r had new documents ? I enjoy letter cultivate pro my friend ... ..
PermalinkPermalink 11/19/10 @ 08:23
Comment from: film indir [Visitor] · http://www.filmindirelim.tk
Hello friend do you had other links ? I enjoy clerical advance so my dad ... ..
PermalinkPermalink 11/19/10 @ 11:08
It's why it's so important to test your.
PermalinkPermalink 11/19/10 @ 11:31
Comment from: akyaka apart [Visitor] · http://www.akyakatatil.com
Hi guy do you had old articles ? I like article developing so my friend ... ..
PermalinkPermalink 11/19/10 @ 11:51
Comment from: http://blog.dawngriffin.com/2009/11/14/open-houses-in-carondelet-sunday-november-15th-1-3pm/trackbac [Visitor] · http://www.filmindirelim.tk
Hello mans did you had other links ? I applaud letter build up so my friend ... ..
PermalinkPermalink 11/19/10 @ 14:10
Comment from: sohbet [Visitor] · http://www.sanalface.com
Hello friends did you had other videos ? I relish clerical developing for me ... ..
PermalinkPermalink 11/19/10 @ 17:24
It isn't something you shouldn't take lightly, but there are a multitude of circumstances that determine.
PermalinkPermalink 11/19/10 @ 19:33
Do you have a spam problem here; I also use Blog Engine, and I was wondering about your situation; we have developed some excellent practices and we would like to exchange techniques with others, please Email me if you are interested.
PermalinkPermalink 11/20/10 @ 04:02
Comment from: korku filmi izle [Visitor] · http://korkufilmizle.net/
Hello guy do you had other archives ? I deal clerical advance pro my dad ... ..
PermalinkPermalink 11/20/10 @ 05:37
Comment from: free tarot psychic readings [Visitor] · http://www.free-psychicreadings.com
One might as well be hanged for a sheep as a lamb.
PermalinkPermalink 11/20/10 @ 05:52
Comment from: Örgü [Visitor] · http://www.orguogrenelim.com
Hi man do you have new links ? I like clerical developing pro my dad ... ..
PermalinkPermalink 11/20/10 @ 11:06
Comment from: Örgü [Visitor] · http://www.orguogrenelim.com
Hello guy do you had new archives ? I relish clerical advance for my dad ... ..
PermalinkPermalink 11/20/10 @ 11:46
Comment from: Örgü [Visitor] · http://www.orguogrenelim.com
Hi guy did you have news sites ? I into letter cultivate pro me ... ..
PermalinkPermalink 11/20/10 @ 13:34
Comment from: dizi fragmanlari [Visitor] · http://www.dizilimani.com
Hello mans do you have new links ? I love letter advance pro my dad ... ..
PermalinkPermalink 11/20/10 @ 17:10
Comment from: diziizle [Visitor] · http://www.dizilimani.com
Hello guys do you have new sites ? I enjoy letter evolve pro my friend ... ..
PermalinkPermalink 11/20/10 @ 18:30
Comment from: Antivirus [Visitor] · http://www.x-safe.net
Hello friends did you'r had new archives ? I applaud letter improve so me ... ..
PermalinkPermalink 11/20/10 @ 20:13

Comments are not allowed from anonymous visitors.

omoshiroi.info

781434
February 2012
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29        

Search

Categories

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 1

powered by
b2evolution