Author Topic: Window Design Data?  (Read 722 times)

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Window Design Data?
« on: March 15, 2008, 01:16:42 pm »
I've gone through a great bit of data.

02A1A4 to 3FC815 and I have yet to find what allows the Window Design to be changed.  I thought maybe there'd be a pointer for each window design...but that failed misserably.  I've tried above and below the data and it mostly ends up doing nothing in the menu, or it just has something to do with Shop Data.  Am I missing something that's obvious?  Or would I have to search farther.

Edit: A little beyond 3FC815 is the Naming Screen letters...Hmm
« Last Edit: March 15, 2008, 01:20:29 pm by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Window Design Data?
« Reply #1 on: March 15, 2008, 02:13:21 pm »
I checked the rest of the rom and I found nothing for the Window Data...Ack..I wish I could find a breakpoint for this stuff ;/

JLukas

  • Fan Project Leader
  • Squaretable Knight (+400)
  • *
  • Posts: 426
    • View Profile
Re: Window Design Data?
« Reply #2 on: March 15, 2008, 04:35:52 pm »
Yeah, this is tricky.  Geiger and I ran into a similar issue while investigating the possibility of an ASCII text VWF.  What happens is that after the graphics themselves are sent to VRAM, another set of routines will create a tilemap in RAM to arrange the data.  My best guess is it's in the 028000-02A000 range.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Window Design Data?
« Reply #3 on: March 15, 2008, 05:47:09 pm »
Alright.  What i'm attempting to do right now is alter the window loading data to actually load up seperate fonts for dialogue.

JLukas

  • Fan Project Leader
  • Squaretable Knight (+400)
  • *
  • Posts: 426
    • View Profile
Re: Window Design Data?
« Reply #4 on: June 30, 2008, 02:19:43 am »
Found the range for window tilemaps.  Set an execute breakpoint on C2ED31, and a second on C2ED56.  Within that loop, it reads data from the 3FBxxx-3FCxxx range and creates the tilemap(s) in RAM.

A good, simple example to start researching this would be the new game Battle Mode selection screen.

Data range: 3FC429-3FC456, and reads data from FFBD18,y

All of this data is basically a set of instructions to create the windows: copy x tile to x location, then repeat x times for x lines.

One result in this case is a tilemap at 7E4204-7E447B for the textbox window (DC 03 is the upper left tile of the textbox, and E7 03 the bottom right tile)

Those instructions will have to be decoded before it's possible to create custom windows.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Window Design Data?
« Reply #5 on: June 30, 2008, 12:01:07 pm »
^-- Interesting.  I went with that for the MAIN menu that shows everyone stats, i'm fairly certain I have this data recorded a bit somewhere.

Edit: Hm...I was hoping that by finding the Japanese naming screen data, that I could extend it to 12 letters per line in the English version...Apparenty that failed horribly >_<  I STILL haven't found the data for that.

Yea, in my Editing Menu Data.txt file.
=============================
3FB808 - Menu Editing

3fB825 - Character Scrolling Main Menu Editing
3FBBB0 - 3FBC57  - Set all to FF and menu has no shading
3FBD5C-3FBD73 - "I have listed as Coordinates and other data for six main menu icons" (Quoted by: Geiger)
3FBD7D - Gold Text Modifying
3FBD7F-80 - Time X Coordinate

3FBD84 - PWR SPD EVA etc Text Modifying
3fBD85 - PWR SPD EVA etc X Coordinates
3fBD86 - PWR SPD EVA etc Y Coordinates

3fBD89 - Menu X Coordinate (Messes up graphics =/)
3fBD8A - Menu Y Cooridnate (Messes up Graphics =/)

3fBD8E - Character Scrolling Menu X Coordinate (back)
3fBD8F - Character Scrolling Menu Y Coordinate (back)
3fBD90 - Character Scrolling Menu Width
3fBD91 - Character Scrolling Menu Height
3fBD93 - Character Scrolling Menu Bottom 3 Objects Width
3fBD94 - Character Scrolling Menu Bottom 3 Objects Y coordinate
3fBD97 - Character Scrolling Menu Bottom 3 Objects Height
3fBD99 - Character Scrolling Column Menu Height

3fBD9C - Character Status X coordinates
3fBD9D - Character Status Y coordinates
3fBD9E - Character Status Width
3fBD9F - Character Status Height
3fBDA9 - Character Stat Spacing

3fBDB1-2 - Character 2-8 MP Y coordinate

3fBDB5 - Start of Editing Column

3FBE11 - Character Stats X Coordinate Menu
3FBE12 - Character Stats Y Coordinate Menu

3FBE20 - Characters Name/LVl Text Modifying Status

3fC53C-41 - Editing the text "Level **"
3FC542 - Edits the max level symbol  07 = Star * 09 = 00
3FC546 - Pwr Hit Mag ** editing
3FC549 - Edits Max symbol for Power 00 = ** 0a = 99
3FC557 - SPD EV STAM ** X COORDINATE
3FC55F - SPD Max Symbol Editing
3FC564 - STAM MAX SYMBOL EDITING
3FC56A - M.Def ** X coordinates
3FC56D - M.def Max Symbol editing
3FC5BF - How many letters appear in Menu (Gets rid of 1 ><)
3FCB04 - Prelease (Same as above)
3FC5CA - X Coordinate of Health Points
3FC5D5 - Editing / That seperates the HP
3FC5DE-DF - Editing the blank spaces between MP
3FC5E5 - Editing / that seperates MP

3FC5BD-3FC5C1 - General Area for Character Name
3FC503 - PWR. text editing

3FC6A2 - 3FC730? - Menu Settings Editing - Menu Settings Editing
3FC815 - Menu Tech Editing

3FC8F4 - Shop Editing

3FCBB6 - Edits the outline of the text if it's a "NEW" item
3FCBBB - Edits the color of the text if it's a "NEW" item

3FCF0? - Pwr Speed Evade etc editing
3FD56E - Window Design Box Icon Editing

[attachment deleted by admin]
« Last Edit: June 30, 2008, 01:30:16 pm by justin3009 »