.dds batch resizer?

Roger

Senior Administrator
Anyone know of a batch resizer for .dds and .bmp files? I wonder if DTXBMP could be made to respond? I'm thinking of certain models where massive texture files in 2048 could be resized to 1024 en masse.
 
Well, Imagetool plus NConvert (->Google) could do the trick.

Here's a rough sketch for a Batch file:

Code:
echo on
nconvert -out bmp -o %%.bmp -yflip -ratio -rtype linear -resize 1024 1024 *dds
ImageTool.exe -e dds -DXT1 -mip -nogui *.bmp
pause

Might need some tweaking.

Basically, NConvert resizes the textures and saves them as .bmps, the Imagetool re-saves them as .dds.

I've taken this from a conversion batch files for autogen and other textures.
 
I used to do "batch" conversions of large numbers of photos from .jpg to .bmp and back in Paint Shop Pro with a script. The latest version PSP 2 Ultimate has a script toolbar that looks better than I remember. PSP does not support .dds so that would be done elsewhere (Imagetool).

Paul
 
Back
Top