Page 1 of 1

Unusual .dds

Posted: Tue Jun 18, 2013 12:49 am
by TERAB1T
I have some .dds files, but can't figure out, how to open them. They have unusual header. Here are some examples: <snip>

Re: Unusual .dds

Posted: Tue Jun 18, 2013 11:16 am
by merlinsvk
They are packed with Snappy.

This rough QuickBMS script can unpack them (except 2.dds). But better choice should be to use original compression library from https://code.google.com/p/snappy/

Code: Select all

get ZSIZE asize
set SIZE 0
if SIZE <= 0
    math SIZE = ZSIZE
    math SIZE *= 20
endif
comtype snappy
get NAME filename
string NAME += ".new.dds"
clog NAME 0 ZSIZE SIZE
Example of 9.dds
Image

Re: Unusual .dds

Posted: Tue Jun 18, 2013 1:38 pm
by TERAB1T
merlinsvk, thanks a lot for your help!