• 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.

P3D v4 Image tool Command lines

Messages
578
Country
france
Hello
it has been two months since i'm working on a project
and i post questions when i face great obstacles that docs can't resolve
so my question today is : where can i find the list of Image tool command lines ?
i've seen that MCX uses image tool ( in the options ) maybe it is what it uses to convert textures
in my programme i need to convert some textures automatically using the image tool
i prefer converting to a supported DDS format thats why i'm intersted in the image tool instead of other libraries
hope you help me and thnx in advance :)

EDIT : i found it it is just imagetool -?
but now i have a problem
i did my first test and it doesn't work
here is my ommand and here is the reslut plz help :(

CMD :

@echo
imagetool -dds -dxt5 -o test.dds variation1.bmp
pause >nul


Result :
Untitled.png
 
Last edited:

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
Hello...

You forgot -nogui. Maybe just the latter one is enough in this case.

EDIT: What are you creating with imagetool? What is the fie: variation1.bmp. What is it suppose to represent - normal map, metallic map or something else? Could be a number of things, so showing the syntax isn't enough to know what you are trying to do...
 
Last edited:
Messages
2,079
Country
us-ohio
The last line in the batch process window says copying image. I'll bet it's a permissions issue and the file could not be copied.
 
Messages
578
Country
france
for Permissions i don't think so as it is a folder i made in my desktop but i'll test it
@Pyscen
you can see in the image i attached that variation.bmp is a just a texture i got from the sdk to test my commands and it is supposed to be a deffuse texture
 

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
It could very well be a permission issue... depending on the location of Imagetool.
 
Messages
578
Country
france
Nope i runed it as admin it doesn't work
changed the compatibility to always run as admin : same result :(
 

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
Is ImageTool within the same folder as the bat file you created (the desktop?)
 

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
Well... I'm not sure what to tell you...

I just did a test here with your exact setup (meaning bat file) and on my desktop (same folder name on desktop). Though, it wasn't the same bmp file as yours... and it worked for me.
 

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
It's nothing fancy but here:
 

Attachments

  • variation2.zip
    25.2 KB · Views: 195
Messages
383
Country
unitedkingdom
Looking at the batch process screen could it be your texture size is 500 x 500 pixels? When It should be 512 x 512?? I'm only assuming that of course because I'm not sure exactly if that's what the batch screen is saying and I use photoshop to convert my images not image tool.

Texture sizes must be to the power of 2

2, 4, 8, 16, 32, 64, 128, 512, 1024, 2048
 

Pyscen

Resource contributor
Messages
2,994
Country
us-texas
Hello....

Stevo is right on this... I missed it.. :(. @RED COOL, your bmp was not in the "power of 2"... That's the reason for the "error", though I'm a little surprised that it came back with "Unknown error".
 
Top