Difference between revisions of "FF8/Menu sp2"
< FF8
Jump to navigation
Jump to search
my_wiki>MaKi m (→ENTRY) |
my_wiki>MaKi |
||
Line 41: | Line 41: | ||
|- | |- | ||
| 4 | | 4 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| ushort | | ushort | ||
| Width | | Width | ||
| Width of image data in atlas | | Width of image data in atlas | ||
|- | |- | ||
− | | | + | | 6 |
| ushort | | ushort | ||
| Height | | Height | ||
| Height of image data in atlas | | 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 | | 12 | ||
| ushort | | ushort |
Revision as of 01:26, 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 | Width | Width of image data in atlas | ||||
6 | ushort | 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 |