[Tool] Converter tch -> dds (alpha)

Users who are viewing this thread

Janycz

Knight at Arms
For Bannerlord modding...

1) It supports only DXT1, DXT3, DXT5, BC5, BC4, because it's ****ty
2) The program do not check file existence, because it's ****ty
3) If you want convert nor DXT1 nor DXT3 nor DXT5 nor BC5 nor BC4, you must use donor-dds
4) Maybe, I will write later plugin to some kind of graphics editor
5) Command line options:
    -tch <tch-file-as-input>
    -o <dds-file-as-input>
    -dds <dds-file-as-input> /* same as -o <dds-file-as-input>*/
    -h /* shows help */
    -mipmapcount <number> /* set mip map count to number */
    -d <dds-file-as-donor> /* uses this dds file for dds header*/

Source code: GitHub
Distributed under GNU-GPL v3 license.
Download .exe: https://github.com/cuellius/tch-to-dds/releases/download/v0.1/TchToDds_v1_x64.exe (Windows, x64, needs Microsoft Visual C++ 2019 Redistributable Package)

The main use case:
TchToDds_v1_x64.exe -tch "tch-input-file" -o "dds-output-file"

Example:
TchToDds_v1_x64.exe -tch "D:\some folder\next some folder\texture.tch" -o "E:\some texts\texture_ccc.dds"

If you will get information about the structure of the tch-file, in particular about its header, then I ask inform about it here (preferably) or in PM.
 
Back
Top Bottom