Skip to content

A set of Wndows shell scripts for converting and working with DirectDraw surface texture files.

License

Notifications You must be signed in to change notification settings

MrMendelli/DirectXTex-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectXTex CLI

About

This is a collection of some simple Windows shell scripts for use with Microsoft's DirectXTex. These scripts can provide information on the format and details of DDS texture files, as well as converting them to different formats. *Note that converting existing files will overwrite them if the CLI script is used.

Installation

An install.bat script is included, this adds a context menu for all *.dds files for a more fluid workflow. Be advised that this feature may not work if DDS files have been modified to be handled by some programs in the registry. The base DirectXTex files are not included in this repository or any releases, download and place the following files in the same folder as the latest release:

  • texassemble.exe
  • texconv.exe
  • texdiag.exe

Sample Formats

The installer will create a shell association for the following formats by default:

  • *.apng (*.png)
  • *.avif
  • *.bmp
  • *.dds
  • *.gif
  • *.ico
  • *.jfif (*.webp)
  • *.jpg
  • *.jxr
  • *.png
  • *.tga
  • *.tif
  • *.webp

Use

If the main script (DirectXTex CLI.bat) is ran directly, it will result in one of two errors:

  • The main program files are missing
  • An infile has not been supplied

In order to use this script, either drag files onto the script directly or use the included installation script to work with files from the context menu. Multiple files can be handled with either method. If no file is supplied, an option to print the internal help documentation is presented. This script is not limited to DDS files, various image formats are supported.

About

A set of Wndows shell scripts for converting and working with DirectDraw surface texture files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published