Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: tduyduc on August 25, 2019, 12:22:44 pm

Title: Final Fantasy 6 Advance font hacking
Post by: tduyduc on August 25, 2019, 12:22:44 pm
Hi everyone,

I'm struggling with creating a menu (small) font modification for FF6A. To be specific, all letters glyphs were working fine but not numbers. Numbers were visible in Tile Layer Pro (starting from offset 0x1626A0 with Virtual Boy tile format) but only the numbers in the bestiary entry numbers took effect (not HP/MP numbers in the main menu); see the screenshot below.

Numbers not showing as expected, after modification: https://imgur.com/mrA8pAl (https://imgur.com/mrA8pAl)
Numbers modified as expected: https://imgur.com/a/zsHD7fD (https://imgur.com/a/zsHD7fD)

Could anyone please show me the ROM offset of those number glyphs?
Title: Re: Final Fantasy 6 Advance font hacking
Post by: vivify93 on August 26, 2019, 12:57:42 pm
You have to use a special editor and a hex editor.

Open a hex editor, search for the word "FONT" (Should show up 3 times). Move to the left by four bytes (So it displays "....FONT" in the text). Dump the binary data using said option from your hex editor's context menu. (You should probably increase the second non-0 hex byte by 1, when counting starting from the leftmost number)

Name the dumped files with a ".FNT" extension

Open the .FNT files in Square Enix Remakes Font Editor https://www.romhacking.net/utilities/624/

Make your changes, save, then insert them back into the same locations using the hex editor.

Hope that helps, sorry these instructions are sort of esoteric
Title: Re: Final Fantasy 6 Advance font hacking
Post by: tduyduc on August 27, 2019, 12:20:37 pm
Many thanks! :woot!: I managed to find the final (hidden) third font via searching for all 3 FONT instances on HxD Hex Editor. It is the condensed small font from FF4A but their letters are not actually seen in FF6A interface.

Topic solved.