Post details: Machine Assisted Visual Novel Reading: Redux

11/25/08

Permalink 02:17:23 pm, by Blitzwing Email , 458 words, 2156 views   English (CA)
Categories: General, Scripting

Machine Assisted Visual Novel Reading: Redux

Screenshot
Demo only, most of these windows can be left minimized.

It's been a while (more than a year, in fact) since the original Machine Assisted Visual Novel Reading. (If you're unfamiliar, it's recommended reading!) My programming skills have not advanced at all since then, sadly. However, for a while now, I've been using a cleaned up version of the previous script for my own purposes. Since I made a few simple but effective improvements, I figure it wouldn't hurt to spread it around, so here goes:

[More:]

tl;dr - Script is better now, DL link at bottom of page.

Essentially, you can push one button to translate with AI voice (in the case of unvoiced lines), and another to call just a regular translation without the AI voice (somehow your childhood friend lacks the same impact when she is accompanied by the echoing voice of a stilted computer :roll:)

If you managed to get a copy of Neospeech Show or some other Japanese TTS voice, the Voice_Translate function works in conjunction with the VW TTS-Test-Application that is included with such software. Make sure it's running, of course.

The old clicking on active window thing was functional but rather inefficient. Now, any hotkey you desire should work. Watch out for conflicts though.

==Some Useful Documentation==
HotKeySet Function
Special Key Reference

Notes and Errata:

  1. Use Joy2Key in conjunction with the hotkeys, and you can play any game from a comfortable distance using a gamepad or joystick. Bind other keys to advance the text, toggle the window, move the mouse etc. I find it less RSI inducing than clicking with my index finger repeatedly - but at any rate, don't forget to take frequent breaks ;)

  2. PushPin is a neat little app that you can use to make windows stay always on top. Good if other applications steal focus constantly, or are otherwise distracting.

  3. Quite a number of people were wondering about agth.html. To create it, launch Notepad.exe, go to File>Save As... Choose the appropriate directory, Change "Save as type:" to "All Files", Set "File name:" to "agth.html" (without quotes), "Encoding:" to UTF-8. Push the Save button. Voila!

  4. Vista compatability is unknown (I use XP exclusively), but if AutoIt works in that environment, then I don't see why these scripts wouldn't work either.

  5. If you don't like Wakan, or would like to use Rikai-chan exclusively, comment out the lines in the script as indicated to take out the calls to Wakan.

The Actual Script

This revision of the script was created for use with Twinkle☆Crusaders, do check it out^^ Rename the script file as you like. Modify as necessary.

Note: Read the code comments!

ナナカは俺の嫁
this image has little to nothing to do with this post

Comments:

Comment from: Jason [Visitor] Email
Thanks man. I'll try it out right now. XD
PermalinkPermalink 11/30/08 @ 01:17
Comment from: Ikiru [Visitor] Email
This doesn't work for me for some reason. The text shows up in Wakan, but nothing shows up in agth.html.
PermalinkPermalink 11/30/08 @ 14:19
Comment from: Blitzwing [Member] Email
@Jason:
Have fun!

@Ikiru:
If it shows up in Wakan, then it's being copied to the clipboard correctly. Do you have notepad open with agth.html loaded? And if so, does the window title of notepad match with what the script says?
PermalinkPermalink 11/30/08 @ 22:47
Comment from: Gothic [Visitor] Email · http://en.asie-shop.com/

I personally paste directly into firefox, within a textarea.
Doing this aloow me to have bigger fonts which is usefull for reading kanji.
the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>agth</title>
</head>

<body>
<textarea cols="20" rows="20" style="font-size:26px">test</textarea>
</body>
</html>

PermalinkPermalink 06/25/09 @ 06:45
Comment from: Orestis [Visitor] Email · http://www.pdfqueen.com/country/Niger/13-05-2010.html
That was really nice info.
PermalinkPermalink 05/14/10 @ 11:41
Comment from: vibram outlet [Visitor] · http://vibramshoesonline.com
Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!
PermalinkPermalink 06/17/10 @ 23:48
Comment from: Setracsed [Visitor] Email
Thanks for making the script, it really helps.

Is there any way to add words to wakan's dictionary? It kind of bothers me that wakan tries to translate the names of the characters.
PermalinkPermalink 07/14/10 @ 14:00

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

omoshiroi.info

432711
September 2010
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 30      

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 3

powered by
b2evolution