+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Dragon Warrior 7 compression (want to edit font)
Pages: [1]
Author Topic: Dragon Warrior 7 compression (want to edit font)  (Read 1 times)
Stabwound
Guest
« on: February 22, 2011, 05:04:34 pm »

Anyone have any idea/tips/advice on how to go about editing the font of the US Dragon Warrior 7? I find the font to be incredibly annoying and ugly, and would love to tweak it a bit.

The entire game seems to be compressed in a file called "HBD1PS1D.W71" so I have no idea how to go about even extracting that file and looking for the font. Opening it in a hex editor shows just gibberish and there are practically zero results in google.

I realize this probably comes across as a "I want to hack this ROM, tell me how!" thread, but I'm just wondering if anyone has looked at DQ7 at all and knew anything about it. I am fairly technically apt, but don't have any experience in ROM hacking at all, so if this is hopeless just tell me and I won't bother.  Wink
DaMarsMan
Guest
« Reply #1 on: February 22, 2011, 05:06:59 pm »

I'm not sure about the font. I would love to see this game hacked and translated without fixed width fonts. The script is pretty much find but the items and menu stuff was butchered.

The game usese lz+huffman for it's scripts apparently. I think what it does is compress map files with LZ. The map files are decompressed to ram and the script remains in huffman. A string is read and decompressed with the huffman table and then displayed.
DQ Chao284
Guest
« Reply #2 on: February 23, 2011, 11:41:00 am »

Quote from: DaMarsMan on February 22, 2011, 05:06:59 pm
I'm not sure about the font. I would love to see this game hacked and translated without fixed width fonts. The script is pretty much find but the items and menu stuff was butchered.

The game usese lz+huffman for it's scripts apparently. I think what it does is compress map files with LZ. The map files are decompressed to ram and the script remains in huffman. A string is read and decompressed with the huffman table and then displayed.
That makes it TWICE as hard to decompress it, much to the despair only Advance hackers would only have the ablity to do so, because I know the font would be 24x24 which requires CrystalTile to render it, I mean look at the SNES, DQ5, DQ6, DQ3r, they used Fixed Width format and can not change the characters without brute force ASM hacking in the Counsule loader section of the code, something dangerous to do, since I am trying to shorten the font for DQ6 NoProgress's translation, but the DS out beats 2 to 1 for it since it has NFTR files,

I just wish there was some of the same code from DQ6 SNES that was used in DQ3r so it would be easy to use a fixed high with VWF capablities, much like Byuu's DQ5 Translation and DQ3r, then I maybe able to work on the font so that some day if anyone is willing to want to finish off the script or re-translate stuff, then that will work.
Neil
Guest
« Reply #3 on: February 23, 2011, 06:02:56 pm »

I'll have to see if I can find my documentation. I have this up on my website from like 8 years ago. I don't know if I still have the source and documentation. What I remember (it's been 8 years so cut me some slack) the font is 2bpp interleaved. I don't remember if it was half byte or full byte interleaved. You'll be able to spot the font in nana if you just look at the VFS package at 1bpp and pay close attention. The DW7 and DQ4 fonts both have english letters which kinda stick out even if partially obscured by interleaving. You may be able to write a feidian plugin for it or you might have to write something yourself. Nothing out there is going to be able to handle it natively.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC