øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1806.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexa306.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1806.msg19755e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexa306.html.zxYÎg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ0P.ûOKtext/htmlISO-8859-1gzip@øÕûÿÿÿÿÿÿÿÿTue, 10 Mar 2020 17:45:20 GMT0ó°° ®0®P®€§²ð®XÎg^ÿÿÿÿÿÿÿÿD*û Project II: Final Fantasy IV

Author Topic: Project II: Final Fantasy IV  (Read 25543 times)

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Project II: Final Fantasy IV
« on: January 27, 2013, 01:48:53 PM »
It's out! Project II, the extensive Final Fantasy II US script rewrite that I've been dying to make since I was 11. Here's the link to the topic on RHDN: http://www.romhacking.net/forum/index.php/topic,17302.0.html

Check it out!

(Original post below)



Hello everyone! :happy: I'm doing a small project on FFII US, and it's actually going along swimmingly! However, I've noticed there are plenty of messages that contain a single letter, usually D (or T in the case of the end of Bank 3) for filler space.

Now, there are a lot of these, and what I was wondering was, is it okay to remove them? They seem to serve no purpose and have nothing special about them that I can see in ff4kster.

Thank you in advance for your time, and have a nice day!
« Last Edit: December 07, 2014, 09:59:07 PM by vivify93 »
Hacking is hard. :sad:

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: "D" and "T" messages in FFII US' dialogue?
« Reply #1 on: January 27, 2013, 03:04:21 PM »
I think the answer is yes.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: "D" and "T" messages in FFII US' dialogue?
« Reply #2 on: January 27, 2013, 05:07:01 PM »
They're placeholders; it should be safe to remove them as long as you leave the null terminators.

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #3 on: January 28, 2013, 01:10:06 PM »
Thank you both! :happy:

I have another question. I've been writing a lot of dialogue lately, and I've discovered that all messages in bank 1 past 470 appear to be have been changed to mixed garbage and various texts from bank 2.

Is this the result of my adding text? It seems like a spillover issue of some sort, but as I've never handled dialogue on this wide a scale before, I'm unfamiliar with this.

Thanks in advance for your help!
Hacking is hard. :sad:

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #4 on: January 28, 2013, 03:10:08 PM »
It could be a mistake in the saving routine in FF4kster. I know it's a little late to be saying this but always make frequent backups of your rom, especially when working with an in-development editor like mine...

If you've been adding a significant amount of text without deleting enough then it might be bleeding into other data. There are currently no safeguards against that (actually I added such a restriction for bank 2 but haven't gotten around to securing the others yet). I'll look into it.

 :edit:
I added a check to see if bank 1 overflows. Now it won't save your changes if you have too much text in bank 1 or 2. It probably won't be able to undo the damage already caused, but if you have a previous version you can roll back to it will hopefully prevent a similar disaster in future. Bank 3 is yet to come, as are other areas of data which could theoretically overflow.
« Last Edit: January 28, 2013, 03:51:42 PM by Pinkpuff »
Let's dance!

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #5 on: January 30, 2013, 02:29:21 AM »
Alright! Thank you, PinkPuff. :happy: I can salvage what's left; if nothing else I'll go back and look over the script again.

Actually, I have a somewhat amusing story.

After upgrading to the latest version of ff4kster--great improvements in the messages editor, by the way--I kept getting overflow errors. I decided to clear the garbage messages for now and just do what I could with the script later, and I made a discovery.

One of the simple two-page lines had been changed to eight pages padded with garbage. You know how kids like to do that keymash thing when they think they're being cute, like "fadskj;ljfkads;l"? If not, now you do.

But basically, it was like that, only with FFIV icons and control codes mixed in.

--

I have one more question! Even after gutting the script a bit, I'm still running out of room in bank 1. I've noticed bank 3 has tons and tons of space left unused, so I was wondering: would it be okay to move some of bank 1's messages to bank 3, or would that mess with something? I plan to make this project as a base for other patches.
Hacking is hard. :sad:

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #6 on: January 31, 2013, 04:05:22 AM »
Glad to hear you're finding it useful!  :childish:

I don't see any reason you couldn't put a bunch of stuff into Bank 3... maybe someone who knows the inner workings of the game better than I do can prove me wrong on this but I'm pretty sure the only practical difference between Bank 1 and 3 is that you can put yes/no decision boxes with bank 1 messages if you want but not bank 3.

Just be forewarned I still haven't added a check for Bank 3 overflow.
Let's dance!

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #7 on: February 01, 2013, 12:42:21 AM »
Well, let's hope my rewrites fit within the allotted space when you finally do, because it looks like everything fits.

Mother of god. So many Ts in bank 2... I think I spent a good 20 to 30 minutes removing them all.
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #8 on: February 01, 2013, 10:54:14 AM »
The "T'"'s are placeholders or rather "placement settings". It likely kept whoever the poor script debugger was for the FFIV project in line with where he was in the script. (There's a T for every area, regardless if there is text or not, for instance.)

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #9 on: February 04, 2013, 02:23:08 AM »
I have another semi-funny tale.

Somehow, I managed to strip out chunks of code from the level up data. What really sucks is that after the battle in which I discovered this, for first time ever in all my years of playing FFIV, I got the Imp summon legitimately--completely by chance!--but I had to reset to fix the data.

I mostly find it hilarious.
« Last Edit: February 04, 2013, 04:04:28 PM by vivify93 »
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #10 on: February 04, 2013, 12:10:23 PM »
Haha! Wha? I am very curious as to what you did to accidentally gut the Level Up data. I have a plan down the line to make the Level 70 Level ups the default level up system and if I knew what you were fiddling with that may give me an idea.

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #11 on: February 04, 2013, 04:07:47 PM »
Honestly, I have absolutely no idea. I went into the level up stats menu once accidentally, and another time when I was feeling my way around ff4kster.

The only other level-related thing I did was give Rosa, Porom, and Fusoya back Armor, Shell, and Dispel, but I don't think that should've done anything...

I fixed it by importing FFII US' data into my mod.

At least I know now to beta test.

 :edit: Actually, I found this out--the Ds in bank 2 are control codes of some kind. I don't know why, but they are. For some reason, if you remove them, the surrounding text in the data is eliminated. Thought I should put this out there.
« Last Edit: February 05, 2013, 03:33:27 AM by vivify93 »
Hacking is hard. :sad:

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #12 on: February 04, 2013, 05:16:22 PM »
That makes sense. It's not that they're "control codes" more that they are a "place saver." They are a note to the game that this is an area of text reserved for This map. And keeps it on track for actual future text. If you filled a "D" text box with actual text odds are it would show up without any issues (if set appropriately, of course). This is how I found the start and finish by realizing that a lot of D's were being referred to in maps that had no text.

 :edit: Yeah, looks like that's the case. I replaced the two D's in Mysidia with no issue and loaded up the unused Black Mage who normally has "D" and indeed he had my given text.

« Last Edit: February 04, 2013, 05:25:21 PM by Grimoire LD »

vivify93

  • Liquid Flame
  • *
  • Posts: 304
  • Gender: Male
  • White Wizard
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #13 on: February 04, 2013, 07:19:50 PM »
Hello again! :happy: I'm getting more ambitious lately, so I have three more questions in order of importance.

1. I can't seem to find the data for the spells Tellah gains back on Mt. Ordeals in ff4kster. How would I go about editing back in Armor, Shell, and Dispel for him? :edit: Thanks to PinkPuff - Event 98 in ff4kster.

2. I tried to alter the "Change" command, that you get by pressing left on the D-Pad in battle during a unit's turn, to say "Row," but it looks like it didn't take. Does anyone know what gives? I did save the ROM after changing the command's name, and it does appear, at least, to say "Row." Maybe I should just do a search for "Chang" instead, since that's how it's spelled in the command strings.
:hmm:

3. How hard would it be to restore the battle mode and multiplayer options? I know the bytes still exist in the data, the problem is just making them appear in the customizer menu.

This is what I'm thinking of doing.

Current customizer menu layout:
Code: [Select]
Battle Speed
          Fast   Slow
          1 2 3 4 5 6

Battle Message
          Fast   Slow
          1 2 3 4 5 6

Sound     Stereo Mono
Window Color
          R |------|
          G |------|
          B |------|

Desired customizer menu:
Code: [Select]
Battles   Active Wait
Battle Speed
          Fast   Slow
          1 2 3 4 5 6
Battle Message
          Fast   Slow
          1 2 3 4 5 6
Players   One    Two
Sound     Stereo Mono
Window Color
          R |------|
          G |------|
          B |------|

I'm not interested in restoring the button assignment editor due to the tutorials added to FFII US, or the remember / reset option for the cursor, since in FFIV it doesn't function like other FFs anyway.
« Last Edit: February 06, 2013, 02:05:36 PM by vivify93 »
Hacking is hard. :sad:

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: vivify93's FFIV hacking questions
« Reply #14 on: February 05, 2013, 10:22:05 AM »
1. I can't seem to find the data for the spells Tellah gains back on Mt. Ordeals in ff4kster. How would I go about editing back in Armor, Shell, and Dispel for him?

Event 98 in FF4kster's Event Editor, the default name for it is "Cecil's transformation, Tellah remembering".

Near the middle there's a chunk of "Add ____ to Tellah White" script items. Just go near there and hit insert and put in "Add Dispel/Armor/Shell/whatever to Tellah White".
Let's dance!