Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with converting KTX file to DDS #41

Open
bartlomiejduda opened this issue Sep 25, 2022 · 0 comments
Open

Issue with converting KTX file to DDS #41

bartlomiejduda opened this issue Sep 25, 2022 · 0 comments

Comments

@bartlomiejduda
Copy link

Hi, I have this KTX file:
84a41266.zip

It seems to be valid KTX2 file according to specification http://wiki.xentax.com/index.php/KTX_Image

I've also checked it with "ktxinfo.exe" tool from official Khronos Software https://github.com/KhronosGroup/KTX-Software
and it seems to print some info:

identifier: «KTX 20»\r\n\x1A\n
vkFormat: VK_FORMAT_UNDEFINED
typeSize: 1
pixelWidth: 2048
pixelHeight: 2048
pixelDepth: 0
layerCount: 0
faceCount: 1
levelCount: 12
supercompressionScheme: KTX_SS_ZSTD
dataFormatDescriptor.byteOffset: 0x170
dataFormatDescriptor.byteLength: 44
keyValueData.byteOffset: 0x19c
keyValueData.byteLength: 132
supercompressionGlobalData.byteOffset: 0
supercompressionGlobalData.byteLength: 0

But it can't be converted correctly with crunch.

I'm getting "Error: Unable to read KTX file" error while trying to parse it.

Can you add support for this file format to crunch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant