These two days to see an Android game, the resources are very good, decompression found animation in the picture format is all PVR.CCZ, check the next, this is to do the 2D Game Spirit diagram package after the format, the software is Texturepacker, know the software that knows how to solve the back.
Download Texturepacker
Install Texturepacker
Save the following code in batch processing
@echo off
Path%path%; " C:Program Files (x86) Texturepackerbin "
for/f "Usebackq tokens=*"%%d in (' dir/s/b *.pvr *.pvr.ccz *.pvr.gz ')
Do (TexturePacker.exe "%%d"--sheet "%%~dpnd.png"--data "%%~dpnd.plist"
--opt RGBA8888--allow-free-size--algorithm Basic--no-trim--dither-fs)
Pause
Put the batch above in your folder directory and run it (support traversing subdirectories)
Packaging pictures into Pvr.czz, also requires a batch
@echo off
Path%path%; " C:Program Files (x86) Codeandwebtexturepackerbin "
for/f "Usebackq tokens=*"%%d in (' dir/s/b *.png ') Do (
TexturePacker.exe "%%d"--sheet "%%~DPND.PVR"--data "%%~dpnd.plist"
--opt PVRTC4--allow-free-size--algorithm Basic--no-trim--dither-fs
)
Pause
Using this tool, we can download the game resource picture is much more convenient, although this tool is the commercial charge, but also has the free edition.