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

Discuss anything related to hacking ROMs of the Telefang games here.
Post Reply
Blaziken257
Posts: 983
Joined: Fri Dec 22, 2006 11:52 am

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

Post 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.
User avatar
Sanqui
Posts: 736
Joined: Sun Dec 16, 2007 12:25 am

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

Post 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 !
Blaziken257
Posts: 983
Joined: Fri Dec 22, 2006 11:52 am

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

Post 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
IIMarckus(imported)
Posts: 27
Joined: Tue Dec 25, 2007 4:30 pm

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

Post 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;
Blaziken257
Posts: 983
Joined: Fri Dec 22, 2006 11:52 am

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

Post by Blaziken257 »

Thanks for that information! That makes things a bit easier and saves some time.
Post Reply