PDA

View Full Version : Texture Help please!



peter12213
August 27th, 2010, 13:07
Is there a way of converting .bmp & .dds textures en mass as it were to dxt5 or 32bit without individually opening them and coverting using dxtbmp?

peter12213
August 27th, 2010, 13:18
What I need to know is how to make a batch file to do this!

merida72
August 27th, 2010, 13:21
Hi Pete!

I believe with photoshop, having installed the nvidia dds plug-in (only PC), you can create an action and apply these in batch to all texture in the folder...

But I prefer to use dxtbmp one by one...

peter12213
August 27th, 2010, 13:29
How do you make a batch file to do it though mate?

merida72
August 27th, 2010, 13:39
Hope you help

http://developer.nvidia.com/object/nv_texture_tools.html

http://www.designshard.com/video-tutorials/photoshop-batch-processing-of-actions-video-tutorial/

peter12213
August 27th, 2010, 13:47
Unfortunately no I don't use adobe photoshop, but many thanks for the suggestion Luigi, I need to find out how to make an MsDos batchfile and imagetool to convert multible textures to .bmp 32bit!

Gizmo
August 27th, 2010, 14:45
try this

(Make sure you have imagetool.exe in the same dir as your dds files)

copy this to a new bat file

imagetool -bmp -32 *.dds
rename *.mip *.bmp

save and run it (the rename bit is there because image tools names its output .bmp as .mip for some reason???? that should convert all your .dds file to uncompressed bmp

heres the rest of the switches if you need them

http://img641.imageshack.us/img641/5305/imagetool.th.jpg (http://img641.imageshack.us/i/imagetool.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)

hope that helps

Bjoern
August 27th, 2010, 14:50
Look three or four threads down the page and you'll find the answer to your question. At least a link to it.


- Edit: Hint...the thread's subject is related to your question.

peter12213
August 27th, 2010, 16:44
I'm still bloody lost lads sorry! Bjorn you got a link to that thread mate?
it's not a dds to bmp I want to convert its dxt5.bmp's to 32bit.bmps bit I need to covert for resizing!

mjahn
August 27th, 2010, 22:37
Try Martin Wright's convim, here:

http://www.btinternet.com/~mnwright/programs/convim.htm

peter12213
August 28th, 2010, 13:51
Thanks for this!

Bjoern
August 28th, 2010, 18:07
I'm still bloody lost lads sorry! Bjorn you got a link to that thread mate?
it's not a dds to bmp I want to convert its dxt5.bmp's to 32bit.bmps bit I need to covert for resizing!

*Sigh*

http://www.sim-outhouse.com/sohforums/showthread.php?t=32958&highlight=portover+texture+conversion

Change the command in the .bat file to this:

imagetool -batch -nogui -nomip -32 -bmp -nodither -r *.bmp