+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Menu data in FF4?
Pages: [1] 2
Author Topic: Menu data in FF4?  (Read 2 times)
JCE3000GT
Guest
« on: December 05, 2007, 10:43:00 pm »

I can't find anyone from j2e to contact,so I ask here.  Does anyone either know where the menu data is or know someone from j2e that I can contact?  Even if they don't have it I'd still like to get permission to use their translation for a base for my mod.
Ryusui
Guest
« Reply #1 on: December 05, 2007, 11:20:38 pm »

DarknessSavior might be able to help.
JCE3000GT
Guest
« Reply #2 on: December 06, 2007, 12:38:29 am »

Quote from: Ryusui on December 05, 2007, 11:20:38 pm
DarknessSavior might be able to help.

Thanks, I'll msg him.   Smiley
Disch
Guest
« Reply #3 on: December 06, 2007, 11:56:54 am »

Rather than converse through PM, why not just encourage him to post on the board publicly so the information is available to others?

I never understood the point of using PMs for that purpose, honestly.
DarknessSavior
Guest
« Reply #4 on: December 06, 2007, 01:09:48 pm »

As I said in my reply to his PM, I don't have my FFIV notes on me right now, but I do know where the menu data (and basically any other text) is located. Though, the data I have is for FFIV Easy Type, I'd imagine it's the same all around, or at least, it's pretty close. This is based on the Japanese versions, too, not J2E's translation.

The menu itself is kinda screwy, and I really don't understand what all the random codes do, though it's probably a pointer system of some kind.

I'll probably post the location of the menu on Saturday.

~DS
Gemini
Guest
« Reply #5 on: December 06, 2007, 02:38:09 pm »

What kind of data are you talking about? I have several assemblies of my old FF2U hack with expanded windows, edited code-generated strings and other crap. I dunno if the two games share the same stuff, but if they do I can give you all my sources since I haven't been working on them for a long time.
JCE3000GT
Guest
« Reply #6 on: December 06, 2007, 02:49:24 pm »

Quote from: Gemini on December 06, 2007, 02:38:09 pm
What kind of data are you talking about? I have several assemblies of my old FF2U hack with expanded windows, edited code-generated strings and other crap. I dunno if the two games share the same stuff, but if they do I can give you all my sources since I haven't been working on them for a long time.

I would prefer working with FF2us since I know where everything is--FF4 changes some stuff around a bit.  Any data you have would be appreciated either way.  I (along with Dragonsbrethren) are compiling as much data from any version of FF4 and FF2us to be released on a wiki page we're developing.  And as a bonus I might code a simple utility to edit the menus in FF2us.
Dragonsbrethren
Guest
« Reply #7 on: December 07, 2007, 03:24:00 am »

FF2us Window Data. All offsets are in unheadered SNES LoROM SlowROM format:

(Format 1: Positioning Byte 1, Positioning Byte 2, Width, Height - Windows)
(Format 2: Positioning Byte 1, Positioning Byte 2 - Text)
(Format 3: Y Position - Cursors)
(Format 4: Positioning Byte, Unknown Byte - Equip Menu Transition)

01/D81E: Main Menu Party Window (1)

01/D823: Main Menu GP Window (1)

01/D826: Main Menu Time Window (1)

01/D82A: Main Menu Selection Window (1)
01/D82E: Main Menu "Item" Selection Text (2)
01/D835: Main Menu "Magic" Selection Text (2)
01/D83D: Main Menu "Equip" Selection Text (2)
01/D845: Main Menu "Status" Selection Text (2)
01/D84E: Main Menu "Form" Selection Text (2)
01/D855: Main Menu "Change" Selection Text (2)
01/D85E: Main Menu "Custom" Selection Text (2)
01/D867: Main Menu "Save" Selection Text (2)

01/D8CC: Namingway Menu "ABC" Cursor (3)
01/D8CD: Namingway Menu "END" Cursor (3)
01/D8CE: Namingway Menu "ABC" Text (2)
01/D8D4: Namingway Menu "END" Text (2)

01/D8E0: Item Menu Inventory Window (1)

01/D8E4: Main Menu to Item Menu Transition (1)

01/D8E8: Item Menu Description Window (1)

01/D8ED: Item Menu "No Need" Window (1)
01/D8F0: Item Menu "Ne Need" Text (2)

01/D906: Item Menu "Item" Window (1)
01/D90A: Item Menu "Item" Text (2)

01/D911: Item Menu Unused "Recover HP." Text (2)
01/D91F: Item Menu "Whom?" Text (2)
01/D927: Item Menu "Cannot use here." Text (2)
01/D93A: Item Menu "Nothing here." Text (2)

01/D94A: Item Usage Menu Left Party Window (1)
01/D94E: Item Usage Menu Right Party Window (1)

01/D952: Main Menu "Cannot Use" Window (1)
01/D956: Main Menu "Cannot Use" Text (2)

01/D963: Magic Menu Magic Window (1)

01/D967: Main Menu to Magic Menu First Character Status Window Transition (1)
01/D96B: Main Menu to Magic Menu Second Character Status Window Transition (1)
01/D96F: Main Menu to Magic Menu Third Character Status Window Transition (1)
01/D973: Main Menu to Magic Menu Fourth Character Status Window Transition (1)
01/D977: Main Menu to Magic Menu Fifth Character Status Window Transition (1)

01/D97B: Magic Menu Category Selection Window (1)

01/D97F: Magic Usage Menu Party Window (1)

01/D983: Magic Usage Menu "Whom?" Window (1)

01/D987: Magic Usage Menu "Need MP" Window (1)
01/D98B: Magic Usage Menu "Need MP" Text (2)

01/D995: Magic Usage Menu "Whom?" Text (2)

01/D99D: Main Menu to Equip Menu First Character Transition (4)
01/D99F: Main Menu to Equip Menu Second Character Transition (4)
01/D9A1: Main Menu to Equip Menu Third Character Transition (4)
01/D9A3: Main Menu to Equip Menu Fourth Character Transition (4)
01/D9A5: Main Menu to Equip Menu Fifth Character Transition (4)

01/D9A7: Equip Menu (Hidden) First Character Status Window (1)
01/D9AB: Equip Menu (Hidden) Second Character Status Window (1)
01/D9AF: Equip Menu (Hidden) Third Character Status Window (1)
01/D9B4: Equip Menu (Hidden) Fourth Character Status Window (1)
01/D9B7: Equip Menu (Hidden) Fifth Character Status Window (1)

01/D9BB: Equip Menu Equipment Window (1)

01/D9BF: Equip Menu "RHand" Text (2)
01/D9C7: Equip Menu "LHand" Text (2)
01/D9CF: Equip Menu "Head" Text (2)
01/D9D6: Equip Menu "Body" Text (2)
01/D9DD: Equip Menu "Arms" Text (2)

01/D9E4: Equip Menu (Unused?) "Items full." Text (2)
01/D9F6: Equip Menu " To equip" Text (2)
01/DA02: Equip Menu Unused "with both" Text (2)
01/DA0E: Equip Menu Unused "hands." Text (2)

01/DA17: Status Menu Character Status Window (1)

01/DA1B: Status Menu "Status" Window (1)
01/DA1F: Status Menu "Status" Text (2)

01/DA28: Status Menu "Lv." Text (2)
01/DA2E: Status Menu "Exp." Text (2)
01/DA35: Status Menu "HP" Text (2)
01/DA3A: Status Menu "MP" Text (2)
01/DA3F: Status Menu "Ability" Text (2)
01/DA49: Status Menu "Str." Text (2)
01/DA50: Status Menu "Agil." Text (2)
01/DA58: Status Menu "Vit." Text (2)
01/DA5F: Status Menu "Wis." Text (2)
01/DA66: Status Menu "Will" Text (2)
01/DA6D: Status Menu "Attack" Text (2)
01/DA76: Status Menu "Attack%" Text (2)
01/DA80: Status Menu "Defence" Text (2)
01/DA8A: Status Menu "Defence%" Text (2)
01/DA95: Status Menu "Mag Def" Text (2)
01/DA9F: Status Menu "Mag Def%" Text (2)
01/DAAA: Status Menu Attack "x" Text (2)
01/DAAE: Status Menu Defence "x" Text (2)
01/DAB2: Status Menu Mag Def "x" Text (2)
01/DAB6: Status Menu "For level up" Text (2)

01/DAC5: Shop GP Window (1)

01/DAC9: Shop Selection Window (1)

01/DACD: Shop Type Window (1)

01/DAD1: Shop Dialogue Window (1)

01/DAD5: Shop Items Window (1)

01/DAD9: Shop Party Window (1)

01/DAF5: Shop "May I help you?" Text (2)
01/DB07: Shop "Buy  Sell Exit" Text (2)
01/DB18: Shop "Which one?" Text (2)
01/DB25: Shop "Qty.   1" Text (2)
01/DB30: Shop "GP" Text (2)

01/DB35: Shop "Your bag is full." Window (1)
01/DB39: Shop "Your bag is full." Text (2)
01/DB4D: Shop "Sort it out first!" Text (2)

01/DB62: Shop "Not enough GP!" Window (1)
01/DB66: Shop "Not enough GP!" Text (2)
01/DB77: Shop "Well, good-bye." Text (2)

01/DB89: Shop "Thank you." Window (1)
01/DB8D: Shop "Thank you." Text (2)

01/DB9A: Shop Sell Window (1)
01/DB9E: Shop Sell Window "That's " Text (2)
01/DBA8: Shop Sell Window "GP" Text (2)
01/DBAE: Shop Sell Window "x" Text (2)
01/DBB2: Shop Sell Window "Yes  No" Text (2)

01/DBD6: Save Menu File Windows (1)

01/DBDA: Save Menu Save/New Game Window (1)
01/DBDE: Save Menu "New Game" Text (2)
01/DBE9: Save Menu Unused "Battle Speed" Text (2)

01/DBF8: Save Menu "This Data?" Window (1)

01/DBFC: Save Menu Time Window (1)

01/DC00: Save Menu GP Window (1)

01/DC04: Save Menu "This" Text (2)
01/DC0B: Save Menu "data?" Text (2)
01/DC13: Save Menu "Yes" Text (2)
01/DC19: Save Menu "No" Text (2)

01/DC1E: Save Confirm Menu "Time" Text (2)

01/DC25: Save Confirm Menu "Empty" Text (2)

01/DC2D: Save Menu "Save" Text (2)
01/DC34: Save Menu "Canceled." Text (2)

01/DC41: Save Confirm Menu "Done!" Text (2)
01/DC49: Save Confirm Menu "Save" Text (2)
01/DC50: Save Confirm Menu "here?" Text (2)
01/DC58: Save Confirm Menu "Cancel" Text (2)

01/DC61: Save Confirm Menu "Done!" Window (1)

01/DC65: Namingway "Yes    No" Window (1)

01/DC69: Namingway "Namingway:Change name?" Text (2)
01/DC82: Namingway "Who's name?" Text (2)
01/DCA1: Namingway "Very well." Text (2)
01/DCAF: Namingway Dialogue Window (1)

01/DCB2: Namingway Name Window (1)

01/DCB6: Fat Chocobo Dialogue Window (1)

01/DCBA: Fat Chocobo Inventory Window (1)

01/DCBE: Fat Chocobo "Give  Take" Window (1)
01/DCC2: Fat Chocobo "Give  Take" Text (2)

01/DCCF: Fat Chocobo "What do you want?" Text (2)
01/DCE3: Fat Chocobo Unused "Did you call me?" Text (2)
01/DCF6: Fat Chocobo "What'll you give me?" Text (2)
01/DD0D: Fat Chocobo "What are you taking?" Text (2)
01/DD24: Fat Chocobo "I'm full!" Text (2)
01/DD30: Fat Chocobo "Clean your bag!     " Text (2)

01/DD47: Custom Menu "Customizer" Window (1)
01/DD4B: Custom Menu "Customizer" Text (2)

01/DD58: Custom Menu Options Window(1)
01/DD5C: Custom Menu Battle Speed "Fast" Text (2)
01/DD63: Custom Menu Battle Speed "Slow" Text (2)
01/DD6A: Custom Menu Battle Message "Fast" Text (2)
01/DD71: Custom Menu Battle Message "Slow" Text (2)
01/DD78: Custom Menu "Battle Speed" Text (2)
01/DD87: Custom Menu "Battle Message" Text (2)
01/DD98: Custom Menu "Window Color" Text (2)
01/DDA7: Custom Menu "Sound" Text (2)
01/DDAF: Custom Menu "Stereo Mono" Text (2)
JCE3000GT
Guest
« Reply #8 on: December 07, 2007, 02:08:46 pm »

I'll assume that FF4 follows the same format, positions near the text?
Dragonsbrethren
Guest
« Reply #9 on: December 07, 2007, 05:39:23 pm »

Yes. It's fairly simple to expand the text within its menu too, these just run through every string until they hit an $00 terminator, $01 is used to signify the start of next positioning bytes, no pointers involved unlike FF6.

I'm going to clean this data up tonight and write a nice html file describing how to modify these.
Shadowsithe
Guest
« Reply #10 on: December 08, 2007, 03:13:30 pm »

That might make a good document.
DarknessSavior
Guest
« Reply #11 on: December 10, 2007, 08:50:07 am »

Jesus, DB. You really got deep into FFIV.

By any chance, can you tell me where the graphic data for the "Miss" in battle is? I want to change it to English in my hack, and I can't find it, I think it may be compressed. *grumbles*

~DS
Dragonsbrethren
Guest
« Reply #12 on: December 13, 2007, 04:51:08 am »

Quote from: DarknessSavior on December 10, 2007, 08:50:07 am
Jesus, DB. You really got deep into FFIV.

By any chance, can you tell me where the graphic data for the "Miss" in battle is? I want to change it to English in my hack, and I can't find it, I think it may be compressed. *grumbles*

~DS

I missed this post before. The Miss graphic is at file address 0x67C60 in an unheadered ROM. It's stored in 3BPP format, so unfortunately YY-CHR can't edit it (TLP and Tile Molester can though).

We're currently working on documenting FF2us and FF4's main menu code. Once I find enough I'm going to release a patch that restores all the menus (Config, Custom Controls, Multiplayer) that were cut from the game.
DarknessSavior
Guest
« Reply #13 on: December 13, 2007, 12:03:41 pm »

You know, yesterday I was messing with finding some fonts, and I was going "I wonder if there are any games that actually use 3BPP format."

Thanks for the info. That's for the Japanese ROM, right? I know the locations are slightly different in FFII US.

~DS
KingMike
Guest
« Reply #14 on: December 13, 2007, 12:50:47 pm »

Quote from: DarknessSavior on December 10, 2007, 08:50:07 am
I think it may be compressed. *grumbles*

~DS

Well, I believe 3BPP IS a form of compression. Grin
Pages: [1] 2  


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