CryEngine .dds
Posted: Thu May 17, 2018 3:23 pm
I tried following this post below, but I'm getting awful results from the _ddna image type.
To me, it only works for diffuse, displacement, etc.
When I do the same for the normal map, I get results like this:
I know it's close but yet very far away. Can I get some help?
I uploaded random samples here: https://drive.google.com/open?id=18G5sl ... odI_dfYQRf
To me, it only works for diffuse, displacement, etc.
When I do the same for the normal map, I get results like this:
I know it's close but yet very far away. Can I get some help?
I uploaded random samples here: https://drive.google.com/open?id=18G5sl ... odI_dfYQRf
o0Crofty0o wrote:Ok what you need:
Noesis (huge thanks here to MrAdults for supporting the normal map format of these properly, even Photoshop doesn't like them much)
Hex Editor
Intel .dds plugin for Photoshop (for the specgloss map thingies)
This .zip with headers: 1. Textures are made of these files:
The .dds contains the header info and i think smallest mip level, 1-8 files are increasing mips of the texture. Just take the biggest one (with the highest number, in this case 8, it is the most HD version)
2. Open the .dds and the .8 file in HxD. Switch to the .8 file and select everything with ctrl+a, then copy it with ctrl+c.
3. Switch to the .dds file and select everyting starting at Offset 94 to the end:
(94 is important, if you do it at for eg 95 your texture will be shifted sidewards and not match the UV)
Then simply paste with ctrl+p and save with ctrl+s.
4. Open texture in Noesis and convert to your format of choice.
You can alternatively open these in Photoshop using the Intel plugins mentioned above. For that open your texture in HxD again and change this small part from whatever it is to 01 (thanks to chrrox for figuring this out):
5. You may have noticed that _ddn (normal maps) usually don't just have the 1-X files but also files called like 6a,7a,8a. 1-8 belong to normal map, 1a-8a belong to the gloss map.
You have to convert it seperately (as far as i know anyway). I don't know where the game gets this header from, it isn't the .a file. I figured it's BC4 textures however and added a .zip to this post that has headers for the dimensions i came across in the files. The gloss maps here share the dimensions the normal maps have (4k normal map = 4k gloss map). So if it is 4k, open BC4_4k_header.dds and the .8a file in HxD, copy everything from the .8a file again and paste it below the header (offset 80). Save it under a new name you will find easy.
Noesis displays these as plain white, but Photoshop with the linked plugins loads them fine.
6. I noticed that for some reasons the normal map channels seem to be switched (red should be green, green should be red). If you don't do that shading might look quite bad in whatever software you render in.
7. You're finally done and can load them all on your model! Yey!