Hints, tips and tutorials for 3D modelling & content creation
|
KatsBits
Creating 3D models, meshes &
game content
3D modelling & meshing, level editing and textures makingHints, tips and tutorials for 3D modelling & content creation [back]DDS images - "Unknown file type"ResourcesContentsWhat's this all about? ^There's a problem when trying to view certain types of DDS textures when working with a number of games engine, the following discusses the reason for this and who to 'fix' it. So far the following problems only appears to crop up when editing or creating content for games powered by the Doom 3 engine technology. Compressonator background ^During the process of producing the game id software made use a a tool from ATI called the Compressonator which had a number of 'filters' that allowed the compression of images into the DDS (Direct Draw Surface) format of Microsoft's DirectX API. In using this tool they inadvertently introduced a 'problem', or rather, it's a problem when you don't know what's going on. Image formats ^As discussed in this tutorial - "creating DDS textures using ATI's Compressonator", there are two main types of images used in the Doom 3 powered games;
TGA images are industry standard uncompressed images, mainly used when games are running in 'Ultra mode', the highest setting you can go in to which only use TGA images. DDS images get pulled in for all the other quality settings; 'low', 'medium' and 'high'. The problem is that the DDS images use a different compression filter depending on what their eventual role is;
It's these normal maps that are causing the problem because they use a proprietary format that's only available in one of the early builds of ATI's Compressonator tool, this means it's not an 'industry standard' format like the other DDS filters. Viewing DXT5 DDS images ^As shown in the images below, the normal maps are the images shown by the 'x' thumbnail; contrary to popular thought, they are not an "unknown file format"; as mentioned above, they're proprietary. If you get the 'unknown file type' message pop up when trying to view them in Photoshop or other image editing application it's purely because that program doesn't have the appropriate filter to read the file and thus open it. When viewing files in Windows Explorer you'll most likely see the following; the images that you can see in the thumbnail view below use the standard DXT1 and DXT3 compression filters; the ones you can't see use DXT5 - they're all normal maps. Currently the only way to correctly view these 'no shows' is to open them into ATI's Compressonator tool from where the images can be saved back out to TGA for editing or further viewing where necessary. Conclusion ^Make sure to check the details of the DDS images used by the game you're editing, it may require some elbow grease to manually test images formats but unless a developer clearly states "we used 'x' format" it's the only recourse modders have. If you're having problems loading in custom DDS textures make sure you've;
If you still have problem after that and you're a member of a mod team, borrow a couple of assets and try loading them into you set up. Conversely, send them your files to see if they can load them, if they can but you can't then you at least know there is a problem with your modding set up rather than with the images. |