Description
It would be nice to have support for .xtf (.vtf equivalent used in the Original Xbox port of HL2) with VTFLib.
I'm providing some info of .xtf:
Discussion on the format: https://forum.xentax.com/viewtopic.php?t=2101
Some header files from ancient Source SDK code, that include .xtf file header information and various other info on .xtf (check _XBOX defines, and also XTF lines):
vtf.h: https://pastebin.com/4mtE8zdj
imageformat.h: https://pastebin.com/VHjfxc3f
swizzler.h: https://pastebin.com/Km8Dc4fj
Example .xtf file: https://anonfiles.com/NfG7Ie5cpd/alyx_sheet_xtf
Currently I am able to to convert .xtf to .dds using gssmt (linked in the xentax forum, it's the last post), and then I am able to convert .dds to .xtf by hex editing the .dds, replacing the first bytes from an original .xtf file. This obviously has issues, as there's no room for any changes (like resolution and such)