rem path " "里面内容替换为TexturePacker的安装路径,将bat文件放在图片文件夹直接运行就可以了
@ech off
path %path%;"D:\Program Files\TexturePacker\bin"
for /f "usebackq tokens=*" %%d in (`dir /s /b *.ccz`) do (
TexturePacker.exe --sheet "%%~dpnd.png" "%%d" --algorithm Basic --allow-free-size --no-trim
)
del *.ccz
del out.plist
pause
转载于:https://my.oschina.net/lyr/blog/625916