Announcement

Collapse
No announcement yet.

Final Fantasy VII

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Final Fantasy VII

    I'm going to post some of the info I've been finding while trying to hack a sprite modifier. It's quite related to Lazy's In Town Graphics Mod Project Some of the info here is redundant, but oh well.

    Code:
    Universal Difference Between Sprites: 84
    
    Start of Sprite 0
    80074EA0
    
    Offsets in sprites:
    
    00 - Start, nothing?
    
    04 - ? (Turn to 01, changes to 02)
    
    08 - Pointer to motion data/graphics alteration(!?) Default is 0. Varies by room. [32 bits]
    
    0D - Time to next blink (in # of frames?)
    
    10 - X Coordinates [32 bits]
    14 - Y Coordinates [32 bits]
    18 - Z Coordinates [32 bits]
    
    3A - Echo of rotation angle (actual rotaion angle can be changed without this one changing at all, until you move)
    3C - Actual rotation angle (0000 - 'south', 0040 - 'east', 0080 - 'north', 00C0 - 'west')
    
    54 - Sprite gfx centering, ofset from actual center location (X)
    
    5A - ... Y
    
    60 - ... Z
    
    60 - Visibility (0001 - Visible, Else - Invisible, > 00FF - Crash)
    62 - Current Motion (0 - Standing still, 1 - Walking, 2 - Running)
    
    70 - ?
    72 - ?
    
    75 - ?
    76 - ?
    
    
    Debug Room -> Sprite 0's default data
    ~~ = Constantly changing
    Address+: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    ---------|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--
    80074EA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 ~~ 00 00
    80074EB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80074EC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80074ED0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80074EE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80074EF0: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00
    80074F00: 01 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00
    80074F10: 22 00 50 00 00 04 01 00 00 00 00 00 00 00 00 00
    80074F20: 00 00 00 00 -- -- -- -- -- -- -- -- -- -- -- --
    
    Sprite 4's default data
    80075020: -- -- -- -- -- -- -- -- -- -- -- -- 00 00 00 00
    80075030: 00 00 00 00 00 00 00 00 00 ~~ 00 00 00 60 FB FF
    80075040: 00 E0 F7 FF 00 00 00 00 00 00 00 00 00 00 00 00
    80075050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80075060: 00 00 00 00 00 00 00 00 60 00 00 00 00 00 00 00
    80075070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80075080: 00 00 00 00 00 00 00 04 00 00 00 00 01 00 00 00
    80075090: 10 00 10 00 01 00 03 00 00 00 00 00 01 00 50 00
    800750A0: 00 04 64 00 00 00 00 00 00 00 00 00 00 00 00 00
    
    
    If you copy Sprite 4's data onto where Sprite 1 is, you get a Tifa that is otherwise identical to Yuffie... Menu and everything.
    And, if you move Yuffie, you have two NPCs in the same room with the exact same menu that you can use. I'd say, this proves that sprite responses are not sprite specific, and are not unique like the sprites themselves.
    
    Room # 02D5 (Cloud's Head) -> Sprite 0 - Giant Semi-Transparent Cloud
    80074EA0: 00 00 00 00 02 00 00 00 E6 53 11 80 00 ~~ 00 00
    80074EB0: 00 90 E3 FF 00 B0 C4 FD 00 E0 04 00 00 00 00 00
    80074EC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    80074ED0: 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00
    80074EE0: 40 00 18 00 94 00 00 00 94 00 AB F3 00 00 AB F3
    80074EF0: 80 08 00 00 80 08 00 00 00 00 00 01 00 01 00 00
    80074F00: 01 00 04 00 02 00 02 00 03 00 00 00 00 00 00 00
    80074F10: 04 00 40 01 00 10 56 00 00 00 00 00 00 00 00 00
    80074F20: 00 00 00 00 -- -- -- -- -- -- -- -- -- -- -- --
    
    I'd include the data from 801153E6, except I don't know where it ends. But, I know from modifying it, that this is at very least where the info about how a sprite moves is stored, if this is used.
    Seems phpbb doesn't like people trying to set the font to a monospaced one...

  • #2
    Final Fantasy VII

    Cool, man...I had a hell of a time with this area once...it's more advanced than plain reverse engineering, if I do say so myself. Keep me posted...
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

    Comment

    Working...
    X