Skip to content

shimamura-sakura/zig-gtx2dds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-gtx2dds
-----------

convert between Gust GTX (.gtx) and DDS (.dds)
currently it only supports UBC1 (DXT1) and UBC3 (DXT5), but i guess it's enough.

build
-----
./build.sh

usage
-----
./main <input file> <output file>

input GTX output DDS
input DDS output GTX

search keywords
---------------
Gust GTX
GTX\x01
0x47 0x54 0x58 0x01
GT2 Texture File for VITA
UBC1 UBC3

gtx file format
---------------
please read 'main.zig' and 'gtx_test.zig'.
gtx_test.zig checks a gtx file against my understandings of the gtx format, compile it with debug on to see code trace (where your file wents wrong, if you are also generating gtx files).

About

Convert between GUST GTX texture and DDS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published