KTX conversion of game resources extraction by unity

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.