Tag: Unity
The unity3d game resources extracted from. IPA from the MAC of unity3d Research Institute by Yu song can be used to extract game resources of unity. One of the tools is useful:
PvrtextoolBecause the tool's official website is not good to download, so upload it to csdn,: http://download.csdn.net/detail/akof1314/7660209
The extracted resource, in which KTX resources are used
Pvrtextoolgui.exeYou can open it and check that all of them are upside down and stretched.
The direct conversion of the batch processing script to PNG format is:
1 2 3 4 5 6 7 |
|
@ Echo off 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" ) |
Pvrtextool also supports the flip parameter flip, but here I test it is invalid and can only use another tool
ImageMagickTo flip up and down. The batch processing script is:
1 2 3 4 5 6 7 8 |
|
@ Echo off 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" ) |
References:1. unity3d Research Institute extracting unity3d game resources (16th) http://www.xuanyusong.com/archives/2584 from. IPA on Mac
2. parse unity3d resources (image, model, shader) http://www.unitymanual.com/thread-18763-1-1.html
KTX conversion of game resources extraction by unity