KSP-Toolkit/Scripts
2020-11-02 23:58:36 -08:00
..
convert2dds Add shell scripts 2020-11-02 23:17:39 -08:00
dds2png Add shell scripts 2020-11-02 23:17:39 -08:00
README.md add Editor and Scripts readmes 2020-11-02 23:58:36 -08:00

Scripts

Bash scripts for interacting with files

Installation

All files require bash to be installed (default location of /bin/bash).

convert2dds and dds2png require ImageMagick and Nvidia Texture Tools to be installed and available in your $PATH.

Usage

convert2dds

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: convert2dds *.png

dds2png

converts any number of files to .png from .dds. Designed to be used with a glob, e.g: dds2png *.dds