Page 1 of 1

DXGI ASTC .dds?

Posted: Sat Aug 18, 2018 8:55 pm
by CosmicDreams
So. Ive been trying to convert some DDS textures from Mario + Rabbids: Kingdom Battle But the majority of the textures seem to use a rather obscure format.
http://www.voidcn.com/article/p-kbbvdkbn-yg.html
The only mention i could find of the format is here.

The official ARM ASTC tools don't work with the files either.
Presumably because its not a "true" ASTC file.

Ive provided a sample file archive with some of the textures.

Re: DXGI ASTC .dds?

Posted: Sat Aug 18, 2018 9:04 pm
by CosmicDreams
Note one of the files i included has no header. I should have added it before sending it...
The one that does not end in _e does have a header though.

Re: DXGI ASTC .dds?

Posted: Sun Aug 19, 2018 3:36 am
by Pingu
I don't understand where the enum is supposed to occur. If it's the first byte then it is BC5, because that's what lines up with the provided enumeration structure.

Re: DXGI ASTC .dds?

Posted: Sun Aug 19, 2018 5:52 pm
by CosmicDreams
My bad. I didn't include headers at all it seems.

Heres a DDS with the correct header added.

Re: DXGI ASTC .dds?

Posted: Sun Aug 19, 2018 5:57 pm
by Pingu
Using Noesis opens up the image, but it appears to be just white.

Image

Re: DXGI ASTC .dds?

Posted: Sun Aug 19, 2018 8:21 pm
by CosmicDreams
Thats...odd.
Are you sure noesis supports the DXGI format it seemingly uses?
It shouldn't be just white.

Re: DXGI ASTC .dds?

Posted: Mon Aug 20, 2018 3:41 am
by Pingu
You appended the header to use DXT10. Noesis should support this.

Re: DXGI ASTC .dds?

Posted: Mon Aug 20, 2018 11:16 am
by CosmicDreams
I tried the same file with a program called "Renderdoc" and it gave me the "Unsupported DXGI Format "174" error.

Perhaps the file is corrupted?...

EDIT: Wait...does it not say DX10? It says that for me.
Maybe I'm thinking of a different texture

Re: DXGI ASTC .dds?

Posted: Mon Aug 20, 2018 12:06 pm
by episoder
maybe noesis doesn't support the astc compression in dds files. this enum on this website is not official from microsoft either. i think i heard that astc was added to dx11 or dx12 but their specs and docs are lacking a lot of updates. sure

i'm certain you could move the block data into another file format container and use noesis to open the stuff by fiile handler. i've seen somebody do that with some files.

Re: DXGI ASTC .dds?

Posted: Mon Aug 20, 2018 12:44 pm
by CosmicDreams
Yeah i just checked with some actual ASTC textures from Super Mario Odyssey.
Noesis can't open them.

Probably gets tripped up by it being a DDS in the case of M+R.

Re: DXGI ASTC .dds?

Posted: Wed Aug 29, 2018 10:46 pm
by CosmicDreams
anyone looked at this more?
still can't figure it out