Unity resource extraction + convert KTX textures to PNG

Source: Internet
Author: User

1. Unity Resource Extraction Tool: disunity

: Https://github.com/ata4/disunity

Usage: Java-jar disunity. Jar extract/.../*. Assets

2. For textures in the KTX format, we can convert them to the PNG format.

Tool: powervr tools and SDK Components

: Http://community.imgtec.com/developers/powervr/installers/

In the pvrtextoolgui, you can directly open the KTX texture and save it as PNG. You can also use the command line tool pvrtextoolcli under the CLI directory for batch conversion.

Appendix: A shell script for batch conversion.

#!/bin/bashfunction convert(){ shopt -s nullglob for file in $(find . -name '*.ktx') do  /Applications/Imagination/PowerVR/GraphicsSDK/PVRTexTool/CLI/OSX_x86/PVRTexToolCLI -i $file -d -f r8g8b8a8  done}convert 
Note:

1. The common practice on the Internet is to use pvrtextoolcli to convert KTX to PVR, and then convert PVR to PNG using texturepacker. In fact, this is not necessary. Here we directly use pvrtextoolcli to convert KTX to PNG.

2. You can use

for %f in (*.ktx) do PVRTexToolCLI.exe -i "%f" -d -f r8g8b8a8  



Unity resource extraction + convert KTX textures to PNG

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.