• There seems to be an up tick in Political commentary in recent months. Those of us who are long time members of the site we know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religiours commentary out of the fourms.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politicion will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment amoung members. It is a poison to the community. We apprciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

DDS Batch file Needed

falcon409

Moderator
Staff member
I want to add mips to dds files (both DXT5 and DXT1). I have a texture folder with approx. 100 texture files. I could do this manually, but obviously it would take some time. Anyone know if this is possible?
 
Create a batch file in notepad with the following command.

imagetool -nobeep -dxt5 -dds -mip -nodither *.dds

Save that in the texture folder containing your dds files and make sure you have a copy of imagetool.exe in the folder too. Then run the batch file and watch it do its magic.

You can change -dxt5 to -dxt1 or -32 (32 bit) for differing levels of quality, though if you're converting .dds dxt5's to 32, you won't see much difference due to the compression of the source material.

You can use -mip for mipmaps, but for aircraft I recommend -nomip to ensure you don't get the dreaded blurries!

-dds basically means you're saving it as a .dds extension

As a further note, Imagetool batching will also handle PSD files and BMP files too, just alter the last element from *.dds to *.psd or *.bmp

Whilst this isn't the only way to do batch conversions, I use this format for converting my aircraft PSD masters to dds for flightsim.

Hope that helps!

David.
 
Great David Thanks. I am battling some problems with scenery work I've done. I want to view the difference between textures with no mips and textures with mips to try to get a sense of where the problem lies. This will do the trick. Many thanks!!:salute:
 
Back
Top