如题,进行游戏解包时使用TexturePackerGUI想把.pvr.ccz转换成.png文件,用站里的方法操作过之后运行的cmd界面一直报错
TexturePacker:: error: smallcard.pvr.ccz: Failed to load image D:/filename/assets/images/smallcard.pvr.ccz:** Illegal file header**
Resulting sprite sheet is 0x0.
Writing sprite sheet to D:\filename\assets\images\smallcard.pvr.png
TexturePacker:: error: Resulting image is empty.
想问一下各位如何处理
bat代码如下
@echo off
path %path%;"C:\Program Files (x86)\CodeAndWeb\TexturePacker\bin"
for /f "usebackq tokens=*" %%d in (`dir /s /b *.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