August 19, 200520 yr HIHow do I convert lots of DXT1 files to BMP files using MS image tool without having to open every single file one at a time?ThanksSteve
August 20, 200520 yr Open a command window, type imagetool -? and hit the enter key.If imagetool is not found then specify its full path. A popup window appears with all the options, one is -batch. Batch processing you have to run from the command window. It's not available from the graphical user interface (windowed application).Hope this helps.Siggy Siggy Schwarz
August 21, 200520 yr Copy this and save as a bat file.imagetool.exe -batch -32 -r -mip -e bmp;;-batch is the key;;-32 for 32-bit, you can guess the rest.;;-r no idea;;-add mips;;-e bmp is "export bmps" i think you can also do pngImageTool and the bat file must be in the folder with the bmps.Joe W. Joe Watson Lake Placid, Florida
August 23, 200520 yr Author -r will tell it to search for files in the subdirectories as well.Here is a list of the flags, taken from the FS2000 version of imagetool. Whether there are any new ones (or changes) in the latest version, I do not know.-v Verbose output [DEFAULT]-b Brief output-tga Output files are in targa (tga) format-bmp Output files are in bitmap (bmp) format [DEFAULT]-32 Output format is 32-bit-24 Output format is 24-bit-4444 Output format is 16-bit (4444)-1555 Output format is 16-bit (1555)-565 Output format is 16-bit (565)-8 Output format is 8-bit palletized [DEFAULT]-border Create a 1 pixel border around the image-hasborder The image already contains a 1 pixel border-lm The image is a light map-mask The image is a mask texture-tile The image self tiles-fold Fold the Edge colors for clamped textures-mip Generate mip maps [DEFAULT]-nomip Do not generate mip maps-i Invert the alpha channel-w Enable warnings (FS specific) [DEFAULT]-now Disable warnings-stop Show a warning dialog (only used with -verify) [DEFAULT]-nostop Do not show a warning dialog (only used with -verify) -alpha Allow alpha in the bitmap (only used with -verify) [DEFAULT]-noalpha Do not allow alpha in the bitmap (only used with -verify)-verify Verify that the image matches the given settings-e [string] File extension to use-r Recursively traverse the sub directories-? Display flags and definitionsJohn
Create an account or sign in to comment