Anonymous

Changes

From Final Fantasy Inside

FF8/Menu sp2

1,056 bytes added, 02:36, 10 April 2019
no edit summary
== Layout of '''icon.sp1''': ==
=== Header ===
{| class="wikitable"
! Offset
! SizeOf
! Name
! Description
|-
| 0
| UInt32
| PointerCount
| Number of entries
|-
| 4
| Struct Pointer[PointerCount]
| Pointers
| Seek locations for entry groups
|}
=== Pointer ===
{| class="wikitable"
! Offset
! SizeOf
! Name
! Description
|-
| 0
| UInt16
| Pointer
| Seek location for entry group
|-
| 2
| UInt16
| Count
| Number of entries in group
|}
=== EntryGroup ===
At pointer's location there will be '''Struct Entry[Count]'''
=== Entry ===
{| class="wikitable"
! Offset
! SizeOf
! Name
! Description
|-
|0
|Byte
|xPos
|Pixel X coordinate in image atlas
|-
|1
|Byte
|yPos
|Pixel Y coordinate in image atlas
|-
|2
|Byte[2]
|UNK
|Unknown data
|-
|4
|Byte
|Width
|Width of entry in pixels
|-
|5
|Byte
|Offset X
|Offset of X coordinate for when drawing
|-
|6
|Byte
|Height
|Height of entry in pixels
|-
|7
|Byte
|Offset Y
|Offset of Y coordinate for when drawing
|}
== Layout of '''face.sp2''': ==
| UInt32[Count]
| Locations
| Seek location for each Entryentry
|}
=== Entry ===
| Width
| Width of entry in pixels
Possible this is really a byte with a zero x offset.
|-
| 10
| Height
| Height of entry in pixels
Possible this is really a byte with a zero y offset.
|-
| 12
Anonymous user