Anonymous

Changes

From Final Fantasy Inside

FF8/Menu sp2

888 bytes added, 03:07, 14 April 2019
Layout of face.sp2:: added info about cardanm.sp2
Everything at and beyond file pointer '''4272 {0x10C0}''' appears to be garbage.
== Layout of '''face.sp2''' and '''cardanm.sp2''': == Both '''face.sp2''' and '''cardanm.sp2''' have the same layout. Main difference is '''face.sp2''' has '''32''' valid and '''64''' total entries. '''cardanm.sp2''' only has '''11''' valid entries and '''1''' invalid, as it has no dims. In each of the card texture files the final slot is the '''Triple Triad''' card back. If the entry had dims they would be X='''192''',Y='''128''', W='''64''', H='''64'''.
=== Header ===
| Number of entries
Count can be more than the actual images in the texture.<br/>
'''face.sp2''': There are 16 8 images per texture in each of the 2 textures, and there are 32/64 valid entries. 1 is blank.<br/>'''cardanm.sp2''': There are 11 images pre texture in 10 textures, and there are 11/12 valid entries. The 12th entry is the card back but it's missing dims.
|-
| yPos
| Pixel Y coordinate in image atlas
'''face.sp2''': Invalid entries seem to have '''yPos>=Texture.Height'''.<br />
Detected switch from '''face1.tex''' to '''face2.tex''' when '''yPos<previous.yPos'''.
|-
| UNK
| Unknown
'''face.sp2''': '''{0x20,0x36}''' on the valid entries. '''{0x60,0x36}''' on invalid entries.<br />'''cardanm.sp2''': '''{0x20,0xB6}''' on the valid entries. '''{0x00,0x00}''' on the invalid entry.
|-
| 8
| Width
| Width of entry in pixels
Possible this is really a '''byte''' with a '''0 x -offset'''.
|-
| 10
| Height
| Height of entry in pixels
Possible this is really a '''byte''' with a '''0 y -offset'''.
|-
| 12
| UNK
| Unknown
'''face.sp2''': '''{0x00,0x00,0x8E,0x00}''' on most. Last one has all '''{0x00}'''<br />'''cardanm.sp2''': '''{0x00,0x00,0xAE,0x00}''' on most. Last one has all '''{0x00}'''
|}
=== End of file ===
'''face.sp2'''File ends with '''byte[16]''' of '''{0x00}'''
=== Content of '''face1.tex''' and '''face2.tex''' ===
Anonymous user