Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jun 24, 2021 6:53 pm

All times are UTC

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jun 02, 2021 5:07 pm 

Joined: Wed Jun 02, 2021 5:02 pm
Posts: 2
Hey so I'm struggling with this Unity Mobile Game, AssetStudio reports the Textures are ETC1 or ETC2 Crunched however they don't have the crunched magic "Hx" at all and I can't tell/work out if its just a butchered header or if they edited the engine and just completely replace those texture IDs with something differen't.

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".

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.

BlackSquare.dat [193 Bytes]
Downloaded 8 times
GreenSquare.dat [206 Bytes]
Downloaded 9 times
WhiteSquare128x128.dat [216 Bytes]
Downloaded 9 times
WhiteSquare64x64.dat [205 Bytes]
Downloaded 9 times
HalfWhiteHalfBlack.dat [232 Bytes]
Downloaded 10 times
CrunchedETC2.dat [29.72 KiB]
Downloaded 13 times
CrunchedETC1.dat [193 Bytes]
Downloaded 14 times
PostPosted: Fri Jun 04, 2021 9:49 am 

Joined: Wed Jun 02, 2021 5:02 pm
Posts: 2
Okay they were basis textures (https://github.com/BinomialLLC/basis_universal)

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited