I have to convert my game’s texture files to ETC (Ericsson Texture Compression) format,
using the command line conversion
etcpack img.jpg new-img.jpg
I have 100+ files in a the folder and using the etcpack tool on each file from command line is a pain.
Can i write a dos script or batch file to do that and how should i do it for all files in my current folder and subfolders.
From the command line, without using a script:
You shouldn’t run the above command twice, else it will try to convert the already converted “new-…” files. The following more complex command is safe to run multiple times.
If you want to put either command in a batch script, then change each
%Finto%%F.