VTFLib is a LGPL open source programming library, written by Neil Jedrzejewski and I. 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 runningi 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.Screenshots:
- Convert .bmp, .dds, .gif, .jpg, .png and .tga files to .vtf and .vmt files with easy access to all .vtf options.
- Convert .vtf files to .bmp, .jpg, .png and .tga files.
- Convert entire folders to and from .vtf and .vmt files.
- Convert .wad files to .vtf and .vmt files.
- Explore .bsp, .gcf, .pak, .wad and .xzp packages.
- Preview .vtf files.
- Recent file menu.
- 100% Free.
Would it be posible for you to make a option to extract a vmt and all it's related .vtf files from the gcf file?
Also, the binary archive download doesn't have VTFCmd in it.
And VTFCmd is in the binary archive, it is in the bin folder.
I am looking to add a buy zone to cs source map dotd_hellhold(I only have the bsp file).
Any suggestions would be appriciated.
Can someone tell me where a tutorial is or make one?
I had read that vtfedit converts .vtf files into tga files. I have done this, but can it convert more than one at a time?
- Select Tools->Convert Folder.
- Set the Input Folder to the folder with your .vtf files.
- Set the Output Folder to the folder you want the .tgas to go.
- Set the Filter to *.vtf.
- Press Convert.
I mistook the batch convert section as looking to convert .tga's to .vtf.
Also, let me say thanks for these very sweet tools. I began my mapping days with Doom! It's a wild trip to see things get to where they are and these tools you have created sure to do make it a great deal more fun.
p.s. (lol...this is giving me a huge smile. I wish kids were this easy to deal with!)
As a work around, you can manually set the paths by setting the following two variables in your VTFEdit.ini file (before running VTFEdit):
I will try to come up with a workaround if I can, but there isn't really an elegant solution. GCFScape had this same problem and I ended up converting it to .NET v2.0 (which doesn't have this bug). Unfortunately converting s a royal pain in the ass.
EDIT: Nevermind I went back and took the three bmps those files originally came from and the program converted fine. Excellent program!!! Just setup a shortcut to the .ini!
New users can register here.