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`
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`
positional arguments:
`files`: input texture files
optional arguments:
`-h, --help `: show this help message and exit
`--convertcmd CMD`: name of imagemagick's convert tool (default: `convert`)
`--compresscmd CMD`: name of the nvidia dds compress tool (default: `nvcompress`)
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`
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`
positional arguments:
`files`: input dds files
optional arguments:
`-h, --help`: show this help message and exit
`--convertcmd CMD`: name of imagemagick's convert tool (default: `convert`)
`--infocmd CMD`: name of the nvidia dds info tool (default: `nvddsinfo`)
parser=argparse.ArgumentParser(description="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.")
parser=argparse.ArgumentParser(description="Converts any number of textures to dds format. automatically chooses dxt1 or dxt5 depending on if the source image has anything in its alpha channel.")
parser.add_argument('--decompresscmd',type=str,metavar='CMD',default="nvdecompress",help="name of the nvidia dds decompress tool (default: %(default)s)")