VTFLib

From Valve Developer Community
Revision as of 09:17, 11 September 2005 by Nem (talk | contribs) (Added VTFCmd links.)
Jump to navigation Jump to search

VTFLib is an LGPL open source programming library, created by Neil "Jed" Jedrzejewski and Ryan "Nemesis" Gregg.

VTFLib provides a C and C++ API that, with a few simple functions, can open and save .vtf and .vmt files, providing access to all known features. The library functions independent of Steam, allowing third party applications to use the library without Steam present or running on the target system.

VTFLib includes two GPL example applications, VTFCmd and VTFEdit. VTFCmd is a C command line frontend for VTFLib that can create .vtf and .vmt files from various source formats. It is similar in functionality to Valve's VTEX Source SDK utility, but offers a lot more control. VTFEdit is a C++ .NET graphical frontend for VTFLib with viewing and creation capabilities. Both VTFCmd and VTFEdit support several source image formats, including, but not limited to .bmp, .dds, .gif, .jpg, .png and .tga.

VTFLib uses the nVidia DXTn library at the heart of its DXT image processing and is able to produce compressed images of a much higher quality than the default SDK VTEX tool.


External links