Page 1 of 2
Image Tool Batch Converter
Posted: 29 Aug 2008, 14:19
by PeteH
Not sure if this is the right section to post this but here goes.
Most texture files come with no mipmaps but my system works best with mipmaps. This means that whenever I download textures I invariably have to add the mipmaps to each texture myself one at a time with Image Tool and this can be very tedious with large texture files.
So, my question is, does anyone know of a Batch Converter for Image Tool that will add mipmaps to an entire texture file in one go?
Thanks,
Pete
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 14:22
by Garry Russell
Hi Pete
Does the one DM supplies in his files work?? :think:
Garry
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 14:28
by basys
Hi Folks
Pete -
Image tool already works in batch mode,
(certainly for FSX, not sure about FS9).
When run in batch mode, by default it applies mips.
See the SDK - Texturing Aircraft Models - Appendix 1: Imagetool Switches
Useage:
imagetool [flags] [inputfiles]
HTH
ATB
Paul
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 17:14
by PeteH
Thanks guys.
Garry,
DM's Batch Converter AFAIK only converts certain textures from 32 bit to DXT3.
Paul,
I can't find - Texturing Aircraft Models - Appendix 1: Imagetool Switches - in the SDK. Can you point me in the right direction please? Is there something I need to install from within the SDK?
I assume from what you say that there is a facility for configuring Imagetool to Batch Convert.
Thanks,
Pete
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 17:32
by Garry Russell
Hi Pete
DM's coverts 32Bit to DXT3 with or without mips. I use it to remove the mips from his stuff en masse
I think though it might only work with his stuff for some reason.
Garry
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 17:36
by DaveB
I think you're right there Garry. So that folk don't destroy zillions of paints in one click.. DM made sure it looked for files with his website addy on and only converts those. At least I think that's what he did!

There is no reason why a programmer shouldn't remove that particular switch ;-)
ATB
DaveB :tab:
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 18:05
by PeteH
There is no reason why a programmer shouldn't remove that particular switch
Thats all very well if you're a programmer but in that respect STUPID so it would have to be pretty simple

.
Pete
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 18:46
by Garry Russell
Of course no danger as we all always work on copies

:o :doho:
Garry
Re: Image Tool Batch Converter
Posted: 29 Aug 2008, 21:41
by nigelb
Quote from DM's batch file:
ECHO This batch file will only work with models from
http://www.DMflightsim.co.uk
ECHO It will convert ALL standard texture files found inside this model's folders.
ECHO ONLY SQUARE TEXTURE FORMATS WILL BE CONVERTED, e.g. 256x256 or 512x512 size.
ECHO FOR SAFETY REASONS, IT ONLY CONVERTS TEXTURE NAMES USED BY THE DMFS MODELS.
ECHO Feel free to edit this batch file for use with other FS models.
ECHO.
If you open the file with notepad, you can see where it checks for only DM's textures. Should be easy to edit (he says) and use on other aircraft's textures. Make a copy of the entire texture file and experiment!
Nigel II
Re: Image Tool Batch Converter
Posted: 31 Aug 2008, 11:57
by PeteH
Thanks guys. Sorted

.
Pete