Hi!
There is a MMO game, called War Thunder, and it's textures stored in DDSX files, which is a packed DDS file.
The DDSX has a 32 bytes header :
ddsx_magic 4 bytes (DDSx)
dds_type 4 bytes (DXT1,DXT5)
dds_unk 4 bytes (??)
dds_width 2 bytes
dds_height 2 bytes
dds_mipmaps 4 bytes (number of mipmaps)
dds_unk2 4 bytes (??)
dds_body_size 4 bytes (size of the unpacked data)
dds_unk3 4 bytes (??)
After that there is a 13 byte header of LZMA, with corrupt unpacked size, and then comes the compressed data, without the leading zero.
I tried 7-zip, LZMA SDK, easylzma , all of them says that the data is corrupt.![]()
The LZMA header and the first few bytes : 5D | 00 00 10 00 | 00 59 00 84 D7 0F 86 | 60 1B 7A 35 4F 0F 92 2B 22 4D 8C 11 D7
I've attached one of those textures, all ideas are welcome to how to unpack this kind of data
Thanks![]()