• 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 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