Page 1 of 1

Re: An HTML-based character table file for Telefang.

Posted: Sat May 23, 2009 3:54 am
by Blaziken257
I made a character table file for Telefang (which can be used on WindHex). Now, you may be wondering why I made this when there already is one. Well, this one uses HTML character entities for Japanese characters instead of Unicode characters. For example, for character 0x01, I used ア instead of ア. This eliminates the problem of WindHex spitting out mojibake when dumping text, because it's annoying to find a mojibake recovery tool whenever you dump text.

Of course, whenever you dump text with this file, you have to do a *.html file, NOT a *.txt file. Then open up the dumped file with any browser (that has Unicode support) and you can see Japanese text!

Oh, and this text file is NOT good for editing stuff, because you'll see character entities all over the place. It's only really good for dumping text!

Also, I used an @ symbol for the null E0 character, because the @ character isn't a character in the game.

Here's the link:

http://www.mediafire.com/download.php?dnitmzjimmk
http://www.mediafire.com/download.php?idqt45mggtt
http://www.mediafire.com/download.php?wzhzhnu4myw (Use this one instead! It's improved!)

If you spot any errors let me know! I checked thoroughly, though, so I don't think there are any.

Finally, if you ever want to do this with any other Japanese game, here's how you do it. I used this kana converter to convert kana to character entities. Just click on the kana you want, and you'll get an entity you can use. Of course, it's missing some, such as symbols, the sound elongation thing, or the small a/i/u/e/o for some reason. If you can find a better one, let me know...

Here's some of the ones they're missing...

ァ = ァ
ィ = ィ
ゥ = ゥ
ェ = ェ
ォ = ォ
ぁ = ぁ
ぃ = ぃ
ぅ = ぅ
ぇ = ぇ
ぉ = ぉ
ー = ー

Of course, if you want to find other ones yourself, then here's how to do it (this is assuming you have Windows). Open up Character Map, then find the character you want. Then, click on it. On the bottom left of the screen, you'll see text that says "U+____" where the "____" is some hex code. Take this code, convert it to decimal, and you got your character entity. Ignore the "0x____" to the right of it.

Now... enjoy the dump-friendly text table!

EDIT: Added new link to address former oversights.

Re: An HTML-based character table file for Telefang.

Posted: Sat May 23, 2009 6:02 am
by Sanqui
Woah, why didn't I think of that! Nice!
And from the HTML file, you can easily copypaste it to whatever editor you like !

Re: An HTML-based character table file for Telefang.

Posted: Sat May 23, 2009 7:15 am
by Blaziken257
Thanks! Are there other editors besides WindHex that work for it, though? I never knew that...

By the way, I made a better one... I used a <br /> tag to make line breaks from E2 show up properly in HTML. I also made the end codes (E1xx) more HTML friendly too... so check out this improved version!

http://www.mediafire.com/download.php?idqt45mggtt

EDIT: I also made one where I did instead of a space so that you can see multiple spaces in a row.

http://www.mediafire.com/download.php?wzhzhnu4myw

Re: An HTML-based character table file for Telefang.

Posted: Sun May 31, 2009 3:48 am
by IIMarckus(imported)
Blaziken257 wrote:Of course, if you want to find other ones yourself, then here's how to do it (this is assuming you have Windows). Open up Character Map, then find the character you want. Then, click on it. On the bottom left of the screen, you'll see text that says "U+____" where the "____" is some hex code. Take this code, convert it to decimal, and you got your character entity. Ignore the "0x____" to the right of it.
HTML entities can also be specified in hexadecimal so that one doesn’t need to convert to decimal. This is done by adding x: ァ is equivalent to &#12449;

Re: An HTML-based character table file for Telefang.

Posted: Sun May 31, 2009 4:44 am
by Blaziken257
Thanks for that information! That makes things a bit easier and saves some time.