Results 1 to 1 of 1

Thread: LZMA packed DDS texture

  1. #1
    Member
    Join Date
    Mar 2015
    Location
    Hungary
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    LZMA packed DDS texture

    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
    Attached Files Attached Files
    Last edited by smok3; 21st March 2015 at 18:34.

Similar Threads

  1. texture tool compressor
    By GOZARCK in forum Data Compression
    Replies: 4
    Last Post: 13th November 2013, 12:06
  2. BWT + LZMA
    By Zelex in forum Data Compression
    Replies: 10
    Last Post: 21st July 2013, 12:44
  3. Replies: 5
    Last Post: 23rd July 2012, 17:44
  4. new DXTn texture compressor/transcoder library released
    By rgeldreich in forum Data Compression
    Replies: 5
    Last Post: 29th December 2011, 20:23
  5. LZMA source
    By Shelwien in forum Data Compression
    Replies: 2
    Last Post: 29th March 2010, 19:45

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •