News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: FF1: Trouble with 5-letter names in cure/tent menu  (Read 2850 times)

pinkpuff

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
FF1: Trouble with 5-letter names in cure/tent menu
« on: May 04, 2011, 01: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.
Let's dance!

Ryusui

  • Hero Member
  • *****
  • Posts: 4989
  • It's the greatest day.
    • View Profile
    • Tumblr
Re: FF1: Trouble with 5-letter names in cure/tent menu
« Reply #1 on: May 04, 2011, 03: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.
In the event of a firestorm, the salad bar will remain open.

Lenophis

  • IRC Staff
  • Hero Member
  • *****
  • Posts: 968
  • The return of the sombrero!
    • View Profile
    • Slick Productions
Re: FF1: Trouble with 5-letter names in cure/tent menu
« Reply #2 on: May 05, 2011, 12:48:31 am »
More accurately, it's incrementing the same amount of times like it's still depending on the 4-letter names.


https://ff6randomizer.codeplex.com/ - Randomize your FF6 experience!

pinkpuff

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: FF1: Trouble with 5-letter names in cure/tent menu
« Reply #3 on: May 05, 2011, 06:41:25 am »
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
Let's dance!

snarfblam

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 593
  • CANT HACK METROID
    • View Profile
    • snarfblam
Re: FF1: Trouble with 5-letter names in cure/tent menu
« Reply #4 on: May 05, 2011, 05: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.