Difference between revisions of "FF7/Armor data"
< FF7
Jump to navigation
Jump to search
my_wiki>Squall (→KENREL.BIN - Section 7: Armor data format) |
m (22 revisions imported) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == KERNEL.BIN - Section 7: Armor data format == |
This section contains the armor data. Each record is 36 bytes long. | This section contains the armor data. Each record is 36 bytes long. | ||
Line 8: | Line 8: | ||
! style="background:rgb(204,204,204); width:320px;" colspan="2" | Description | ! style="background:rgb(204,204,204); width:320px;" colspan="2" | Description | ||
|- | |- | ||
− | |style="background:rgb(255,255,204);" | | + | |style="background:rgb(255,255,204);" | 0x00 |
|style="background:rgb(255,255,204);" | 1 byte | |style="background:rgb(255,255,204);" | 1 byte | ||
|style="background:rgb(255,255,204);" colspan="2" | Unknown | |style="background:rgb(255,255,204);" colspan="2" | Unknown | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x01 |
|style="background:rgb(255,255,255);" | 1 byte | |style="background:rgb(255,255,255);" | 1 byte | ||
|style="background:rgb(255,255,255);" colspan="2" | Damage Type, Based off values of Elemental Type | |style="background:rgb(255,255,255);" colspan="2" | Damage Type, Based off values of Elemental Type | ||
Line 18: | Line 18: | ||
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | | |style="background:rgb(204,204,255);" colspan="2" rowspan="4" | | ||
|style="background:rgb(255,255,255);" | 0xFF | |style="background:rgb(255,255,255);" | 0xFF | ||
− | |style="background:rgb(255,255,255) | + | |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);" | | + | |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);" | | + | |style="background:rgb(255,255,255);" | Halve |
+ | |- | ||
+ | |style="background:rgb(255,255,255);" | 0x02 | ||
+ | |style="background:rgb(255,255,255);" | 1 byte | ||
+ | |style="background:rgb(255,255,255);" colspan="2" | Defense | ||
|- | |- | ||
|style="background:rgb(255,255,255);" | 0x03 | |style="background:rgb(255,255,255);" | 0x03 | ||
|style="background:rgb(255,255,255);" | 1 byte | |style="background:rgb(255,255,255);" | 1 byte | ||
− | |style="background:rgb(255,255,255);" colspan="2" | Defense | + | |style="background:rgb(255,255,255);" colspan="2" | Magic Defense |
|- | |- | ||
|style="background:rgb(255,255,255);" | 0x04 | |style="background:rgb(255,255,255);" | 0x04 | ||
|style="background:rgb(255,255,255);" | 1 byte | |style="background:rgb(255,255,255);" | 1 byte | ||
− | |style="background:rgb(255,255,255);" colspan="2" | | + | |style="background:rgb(255,255,255);" colspan="2" | Defense % |
|- | |- | ||
|style="background:rgb(255,255,255);" | 0x05 | |style="background:rgb(255,255,255);" | 0x05 | ||
|style="background:rgb(255,255,255);" | 1 byte | |style="background:rgb(255,255,255);" | 1 byte | ||
− | |style="background:rgb(255,255,255);" colspan="2" | Defense % | + | |style="background:rgb(255,255,255);" colspan="2" | Magic Defense % |
|- | |- | ||
|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" | | + | |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 | ||
− | |style="background:rgb(255,255,204);" | | + | |style="background:rgb(255,255,204);" | 2 bytes |
|style="background:rgb(255,255,204);" colspan="2" | Unknown | |style="background:rgb(255,255,204);" colspan="2" | Unknown | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x09 |
|style="background:rgb(255,255,255);" | 8 bytes | |style="background:rgb(255,255,255);" | 8 bytes | ||
|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=" | + | |style="background:rgb(204,204,255);" colspan="2" rowspan="7" | |
|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 66: | Line 79: | ||
|style="background:rgb(255,255,255);" | Right Linked Slot | |style="background:rgb(255,255,255);" | Right Linked Slot | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |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);" | | + | |style="background:rgb(255,255,255);" | 0x12 |
|style="background:rgb(255,255,255);" | 2 bytes | |style="background:rgb(255,255,255);" | 2 bytes | ||
|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) | + | |style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="11" | |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0001 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Cloud |
+ | |- | ||
+ | |style="background:rgb(255,255,255);" | 0x0002 | ||
+ | |style="background:rgb(255,255,255);" | Equipable on Barret | ||
+ | |- | ||
+ | |style="background:rgb(255,255,255);" | 0x0004 | ||
+ | |style="background:rgb(255,255,255);" | Equipable on Tifa | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0008 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Aeris |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0010 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Red XIII |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0020 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Yuffie |
− | |||
|- | |- | ||
− | + | |style="background:rgb(255,255,255);" | 0x0040 | |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Cait Sith |
− | |style="background:rgb(255,255,255);" | | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0080 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Vincent |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0100 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Cid |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x0200 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Equipable on Young Cloud |
|- | |- | ||
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255);" | 0x0400 |
− | |style="background:rgb(255, | + | |style="background:rgb(255,255,255);" | Equipable on Sephiroth |
− | |||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x14 |
|style="background:rgb(255,255,255);" | 2 bytes | |style="background:rgb(255,255,255);" | 2 bytes | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_Data|Elemental Defense]] |
− | |style="background:rgb(255,255,255);" | [Always 0x00FF] | + | |- |
+ | |style="background:rgb(255,255,204);" | 0x16 | ||
+ | |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);" | | + | |style="background:rgb(255,255,255);" | 0x18 |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 4 bytes |
|style="background:rgb(255,255,255);" colspan="2" | Stat Bonus | |style="background:rgb(255,255,255);" colspan="2" | Stat Bonus | ||
|- | |- | ||
Line 136: | Line 155: | ||
|style="background:rgb(255,255,255);" | Luck | |style="background:rgb(255,255,255);" | Luck | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x1C |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 4 bytes |
− | |||
− | |||
− | |||
− | |||
− | |||
|style="background:rgb(255,255,255);" colspan="2" | Stat Increase | |style="background:rgb(255,255,255);" colspan="2" | Stat Increase | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 0x20 |
|style="background:rgb(255,255,255);" | 2 bytes | |style="background:rgb(255,255,255);" | 2 bytes | ||
− | |style="background:rgb(255,255,255);" | + | |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="4" | | |
− | + | |style="background:rgb(255,255,255);" | 01h | |
− | + | |style="background:rgb(255,255,255);" | Can be sold | |
− | |||
− | |style="background:rgb(204,204,255);" colspan="2" rowspan=" | ||
− | |style="background:rgb(255,255,255);" | | ||
− | |||
− | |||
− | |style="background:rgb(255,255,255);" | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 02h |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Can be used in Battle |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 04h |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | + | |style="background:rgb(255,255,255);" colspan="2" | Other values have no effect |
− | |||
|- | |- | ||
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" | 0x22 |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" | 2 bytes |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" colspan="2" | Unknown [Always 0xFFFF] |
− | |||
|} | |} |
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] |