Hunt Showdown (PC) .dds

Textures, recreate headers, conversions, algorithms and parsing of image files
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Hunt Showdown (PC) .dds

Post by DJ Normality »

Having some issues with these textures its like the header is the .dds file and the texture data is stored in the .dds.1 .dds.2 files.

Any help?
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Hunt Showdown (PC) .dds

Post by DJ Normality »

Image

Update** i see the 1st .dds is the header and all the others 1-9 are the resolutions.

Is there any chance a script can be made to join all these to the main 1 ?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Hunt Showdown (PC) .dds

Post by spiritovod »

It would be easy in case of using single compression, like explained here, but in the provided sample there are at least 4 of them: BC1, BC3, BC4 and BC5 (potentially more). So you should at least parse the header for compression type - 4 bytes at 0x80 offset: 0x48 for BC1, 0x4E for BC3, 0x54 for BC5. Morover, BC4 used in gloss maps has different header, so the type, 0x50, is placed at 0x7C there.

Aside from that I don't know why you need all mips for a texture, the one with biggest number (and resulution) will be enough.
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Hunt Showdown (PC) .dds

Post by DJ Normality »

I was able to find them i just uploaded these for samples. Is there not a way to apply that header to all the other dds.2 dds.3 files. Even if i have to manually work around the changes. The highest i seen was 8K. Or is manually pasting the .dds header to each .dds.1 file my only option ?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Hunt Showdown (PC) .dds

Post by spiritovod »

It's just a lot of work to do: consider compression, consider resolution (which is stored at 0xC), consider header type (DXT1 or DX10, CryEngine is using unified DX10 for all types). I think a Noesis script would be better alternative in this case, but I'm not fluent in it.
z4ruz
Posts: 75
Joined: Sun Jan 10, 2021 2:23 pm

Re: Hunt Showdown (PC) .dds

Post by z4ruz »

To merge some DDS, there's DDSUnsplit. I used the GUI version from this video:
https://www.youtube.com/watch?v=3nYU4Vhh1W8
It is said to be applicable for CryEngine 3.X (<3.7), while the HSD is 5.
The tool merges files, but the result CAN NOT be viewed as simple DDS image, since has non-standard header.
However, RawTex tool still can handle it, if you change the .dds extension to any other.
There's attached picture of butcher_apron_ddna.dds.#a merged (# = 3..5). Format is BC4 (ATI1).
Someone actually asked for help with HSD textures on XeNTaX discord.
CryEngine has Asset Browser - wondering if it capable of reading those (properly).