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):
There will be a respin of PVRTexTool in our Developer Portal with proper and updated information in a few weeks.
In the meantime you can compare the old and new output of PVRTexToolCLI.exe -help f and map to the proper format. The PVRTC1_2 format has two possible new options, (PVRTCI_2BPP_RGB, PVRTCI_2BPP_RGBA) depending on whether you have an RGB or RGBA image, I hope one of them suits your needs.