Difference between revisions of "FF7/Armor data"

From Final Fantasy Inside
< FF7
Jump to navigation Jump to search
my_wiki>Akari
(KERNEL.BIN - Section 7: Armor data format)
m (22 revisions imported)
 
(12 intermediate revisions by 3 users not shown)
Line 18: Line 18:
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | &nbsp;
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0xFF
 
|style="background:rgb(255,255,255);" | 0xFF
|style="background:rgb(255,255,255); width:125px;" | Normal
+
|style="background:rgb(255,255,255);" | Normal
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | 0x00
Line 24: Line 24:
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x01
 
|style="background:rgb(255,255,255);" | 0x01
|style="background:rgb(255,255,255);" | No Damage
+
|style="background:rgb(255,255,255);" | Nullify
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x02
 
|style="background:rgb(255,255,255);" | 0x02
|style="background:rgb(255,255,255);" | Half
+
|style="background:rgb(255,255,255);" | Halve
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x02
 
|style="background:rgb(255,255,255);" | 0x02
Line 47: Line 47:
 
|style="background:rgb(255,255,255);" | 0x06
 
|style="background:rgb(255,255,255);" | 0x06
 
|style="background:rgb(255,255,255);" | 1 byte
 
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Status defense (status bit number)
+
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Status Effects|Status Defense]]. Index of status bit.
 
|-
 
|-
 
|style="background:rgb(255,255,204);" | 0x07
 
|style="background:rgb(255,255,204);" | 0x07
Line 57: Line 57:
 
|style="background:rgb(255,255,255);" colspan="2" | Materia Slots
 
|style="background:rgb(255,255,255);" colspan="2" | Materia Slots
 
|-
 
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | &nbsp;
+
|style="background:rgb(204,204,255);" colspan="2" rowspan="7" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | No Slot
 
|style="background:rgb(255,255,255);" | No Slot
 +
|-
 +
|style="background:rgb(255,255,255);" | 0x01
 +
|style="background:rgb(255,255,255);" | Empty Unlinked Slot
 +
|-
 +
|style="background:rgb(255,255,255);" | 0x02
 +
|style="background:rgb(255,255,255);" | Empty Left Linked Slot
 +
|-
 +
|style="background:rgb(255,255,255);" | 0x03
 +
|style="background:rgb(255,255,255);" | Empty Right linked Slot
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x05
 
|style="background:rgb(255,255,255);" | 0x05
Line 72: Line 81:
 
|style="background:rgb(255,255,255);" | 0x11
 
|style="background:rgb(255,255,255);" | 0x11
 
|style="background:rgb(255,255,255);" | 1 byte
 
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Materia Growth
+
|style="background:rgb(255,255,255);" colspan="2" | Materia Growth (0, 1, 2, 3 for None, Normal, Double, Triple. All other values are "Normal" Growth)
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x12
 
|style="background:rgb(255,255,255);" | 0x12
Line 78: Line 87:
 
|style="background:rgb(255,255,255);" colspan="2" | Equip Mask
 
|style="background:rgb(255,255,255);" colspan="2" | Equip Mask
 
|-
 
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="3" | &nbsp;
+
|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="11" | &nbsp;
|style="background:rgb(255,255,255);" | 0xFF01
 
|style="background:rgb(255,255,255);" | Everyone
 
|-
 
|style="background:rgb(255,255,255);" | 0x2C00
 
|style="background:rgb(255,255,255);" | All females
 
|-
 
|style="background:rgb(255,255,255);" | 0xD303
 
|style="background:rgb(255,255,255);" | All males
 
|-
 
|style="background:rgb(255,255,255);" | 0x14
 
|style="background:rgb(255,255,255);" | 2 bytes
 
|style="background:rgb(255,255,255);" colspan="2" | Element
 
|-
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="17" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0x0000
 
|style="background:rgb(255,255,255);" | None
 
|-
 
 
|style="background:rgb(255,255,255);" | 0x0001
 
|style="background:rgb(255,255,255);" | 0x0001
|style="background:rgb(255,255,255);" | Fire
+
|style="background:rgb(255,255,255);" | Equipable on Cloud
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0002
 
|style="background:rgb(255,255,255);" | 0x0002
|style="background:rgb(255,255,255);" | Ice
+
|style="background:rgb(255,255,255);" | Equipable on Barret
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0004
 
|style="background:rgb(255,255,255);" | 0x0004
|style="background:rgb(255,255,255);" | Bolt
+
|style="background:rgb(255,255,255);" | Equipable on Tifa
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0008
 
|style="background:rgb(255,255,255);" | 0x0008
|style="background:rgb(255,255,255);" | Earth
+
|style="background:rgb(255,255,255);" | Equipable on Aeris
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0010
 
|style="background:rgb(255,255,255);" | 0x0010
|style="background:rgb(255,255,255);" | Bio
+
|style="background:rgb(255,255,255);" | Equipable on Red XIII
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0020
 
|style="background:rgb(255,255,255);" | 0x0020
|style="background:rgb(255,255,255);" | Gravity
+
|style="background:rgb(255,255,255);" | Equipable on Yuffie
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0040
 
|style="background:rgb(255,255,255);" | 0x0040
|style="background:rgb(255,255,255);" | Water
+
|style="background:rgb(255,255,255);" | Equipable on Cait Sith
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0080
 
|style="background:rgb(255,255,255);" | 0x0080
|style="background:rgb(255,255,255);" | Wind
+
|style="background:rgb(255,255,255);" | Equipable on Vincent
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0100
 
|style="background:rgb(255,255,255);" | 0x0100
|style="background:rgb(255,255,255);" | Holy
+
|style="background:rgb(255,255,255);" | Equipable on Cid
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0200
 
|style="background:rgb(255,255,255);" | 0x0200
|style="background:rgb(255,255,255);" | Health
+
|style="background:rgb(255,255,255);" | Equipable on Young Cloud
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0400
 
|style="background:rgb(255,255,255);" | 0x0400
|style="background:rgb(255,255,255);" | Cut
+
|style="background:rgb(255,255,255);" | Equipable on Sephiroth
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0x0800
+
|style="background:rgb(255,255,255);" | 0x14
|style="background:rgb(255,255,255);" | Hit
+
|style="background:rgb(255,255,255);" | 2 bytes
 +
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_Data|Elemental Defense]]
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0x1000
+
|style="background:rgb(255,255,204);" | 0x16
|style="background:rgb(255,255,255);" | Punch
+
|style="background:rgb(255,255,204);" | 2 bytes
|-
+
|style="background:rgb(255,255,204);" colspan="2" | Unknown [Always 0x00FF]
|style="background:rgb(255,255,255);" | 0x2000
 
|style="background:rgb(255,255,255);" | Shoot
 
|-
 
|style="background:rgb(255,255,255);" | 0x4000
 
|style="background:rgb(255,255,255);" | Scream
 
|-
 
|style="background:rgb(255,255,255);" | 0x8000
 
|style="background:rgb(255,255,255);" | Unknown
 
|-
 
|style="background:rgb(255,255,255);" | 0x16
 
|style="background:rgb(255,255,255);" | 2 bytes
 
|style="background:rgb(255,255,255);" | Unknown
 
|style="background:rgb(255,255,255);" | [Always 0x00FF]
 
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x18
 
|style="background:rgb(255,255,255);" | 0x18
Line 180: Line 160:
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x20
 
|style="background:rgb(255,255,255);" | 0x20
|style="background:rgb(255,255,255);" | 1 byte
+
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask
+
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0)
 
|-
 
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="10" | &nbsp;
+
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | &nbsp;
|style="background:rgb(255,255,255);" | 0xFF
+
|style="background:rgb(255,255,255);" | 01h
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not <br />appear in Battle Menu (Not usable <br />at all)
+
|style="background:rgb(255,255,255);" | Can be sold
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xFE
+
|style="background:rgb(255,255,255);" | 02h
|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item <br />Menu (Not usable at all)
+
|style="background:rgb(255,255,255);" | Can be used in Battle
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xFD
+
|style="background:rgb(255,255,255);" | 04h
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not <br />appear in Battle Menu (Usable in<br />Battle Menu)
+
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xFC
+
|style="background:rgb(255,255,255);" colspan="2" | Other values have no effect
|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item <br />Menu (Usable in Battle Menu)
 
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xFB
+
|style="background:rgb(255,255,204);" | 0x22
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not <br />appear in Battle Menu (Usable in <br />Item Menu)
+
|style="background:rgb(255,255,204);" | 2 bytes
|-
+
|style="background:rgb(255,255,204);" colspan="2" | Unknown [Always 0xFFFF]
|style="background:rgb(255,255,255);" | 0xFA
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item<br />Menu (Usable in Item Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xF9
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not<br />appear in Battle Menu (Usable in <br />Item Menu & Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xF8
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item <br />Menu (Usable in Item Menu & <br />Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xF7
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not <br />appear in Battle Menu (Usable in <br />Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xF6
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item <br />Menu (Usable in Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0x21
 
|style="background:rgb(255,255,255);" | 3 bytes
 
|style="background:rgb(255,255,255);" | Unknown
 
|style="background:rgb(255,255,255);" | [Always 0xFFFFFF]
 
 
|}
 
|}

Latest revision as of 05:10, 23 May 2019

KERNEL.BIN - Section 7: Armor data format

This section contains the armor data. Each record is 36 bytes long.

Offset Length Description
0x00 1 byte Unknown
0x01 1 byte Damage Type, Based off values of Elemental Type
  0xFF Normal
0x00 Absorb
0x01 Nullify
0x02 Halve
0x02 1 byte Defense
0x03 1 byte Magic Defense
0x04 1 byte Defense %
0x05 1 byte Magic Defense %
0x06 1 byte Status Defense. Index of status bit.
0x07 2 bytes Unknown
0x09 8 bytes Materia Slots
  0x00 No Slot
0x01 Empty Unlinked Slot
0x02 Empty Left Linked Slot
0x03 Empty Right linked Slot
0x05 Unlinked Slot
0x06 Left Linked Slot
0x07 Right Linked Slot
0x11 1 byte Materia Growth (0, 1, 2, 3 for None, Normal, Double, Triple. All other values are "Normal" Growth)
0x12 2 bytes Equip Mask
  0x0001 Equipable on Cloud
0x0002 Equipable on Barret
0x0004 Equipable on Tifa
0x0008 Equipable on Aeris
0x0010 Equipable on Red XIII
0x0020 Equipable on Yuffie
0x0040 Equipable on Cait Sith
0x0080 Equipable on Vincent
0x0100 Equipable on Cid
0x0200 Equipable on Young Cloud
0x0400 Equipable on Sephiroth
0x14 2 bytes Elemental Defense
0x16 2 bytes Unknown [Always 0x00FF]
0x18 4 bytes Stat Bonus
  0xFF None
0x00 Strength
0x01 Vitality
0x02 Magic
0x03 Spirit
0x04 Dexterity
0x05 Luck
0x1C 4 bytes Stat Increase
0x20 2 bytes Restriction Mask (If the following bits are 0)
  01h Can be sold
02h Can be used in Battle
04h Can be used in Menu Out of Battle
Other values have no effect
0x22 2 bytes Unknown [Always 0xFFFF]