March 21, 201016 yr Does anyone know the proper command syntax to convert a bunch of standard airport bitmap files to DXT textures with mipmaps using Imagetool.exe from the SDK? Please advise and thanks!Mark
March 21, 201016 yr Mark,If you use a command line to run "imagetool -?" you will get all the syntax options (attached image).Hope this helps. Graeme Butler
March 21, 201016 yr Author Thanks Graeme, although, I knew about that already. I was already using the -h switch. What I'm after is the command syntax to properly convert standard .BMP airport textures to DXT textures with mipmaps. I have an old version of the Zurich Airport made by Flylogic and the terminals shimmer like crazy. I looked at the textures and they are all the standard .BMP textures of old. My idea is to find out how to batch convert all of the airport textures to DXT with mipmaps in hopes of reducing or even eliminating the shimmer and the interference lines that appear while moving. If you know the syntax or if this technique will even work, please let me know and thanks!Mark
March 21, 201016 yr Mark,I have a portion of a batch file that I used to convert aircraft textures a long time ago.IMAGETOOL.EXE -brief -DXT3 -detail -nowarning -e bmp C*.bmp VC*.bmpThis converts all .bmp files in the current folder starting with "C" or "VC" into DXT3 format with mipmaps. Mipmaps are created by default, so if you don't want then you ust use the "-nomip" flag.Hope that helps. Graeme Butler
March 21, 201016 yr Author Ah...many thanks Graeme! That is exactly what I was hoping to find! Now at least I can see if this technique reduces the shimmering effect on the terminals. One more question, I tried a similar command, (not exactly the same), that produced a number of .MIP files with the same name as the original .BMP files. I went ahead and deleted the .BMP files and then renamed the .MIP to .BMP. I was just guessing that was the procedure but am wondering if you know if that is truly what I needed to do.Regardless, thanks for that command line!Mark
March 21, 201016 yr Mark,That's waht the "-e bmp" in my command line is for. It means, use the file extension "bmp".I have not done this for a while, so do a few tests on some dummy files first! Graeme Butler
March 21, 201016 yr Mark,I have a portion of a batch file that I used to convert aircraft textures a long time ago.IMAGETOOL.EXE -brief -DXT3 -detail -nowarning -e bmp C*.bmp VC*.bmpThis converts all .bmp files in the current folder starting with "C" or "VC" into DXT3 format with mipmaps. Mipmaps are created by default, so if you don't want then you ust use the "-nomip" flag.Hope that helps.Does this program convert all the bmp files in the folder or does it know the difference between the L and T files??? Bill McIntyre Asus StrixB650E-F Gamer, AMD Ryzen 9 7900X3D, Corsair Titanium DDR5 64GB, Samsung 990 PRO-4TB M.2, (4) 2TB SSD's, Corsair H1150i liquid cooler, RTX 2080TI Founders Edition, (2) LG 34" HD Curved Monitor, Sound Blaster Audigy X, 1Kw PC Power & Cooling Power Supply, Corsair Obsidian Full tower Case. MSFS 2024, WIN11 Pro x64
March 22, 201016 yr Author Does this program convert all the bmp files in the folder or does it know the difference between the L and T files???I have no idea...this is the first time I've ever tried to do this. What are T and L files...does that indicate a texture and land class differentiation or something? Interestingly enough, when I did do the conversion last night a number of files were not converted by imagetool.exe. The program reported them as being of the wrong dimensions and simply skipped over them. By the way, even after I converted the textures, the terminals at LSZH where still shimmering like crazy and the vertical lines on them were still displaying the barber pole effect.Mark
March 22, 201016 yr I have no idea...this is the first time I've ever tried to do this. What are T and L files...does that indicate a texture and land class differentiation or something? Interestingly enough, when I did do the conversion last night a number of files were not converted by imagetool.exe. The program reported them as being of the wrong dimensions and simply skipped over them. By the way, even after I converted the textures, the terminals at LSZH where still shimmering like crazy and the vertical lines on them were still displaying the barber pole effect.MarkThe T file are the file that get converted to DXT3. The L file are the night bmp and should not get converted. I also convert all my AI t files to improve performance. Bill McIntyre Asus StrixB650E-F Gamer, AMD Ryzen 9 7900X3D, Corsair Titanium DDR5 64GB, Samsung 990 PRO-4TB M.2, (4) 2TB SSD's, Corsair H1150i liquid cooler, RTX 2080TI Founders Edition, (2) LG 34" HD Curved Monitor, Sound Blaster Audigy X, 1Kw PC Power & Cooling Power Supply, Corsair Obsidian Full tower Case. MSFS 2024, WIN11 Pro x64
March 22, 201016 yr Commercial Member Does this program convert all the bmp files in the folder or does it know the difference between the L and T files???Sounds like you want to do aircraft textures? To do only the t textures try this:imagetool -brief -dxt3 -nomip *_t.bmpJim
March 22, 201016 yr Author Also, if you want to recurse through a bunch of folders and do them all at once use the -r switch. At least that worked for me :)Mark
March 22, 201016 yr The L file are the night bmp and should not get converted.Interesting. For what reason shouldn't the lightmap file be converted?Dave
March 22, 201016 yr By the way, even after I converted the textures, the terminals at LSZH where still shimmering like crazy and the vertical lines on them were still displaying the barber pole effect.MarkThis is called the "Lissajou effect" and can be very difficult to remove in computer graphics. Its usually caused by the particular patterns within the texture being resized (or scaled). Hard to explain, but altering the texture itself is the only way to reduce the effect. If the texture has very strong colour changes or a particularly distinctive pattern the effect is worse. The closer the texture is to an "even" colour, the less the effect.Hope that make sense!Dave
Create an account or sign in to comment