Jump to content

How do I use texconv.exe to compress .dds files in sub-directories.


mrLethol

Recommended Posts

Hello!

 

How do you compress .dds files in all sub-directories to BC7 with texconv.exe while keeping the folder-structure?

I read this post. And tried to use this command:
for /r %a in (*_msn.dds) do texconv -f BC7_UNORM -nologo -o "%~dpa." -y "%a"

 

But it did not convert the .dds files as intended. This message turned up in the cmd:

 

C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\textures>texconv -f BC7_UNORM -nologo -o "C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\textures\armor\briarheart\." -y "C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\textures\armor\briarheart\malebodybriarheart_msn.dds"
reading C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\textures\armor\briarheart\malebodybriarheart_msn.dds (1024x1024,11 BC7_UNORM 2D) as (1024x1024,11 BC7_UNORM 2D α:Opaque)
writing C:\Games\Steam\steamapps\common\Skyrim Special Edition\Data\textures\armor\briarheart\.\malebodybriarheart_msn.DDS


I scanned the texture folder with nifoptimizer and there is still hundreds of .dds files that needs to be compressed. How do I do that with texconv (while keeping the folder-structure)? I moved the /character folder to another location, I am afraid that the compression will mess these files?

Here you can download the latest texconv.exe. I have placed it in my /system32 folder.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...