Difference between revisions of "FF8/Menu sp2"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>MaKi
m
my_wiki>MaKi
Line 41: Line 41:
 
|-
 
|-
 
| 4
 
| 4
| ushort
+
| ushort (or byte?)
 
| Width
 
| Width
 
| Width of image data in atlas
 
| Width of image data in atlas
 
|-
 
|-
 
| 6
 
| 6
| ushort
+
| ushort (or byte?)
 
| Height
 
| Height
 
| Height of image data in atlas
 
| Height of image data in atlas

Revision as of 01:28, 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 ushort (or byte?) Width Width of image data in atlas
6 ushort (or byte?) Height Height of image data in atlas
8 ushort (may be shorter) xPos (probably) Pixel X coordinate in image atlas
10 ushort (??) YPos (probably) Pixel Y coordinate in image atlas
12 ushort UNK UNKNOWN
14 ushort UNK2 UNKNOWN