I am a pixel artist with very little programming knowledge. I have read that it's possible to use Texture Packer to do batch conversion of pvr.ccz files to png using the Command Line Tool.
How do I install the Command Line Tool for Texture Packer? It doesnt seem to be installed by default and the info presented when I select 'File'-> 'Install Command Line Tool' makes no sense to me... It says:
Simply add C:/Program Files (x86)/CodeAndWeb/TexturePacker/bin to your path variable or add the following line to your scripts calling TexturePacker: set "PATH=C:/Program Files (x86)/CodeAndWeb/TexturePacker/bin;%PATH%"
I dont understand how to carry out these instructions..
Then, once I succeed in installing the Command Line Tool, what should I type into the Command Line Tool to convert 50 or so
.pvr.ccz files to
.pngs in a different folder?
The TexturePacker website has this to say on Batch Converting:
Write a simple batch file containing these lines to do as mass conversion of images:
`@ echo off for %%X in (*.png) do (C:\Programme\TexturePacker\bin\TexturePacker.exe <parameters> %%X)`
Please replace with your parameters needed.
Batch converting images to pvr or pvr.ccz
You can use TexturePacker to simply convert a complete directory of images with a single command line call into whatever output format you need (pvr.ccz in this example):
`find <directoryname> -name \*.png | sed 's/\.png//g' | \ xargs -I % -n 1 TexturePacker %.png \ --sheet %.pvr.ccz \ --data dummy.plist \ --algorithm Basic \ --allow-free-size \ --no-trim \ --opt RGBA4444 \ --dither-fs`
Replace with the directory to search.
So this example is converting png to pvr, I need to go the other way. But I have no idea how to open or install the Command Line Tool from within the Texture Packer GUI...
And then Im not sure how to use the code above to write a 'simple batch file' to carry out the conversion I need?
I'm on a PC with Windows 7.