New DTX Utility 7.0

Lithtech 2.1 / 2.2

Post Reply
User avatar
Spawn
Admin
Admin
Posts: 1157
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

New DTX Utility 7.0

Post by Spawn » Thu Apr 16, 2020 10:36 pm

DTXUTIL 7.0 Apr 15 2020 Copyright (C) 2002 LithTech, Inc.

Usage: DTXUTIL <command> <input filename> <output filename>

All commands are mutually exclusive.
Commands:

-tga2dtx (Converts a TGA file into a DTX file)
-tga2bpp32p (Converts a TGA file into 32 bit bitmap file)
-dtx2tga (Converts a DTX file into a TGA file)
-dtx2bpp32p (Converts a DTX file into a 32 bit bitmap file)
-q (Quantize: leaves textures with alpha as true 32 bit)
-qa (Quantize: forces all to be quantized and turned into 32 bit)
-r_q (Recursively quantize: selective -- see above)
-r_qa (Recursively quantize: forces all -- see above)
-r_dtx2tga (Recursively convert DTX files into TGA files)
-r_filldtx (Recursively replace image data in DTX with TGA)
-dtxpixels (Output DTX pixels to a text file in hex format)
-dtxdirreport (Recursively report dtx file info in a directory tree)
-dtxdirdelim (Recursively report dtx file info to a comma delimited file)

Bulk convert a folder:
@echo off
for /R %%a in (*.dtx) do (
"dtxutil.exe" "-dtx2tga" "%%a" "%%~pa/%%~na.tga"
)
Thanks to The One from Lithfaq.com for creating this tool :)
You do not have the required permissions to view the files attached to this post.
Image

Post Reply
jedwabna poszewka 50x60