Before we start, allow me to kick at an open door but don't say you weren't warned: BACK UP YOUR TEXTURES. And then back up your back up. This file is brutal and will delete all your hard work if you aren't careful.
Now let's begin.
- Open notepad or another text editor
- Copy and paste the following code into the text file:
Code: Select all
@echo off echo. echo Converting all BMPs to DDS5.. "D:\FSApps\Prepar3D v4 SDK 4.0.28.21686\ImageTool.exe" -e dds -DXT5 -dds -nogui -nodither -mip -r *.bmp echo Done echo Deleting all BMP files.. DEL /S *.bmp > NUL echo Done echo. echo. pause
- Check the path to your ImageTool.exe file in the pasted code and make sure it's correct for your setup. This is superimportant! If the path isn't correct, the conversion step will fail but the next step will still continue and delete all your bmp's! So again, check the path every time before you run the batch file since it may change when you update your SDK.
- Save the file as dds_converson.bat. The location is up to you and depends on how you want to proceed. Just know that ALL bmp files that the batch file finds in the folder it sits in, including all subfolders, will be converted. You have two options here: either you save it in your main aircraft folder (e.g. SimObjects\Airplanes) if you want to convert all aircraft textures in one go or you save it in a specific aircraft folder to only convert the textures for that specific aircraft.
- Run the batch file and wait until it's done. If you have a lot of bmp textures this may take quite a while.
If you have any questions or comments, don't hesitate.