Changes

Jump to navigation Jump to search

FF8/WorldMap charaone

561 bytes added, 17:25, 16 February 2019
section 12 (arg4 == 0x12)
== section 12 (arg4 == 0x12) ==
 
names are WIP, I'm not quite sure if it's animation, geometry or bones...
{| class="wikitable"
! Offset
! Length
! Description
|-
| 0x00 + ( i==0?0: sizeof(entry[i-1]) *
| sizeof(entry)
| while entry.countOfEntries != null
|}
 
*there's no count for these objects, so you have to read all entries one-by-one. In order to understand when to stop you have to check if reading new entry.countOfEntities == 0
 
entry:
{| class="wikitable"
! Offset
| 0x00
| ushort
| count of entities (i.e. Squall has one entity) [entity=collection of bone rotations
|-
| 0x02
|-
| 0x04
| ushort
| boneEntity
|}
 
 
boneEntity:
{| class="wikitable"
! Offset
! Length
! Description
|-
| 0x00
| ushort
| count of entities
|-
| 0x02
| ushort
| count of bone rotations
|-
| 0x04 + (entityID * (countOfBoneRot * 6) + 6)
| ushort
| entityObject
|}
 
entityObject:
{| class="wikitable"
! Offset
! Length
! Description
|-
| 0x00
| short
| Idle X offset
|-
| 0x060x02
| short
| Idle Z offset
|-
| 0x080x04
| short
| Idle Y (up) offset
|-
| 0x0A| short| Idle origin rot X|-| 0x0C| short| Idle origin rot Z|-| 0x0F| short| Idle origin rot Y|-| 0x11 0x06 + (boneID*6)
| short
| Bone[boneID].RotX
|-
| 0x13 0x08 + (boneID*6)
| short
| Bone[boneID].RotZ
|-
| 0x15 0x0A + (boneID*6)
| short
| Bone[boneID].RotY
|}
Anonymous user

Navigation menu