Last active
October 28, 2024 05:00
-
-
Save g-l-i-t-c-h-o-r-s-e/76ebdec893361de5abeccfc0b7e8dcf0 to your computer and use it in GitHub Desktop.
Windows Batch Scripts To Aid in Editing DDS Textures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Batch Convert .dds Textures To .png | |
| :: Pandela 2022 | |
| :: ============================================ | |
| for %%A IN (*.dds) DO convert "%%A" "%%~nA.png" | |
| :: ============================================ | |
| :: Uncomment the stuff below if you want to resize textures, be sure to comment out the one above. | |
| :: for %%A IN (*.dds) DO ffmpeg -i "%%A" -vf scale=iw*2:ih*2 "%%~nA.png" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Batch Convert .png Textures To .dds | |
| :: Pandela 2022 | |
| :: ========================================================================= | |
| for %%A IN (*.png) DO convert "%%A" -define dds:compression=none "%%~nA.dds" | |
| :: ========================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much!