Uploaded 2 different examples, one supposedly by AssetStudio Crunched ETC1 and one Crunched ETC2.
Here is what I've managed to work out so far, ETC2 is with alpha and thats when there is more than one "image data".
Code: Select all
4 byte magic
2 byte 0x4D
2 byte ?CRC?
4 byte DataLength
2 byte ?CRC?
2 byte number of Image Data
0x19 Bytes ???
4 byte palette offset
3 byte palette size
2 byte palette num?
4 byte Offset
2 byte size
4 byte offset
3 byte size
0xE ???
For Number of Image Data
1 byte 0x0
4 byte ID
2 byte width
2 byte height
2 byte block width?
2 byte block height?
4 byte dataStart
4 byte data size
2 byte ???
Any help appreciated, thanks.
Edit: the ETC1.dat actual image should just be a white 32x32 image, the ETC2 is actual game art with a fade at the bottom of it.
Edit2: Added more example files.