Difference between revisions of "FF8/Menu sp2"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>MaKi
my_wiki>MaKi
Line 41: Line 41:
 
|-
 
|-
 
| 4
 
| 4
| ushort (or byte?)
+
| byte
| Width
+
| xPos
| Width of image data in atlas
+
| Pixel X coordinate in image atlas
 +
|-
 +
| 5
 +
| byte
 +
| yPos
 +
| Pixel Y coordinate in image atlas
 
|-
 
|-
 
| 6
 
| 6
| ushort (or byte?)
+
| ushort (??)
| Height
+
| UNK
| Height of image data in atlas
+
| Unknown- is that a bottom right pixel?
 
|-
 
|-
 
| 8
 
| 8
| ushort (may be shorter)
+
| uint (??)
| xPos (probably)
+
| UNK
| Pixel X coordinate in image atlas
+
| Unknown- maybe a width/height?
|-
 
| 10
 
| ushort (??)
 
| YPos (probably)
 
| Pixel Y coordinate in image atlas
 
 
|-
 
|-
 
| 12
 
| 12
| ushort
+
| uint
 
| UNK
 
| UNK
| UNKNOWN
+
| Unknown- no idea. Maybe CLUT indexer somewhere?
|-
 
| 14
 
| ushort
 
| UNK2
 
| UNKNOWN
 
 
|}
 
|}

Revision as of 01:33, 21 November 2018

by MaKi

This file is a mapping file for atlas textures like icons.tex

STRUCTURE

Offset SizeOf Name Description
0 uint pointerCount count of entry pointers
4 uint entryPointer absolute pointer to entry
8 + pointerCount 16 bytes Entry Entry Data

ENTRY

Offset SizeOf Name Description
0 uint UNK3 UNKNOWN
4 byte xPos Pixel X coordinate in image atlas
5 byte yPos Pixel Y coordinate in image atlas
6 ushort (??) UNK Unknown- is that a bottom right pixel?
8 uint (??) UNK Unknown- maybe a width/height?
12 uint UNK Unknown- no idea. Maybe CLUT indexer somewhere?