Dds (folder)

DDS (Direct Draw Surface) files are a texture file format much like . JPG or . TGA files. The primary advantage of DDS files is that they can be used to store compressed and uncompressed pixel formats with various mipmap levels.

Doom 3 makes use of .DDS files when running at a quality setting lower than “Ultra” in order to save texture memory (Although “High” quality level uses .DDS files for diffuse maps). Uncompressed textures are saved in duplicate .TGA format in the “base/ textures” directory.

You can force everything to load from the TGA files by setting image_usePrecompressedTextures to 0. The images will still get compressed dynamically at load time (which will slow down loading significantly), but it will make it so that when you change a TGA it will actually show up in game without having to regenerate the DDS files. You can also set image_useCompression and image_useNormalCompression to 0, which will prevent them from getting compressed at load time (this is similar to running in ultra quality mode).

Notice: This means that if you make changes to a texture and you are running a quality level lower than “Ultra”, you will not see the changes because Doom 3 ís reading from the .DDS file.

If you don’t have .DDS files for every texture you have made, Doom 3 will create them for you, but separate utilities are often used to convert a .TGA or other texture format into a .DDS format. Some of these tools are available here: