Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation


Profile Information

  • Gender
    Not Telling
  1. Thank you, Rick! I tested Paint.NET version 3.5.9 with several hundreds of DDS files -- it works much better. Only two failed to load (same error message), but these files are included with two other commercial products (such that I won't attach the files on the forum). I'd guess the two problematic files have other weirdness with their headers. (Compressonator can read both, but ReadDXT also fails on one.) However, all the Unreal DDS files load fine in the new Paint.NET version. Thanks again!
  2. Yes, indeed, the main problem seems to be with the dwFlags value of the DDS_PIXELFORMAT structure. I also noticed the remarks in the MSDN documentation about both dwFlags and dwCaps from the DDS_HEADER structure, saying "when you read a .dds file, you should not rely on the [...] flags being set because some writers of such a file might not set these flags". I suppose, for a similar reason, one could follow a more lenient approach with readers for the dwFlags in the DDS_PIXELFORMAT structure, and, when loading DDS files, also accept files that have dwFourCC set to an expected value (such as, D
  3. These examples were generated by Unreal Engine 2.5 (Unreal Tournament 2004), so they're unlikely to use the new Direct3D 11 formats. If the headers are written incorrectly, I suppose it is a bug of Unreal Technology that has been around for a while. The Nvidia and ATI tools probably have better fault-tolerant logic than Paint.NET, since they can handle the files; I wonder how they do it? Would it be possible to make an educated guess about the missing DDS_PIXELFORMAT data, perhaps using other DDS_HEADER info (if any) and total file size, or something like that?
  4. The following error is consistently displayed by Paint.NET 3.5.8 when loading some DXT-compressed files (ones with the DDS extension), even though tools such as Nvidia's ReadDXT and ATI's The Compressonator can read them just fine: "There was an unspecified error while opening the file." I've attached a couple of example files that produce the error (with three different S3TC formats: DXT1, DXT3 and DXT5). It seems that other users previous also reported similar issues, as mentioned in: * Problem with *some* .DDS files http://forums.getpai...some-dds-files/ * DDS File Support for Paint.
  • Create New...