+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  FF1: Trouble with 5-letter names in cure/tent menu
Pages: [1]
Author Topic: FF1: Trouble with 5-letter names in cure/tent menu  (Read 1 times)
pinkpuff
Guest
« on: May 04, 2011, 12:40:29 pm »

Hello,

I've been following the directions in FF.txt in this archive that describe what to change to enable characters to have 5-letter names. Everything works fine except that when you use a tent, potion, cure spell, or other such action that brings up the horizontally oriented menu allowing you to select a party member, their names each have an extra space, causing the text to overflow onto the next line.

Here is a screenshot to illustrate:


Does anyone know what I have to do to remedy this situation? Thanks.
Ryusui
Guest
« Reply #1 on: May 04, 2011, 02:33:25 pm »

From the looks of things, the game is incrementing the PPU position one too many times to display your extended names properly.

Find the routine that sets the PPU pointer and it should prove a trivial fix.
Lenophis
Guest
« Reply #2 on: May 04, 2011, 11:48:31 pm »

More accurately, it's incrementing the same amount of times like it's still depending on the 4-letter names.
pinkpuff
Guest
« Reply #3 on: May 05, 2011, 05:41:25 am »

Quote from: Ryusui on May 04, 2011, 02:33:25 pm
Find the routine that sets the PPU pointer and it should prove a trivial fix.

Awesome, thanks! Though, finding routines like that is a bit above my level at this point (to do the fixes above I was just copying byte changes specified in the text file into a hex editor).

Anyone have any advice on how to go about finding this routine? Or perhaps can point me to a good tutorial or something?

Thanks
snarfblam
Guest
« Reply #4 on: May 05, 2011, 04:40:14 pm »

Probably not too easy if you don't know ASM, which is a pretty serious investment of time, but infinitely helpful in hacking. I would find where names are stored in memory, set a read breakpoint for this address, and enable the break-point just before the menu in question is brought up. You can step through and, with any luck, find yourself at the routine that writes the names to the screen.
Pages: [1]  


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