.. | ||
dds.py | ||
ddsck.py | ||
ddscompress.py | ||
ddsdecompress.py | ||
README.md |
Scripts
Python scripts for interacting with files
Installation
All files require python3 to be installed.
ddscompress
, ddsdecompress
and ddsck
require ImageMagick and Nvidia Texture Tools to be installed and available in your $PATH
.
Usage
ddscompress.py
Converts any number of files to .dds
format, automatically choosing dxt1 or dxt5 depending on if the source image has anything in its alpha channel. Designed to be used with a glob, e.g: ddscompress.py *.png
ddsdecompress.py
Converts any number of files to .png
from .dds
. Designed to be used with a glob, e.g: ddsdecompress.py *.dds
ddsck.py
Checks any number of dds files for common issues, including formats not supported by KSP, and DXT5 textures that don't use the alpha channel. Designed to be used with a glob, e.g: ddsck.py *.dds