RaduMC / AssetStudio

AssetStudio is an independent tool for exploring, extracting and exporting assets.
MIT License
1.4k stars 106 forks source link

希望增加导出原生KTX,DDS,PVR 的功能 #30

Open aa13058219642 opened 7 years ago

aa13058219642 commented 7 years ago

我下载了源码,不过我的vs是2013版的所以编译不了程序

我知道Texture2D里有直接调用PVRTexLibWrapper和TextureConverterWrapper的功能实现图片转码的,但是现在转换后得到的png透明部分有黑边,应该是ktx原先是黑底的,转PNG时留下的,所以现在希望加个按钮直接导出KTX,DDS或PVR,或者 修改一下转png的参数(虽然我也没有研究过PVRTexToolCLI的具体参数)

sorianog commented 7 years ago

Translated from Google Translate:

I downloaded the source, but my vs is the 2013 version of the compiler can not be procedures

I know Texture2D directly call PVRTexLibWrapper and TextureConverterWrapper function to achieve picture transcoding, but now after the conversion of the png transparent part of the black side, it should be ktx was originally black, turn left when the PNG, so now hope Add a button to directly export KTX, DDS or PVR, or modify the parameters to turn png (although I have not studied the PVRTexToolCLI specific parameters

Cedrusli commented 7 years ago

(maybe a better Translation) Title : Can a direct export of KTX,DDS,PVR function added? I downloaded the source code, but I cannot program it as my vs is version 2013.

I know thatTexture2D used PVRTexLibWrapper and TextureConverterWrapper to achieve image transcoding, but after converted to png, some black line appear at the transparent part. It may be due to ktx originally have a black color background. So I hope that adding function to direct export KTX, DDS or PVR, or turning the parameters in png conversion (although I have not studied the specific parameters in PVRTexToolCLI)

Mactastic1-5 commented 6 years ago

嘗試使用Unity Studio而不是Disunity