Clash Mini v4 `tex.sc` files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
everdalehelp
Posts: 3
Joined: Fri Aug 27, 2021 12:02 pm

Clash Mini v4 `tex.sc` files

Post by everdalehelp »

Supercell's latest game, Clash Mini, has some version 4 `tex.sc` files. I'm unable to decompress them using sc_extract, which removes the first 26 bytes of metadata from the raw file, inserts 4 `0x00`s after position 9 of the new data and then uses LZMA decompression. This works fine for versions 0, 1 and 3 of `tex.sc` files.

The version 4 files fail to decompress using this strategy. I'd love any pointers to fix it. In addition to version 4, I've attached a version 1 file for reference as well. Please ignore the .txt extension.

Thank you!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Clash Mini v4 `tex.sc` files

Post by aluigi »

The script 0.2.4 works with that version.