Jump to content
Sign in to follow this  
Taildragger

mass conversion of DXT1 to BMP files.

Recommended Posts

Guest stevenroyals

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

-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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...