Today I tired to use an older script for batch encoding of larger textures using the PVRTexToolCLI.exe as a basis. While the overall program worked fine, the line responsible for encoding into pvrtc errored out with the following message:
Error: Invalid values chosen for Encode Format. Please see -help for valid parameters.
I read through the documentation and could not find anything wrong with my command and it still wouldn’t work even after I tried to enter the command into the cli manually or shortened it down into its most basic form.
What am I doing wrong with the following commands?
Full Command (replace [basepath] with input file without file ending):
PVRTexToolCLI.exe -i [basepath].png -flip y -pot + -m -f PVRTC1_2_RGB,UBN,lRGB -q pvrtcfastest -o [basepath]-pvrtc.ktx
Shortened test command (I used exactly the settings from the example in the doc):
PVRTexToolCLI.exe -i [basepath].png -f PVRTC1_2,UBN,lRGB -q pvrtcfast -o [basepath]-pvrtc.ktx
Thank you very much for your help already!