标签:unity
从雨松的博文《Unity3D研究院之mac上从.ipa中提取unity3D游戏资源(六十六)》可以学到提取Unity的游戏资源,其中有用到一个工具:PVRTexTool
2 3 4 5 6 7 |
@echo off
path %path%;"D:\Imagination\PowerVR\GraphicsSDK\PVRTexTool\CLI\Windows_x86_32" for /f "usebackq tokens=*" %%d in (`dir /s /b *.ktx`) do ( PVRTexToolCLI.exe -f PVRTC1_4 -i "%%d" -d "%%~dpnd.png" del "%%~dpnd.pvr" ) |
2 3 4 5 6 7 8 |
@echo off
path %path%;"D:\Imagination\PowerVR\GraphicsSDK\PVRTexTool\CLI\Windows_x86_32" for /f "usebackq tokens=*" %%d in (`dir /s /b *.ktx`) do ( PVRTexToolCLI.exe -f PVRTC1_4 -i "%%d" -d "%%~dpnd.png" del "%%~dpnd.pvr" "D:\Program Files\ImageMagick-6.8.5-5\convert.exe" -flip "%%~dpnd.png" "%%~dpnd.png" ) |
标签:unity
原文地址:http://blog.csdn.net/akof1314/article/details/38022263