adobe / dds2atf

Tool for converting DDS files into ATF files suitable for use with the Flash Stage3D API
58 stars 21 forks source link

ATF format issue #5

Closed bboltz closed 10 years ago

bboltz commented 10 years ago

Hello,

I'm using the dds2atf source code to reac a ATF file, but I'm having some problems.

The ATFFileFormat.pdf docs don't accurately describe the format of the LZMA compressed data sections.

We need to know:

I tried many variations, but I always receive errors when trying to decode the LZMA sections.

Thanks

tinic commented 10 years ago

Say you want to decode DXT1Data (see ATFFileFormat.pdf):

bboltz commented 10 years ago

Thanks for the reply.

The data seems to be decompressing without errors now, but decoding the DXT1/DXT5 data gives me garbage pixels. Trying to decode DXT5 data crashes on me. My decoders work correctly on the raw DXT1/DXT5 sections that haven't been compressed with LZMA, so something is still not correct here.

Well, I think I'll ignore it for now and read in JXR data instead. Thanks.