Image Tool Batch Converter

The place for hardware and software issues, FS and non-FS related

Moderators: Guru's, The Ministry

User avatar
PeteH
Viscount
Viscount
Posts: 104
Joined: 26 Jun 2004, 12:35
Location: Norfolk

Image Tool Batch Converter

Post 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
Thinking does not necessarily make it so.

User avatar
Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 00:53
Location: On the other side of the wall

Re: Image Tool Batch Converter

Post by Garry Russell »

Hi Pete

Does the one DM supplies in his files work?? :think:

Garry
Garry

Image

"In the world of virtual reality things are not always what they seem."

User avatar
basys
VC10
VC10
Posts: 524
Joined: 06 Apr 2006, 12:28
Location: EGNL, Barrow-in-Furness, Cumbria, UK
Contact:

Re: Image Tool Batch Converter

Post 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
Image
I've never felt so frustrated....... died so frequently/spectacularly/or needlessly....... yet had so much fun, in a long time.
Flight's Landing Challenges - Earn your wings !

User avatar
PeteH
Viscount
Viscount
Posts: 104
Joined: 26 Jun 2004, 12:35
Location: Norfolk

Re: Image Tool Batch Converter

Post 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
Thinking does not necessarily make it so.

User avatar
Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 00:53
Location: On the other side of the wall

Re: Image Tool Batch Converter

Post 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
Garry

Image

"In the world of virtual reality things are not always what they seem."

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Image Tool Batch Converter

Post 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! :lol: There is no reason why a programmer shouldn't remove that particular switch ;-)

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

User avatar
PeteH
Viscount
Viscount
Posts: 104
Joined: 26 Jun 2004, 12:35
Location: Norfolk

Re: Image Tool Batch Converter

Post 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 :lol: .

Pete
Thinking does not necessarily make it so.

User avatar
Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 00:53
Location: On the other side of the wall

Re: Image Tool Batch Converter

Post by Garry Russell »

Of course no danger as we all always work on copies :worried: :o :doho:

:lol: :lol: :lol:

Garry
Garry

Image

"In the world of virtual reality things are not always what they seem."

nigelb
Red Arrows
Red Arrows
Posts: 5039
Joined: 11 Apr 2005, 17:19
Location: Herndon, Virginia, USA

Re: Image Tool Batch Converter

Post 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

User avatar
PeteH
Viscount
Viscount
Posts: 104
Joined: 26 Jun 2004, 12:35
Location: Norfolk

Re: Image Tool Batch Converter

Post by PeteH »

Thanks guys. Sorted :) .

Pete
Thinking does not necessarily make it so.

Post Reply