Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: root670 on February 17, 2014, 11:40:57 pm

Title: Font table assistance (Love Hina Gorgeous Chiratto Happening PS2)
Post by: root670 on February 17, 2014, 11:40:57 pm
Hello all,
I've been working on the beginnings of a translation patch for Love Hina Gorgeous: Chiratto Happening. Long story short, I've managed to unpack the game's assets and found the font file (see here: http://imgur.com/P5xMZp8 (http://imgur.com/P5xMZp8)). It's split into two 512x1024 chunks (stored as two TM2 files), the one linked being the first one. The first chunk contains 1288 characters (28 per row, 46 rows). Each character appears to be 17x22 resolution.

Anyway, the latin-based part is easy to make a table for (3D00=a, 3E00=b, 3F00=c, etc), but I'm wondering if the hiragana and kanji that follows is ordered in a "standard" sequence. I'm really hoping that's the case, since typing out 1288 characters would be a nightmare haha.

I can share my notes I've made so far along with a file dumper for the game if you're interested. The game doesn't use any compression or encryption, so accessing and editing the files is fairly simple. Thanks!

February 18, 2014, 10:59:10 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Here's my table so far: http://rghost.net/private/52511766/4efbfa61c45efe6b440c09df579049ba
And here's an example file from that game that contains text: http://rghost.net/private/52511838/73523cfc97c2e37ba74166678011bd7c

I picked that file as a starting point because it's one of the few that has an English word in it. Starting at 0x7AE, it says "PlayStation2" as part of a message that says something like "Checking memory card (for PlayStation2)..."
Title: Re: Font table assistance (Love Hina Gorgeous Chiratto Happening PS2)
Post by: root670 on March 01, 2014, 11:56:43 pm
Any ideas? Perhaps I'll have to match them entirely by hand  :o
Title: Re: Font table assistance (Love Hina Gorgeous Chiratto Happening PS2)
Post by: Scio on March 02, 2014, 12:28:10 am
I don't know if this will help you, but you can use an OCR software to convert the image into text, and use this: http://www.romhacking.net/utilities/524/ to create your table from that text file.
Title: Re: Font table assistance (Love Hina Gorgeous Chiratto Happening PS2)
Post by: root670 on March 02, 2014, 10:44:39 am
That was the exact type of utility I was looking for! Using Capture2Text, I was able to create the first chunk of the font table in about an hour. The accuracy of the OCR was almost perfect, only having trouble recognizing a total of 10 characters or so (that I noticed) out of more than 1200. Then I just dumped what I had captured into a textfile, ran it through TableCreator.exe, and it was finished.

Thanks for the suggestion!