• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

image tool batch command lines

Messages
80
Country
unitedkingdom
Hi all,
Looking around and finding informatiom fragmented,
can someone point me in the right direction on the command lines in a batch file to use image tool to convert dxt3 to 8bit no mips and the back to dxt1.
Robert John.
 
Just type "imagetool -?" for a list of flags. Are you needing to edit your .bmps while in the 8 bit state? If not, just go directly to DXT1 with:

imagetool -dxt1 -e bmp *.bmp

"-e bmp" converts directly to *.bmp as opposed to the default *.mip which requires renaming.



If you do need to edit, I usually choose 24 or 32 bit depending on whether or not they have alpha channels. Not sure but I think you'll lose some quality going with 8 bit. If you really need 8 bit just substitute "-8" for "-24":

imagetool -24 -nowarning -brief -nomip -e bmp *.bmp

"-nowarning" suppresses the prompt about 24 bit being incompatible with FS which gets annoying if you're processing more than 1 or 2 files. "-brief" gives you a small progress window while processing or you can use "-nogui" instead for completely silent operation.



And then go back to DXT1 after editing with:

imagetool -dxt1 -brief -e bmp *.bmp

Jim
 
Recently I needed to change many fs9 bmp format files to dds and would be great to no know how batch convert with imagetool.
 
Recently I needed to change many fs9 bmp format files to dds and would be great to no know how batch convert with imagetool.

Note that you'll need to use the FSX version of imagetool, but try this:

imagetool -brief -dds -dxt1 *.bmp


Or if your .bmps have gradients on the alpha channel you'll need to use DXT5:

imagetool -brief -dds -dxt5 *.bmp


Jim
 
Thanks for the answer, in my searching I found a nice tool for this things, XnView, this resize and convert textures. interesting for other pourposes
 
Last edited:
Back
Top