Open yretenai opened 2 years ago
Here are my findings on this:
If we treat the data right after the depth as a 32-bit word in big-endian format (it always seems to be big endian), then we have:
0x80
) frames (yes, I have seen one of those) would have 0x0008xxxx
and a texture with 2 frames would have 0x2000xxxx
. You can find a textures with multiple frames in Blue Reflection: Second Light in the pc000_scl
model for instance. I am not sure if bits 22-27 are also meant to be used for texture array dimensions, or for something else.
NOT in the file header, this describes the format found in most games that specify extra data size 0xC (12) to 0x14 (16)
the colorspace byte is used to determine if the surface is decoded in linear or sRGB colorspace.