Created
September 24, 2016 19:17
-
-
Save SelStrom/521207d44f91dbd6fdde3a39a64355cf to your computer and use it in GitHub Desktop.
Converts the all *.png files in the folder in to atf
This file contains 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
@echo off | |
if exist atf_assets ( | |
echo:Delete the folder atf_assets and all its contents? | |
rd /s atf_assets | |
) | |
mkdir atf_assets | |
for %%A in (*.png) do ( | |
rem echo:%%~fA | |
png2atf -c p -r -i %%A -o atf_assets/%%~nA_pvrtc.atf | |
png2atf -c e -r -i %%A -o atf_assets/%%~nA_etc1.atf | |
png2atf -c d -r -i %%A -o atf_assets/%%~nA_dxt.atf | |
) | |
echo:Complete! | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment