Modding, Mission Design, and Coding > The Modding Workshop

Random Q: batch-resizing DDS images

(1/1)

Shivan Hunter:
I guess this is the place for this thread.

I have 177 DDS textures of various sizes and compression formats (RGB textures are BC1, RGBA textures are BC7, may be a few others in there, some have mipmaps and some don't (Nyctaeus, mipmap your normal maps!)). I want to resize them all by 1/2, while preserving compression type and mipmap settings for each image.

Some of you may have had to do this before, so I'm putting this out there: what would be a good tool to easily do this automatically?

[EDIT] Got it working. Just whipped together a little proggy that scrapes the dds header and calls TexConv with different settings based on what it finds. Not sure if I should share it because it is very very crap

Navigation

[0] Message Index

Go to full version