About VTFLib - NemPosted: Apr 18th, 2005 - 10:27:01 pm

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.


VTFEdit .vtf frame/face/mipmap viewing. VTFEdit .vtf information viewing.

VTFEdit file system browsing. VTFEdit .vmt viewing.

VTFEdit import options. VTFEdit batch conversion options.

VTFEdit .wad conversion options. VTFEdit .vmt creation wizard.

VTFEdit .vmt creation wizard. VTFCmd command line options.

Documentation: Features:
  • 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.
Download: Third Party Downloads:
Modified: Sep 14th, 2007 - 3:28:10 am[ 610957 Views ]

[ 1 2 3 4 5 6 7 8 9 ]

91. BrandonPosted: Jul 13th, 2010 - 1:43:09 pm
Because it's already possible to generate normal maps, could SSBump creation be added to VTFEdit, too?

92. youtoolmustbevirusPosted: May 19th, 2011 - 1:54:57 am
I think the trojan horse: rnupgagent.exe must be by this tool.. I shouldn't use this tool because i suspected if it was this or between other programs :(. I hope i get another brand new comp again :(

93. DomIIIModified: May 19th, 2011 - 4:09:42 am
please do not make such false claims. i just checked the installer again and (surprise) it did not install a file named rnupgagent.exe on my system
you must have gotten it from somewhere else :/

94. NemPosted: May 20th, 2011 - 12:03:52 am
There is no Trojan in the installer. Did you get VTFEdit from a third party website? The source code is available here so even the most paranoid of users can build their own executable.

95. SpaceCorePosted: May 29th, 2011 - 2:47:53 am
Combined with GCFScape and a high quality vectorizing tool for upscaling, VTFLib makes a good rattman-scribblings poster maker.

Of course, you DO have to find the overlays first... ._.

96. XaymarModified: Jul 26th, 2011 - 10:58:16 pm
The current x64 binary of VTFEdit is failing on Windows Vista/7 with a SideBySide error:
D:\Program Files\Nem's Tools\VTFEdit\VTFEdit.exe

I think Microsoft is no longer supporting 2005 on Vista and 7...

97. BansheeFndPosted: Apr 19th, 2012 - 5:51:10 pm
Okay, ProblemSolver's Method worked.

This will fix both "The application has failed to start because the application configuration is incorrect." and "The application has failed to start because its side-by-side configuration is incorrect." messages on Windows 7 and Windows XP. If you're running 64 bit, Install both 86 and 64. Don't worry about IA64.

98. stevethepocketPosted: Nov 19th, 2012 - 10:04:14 pm
Hey. I did some digging on the developer wiki and found out about NICE filtering. How come VTFLib doesn't offer that as an option alongside the other mipmap rescaling methods? Since it's the default method VTEX uses, it sounds like it would be ideal for matching stock textures. Not to mention signs, which I can't seem to find a good setting for that's sharpened but not too sharpened. (Even Sharpen Soft is too harsh.)

99. NemPosted: Nov 20th, 2012 - 11:01:38 pm
Sine cardinal is more less the same thing.

100. TheLordYugiPosted: May 19th, 2013 - 3:09:36 am
Is possible i use VTFLib in C# to open image to System.Drawing.Bitmap?
sorry for my bad english.

101. NemPosted: May 20th, 2013 - 12:54:04 am
You could create a C++ .Net library and link it to VTFLib then use that to create a class you can use from C#.

102. TheLordYugiPosted: May 20th, 2013 - 12:10:39 pm
thanks, I'll try that.

103. panziPosted: Mar 8th, 2014 - 5:22:27 am
This is very cool! I started with a Linux port of VTFLib:

I just got it to compile. It's completely untested. I hope I did not break binary compatibility when compiled under Windows. I had to change some types for IO (offset type, size type etc.), but I did this with #ifdefs in stdafx.h so that it should be the same under Windows as it was before (I replaced the seek mode vlUInt with an enum, but that should be compatible).

104. panziPosted: Mar 8th, 2014 - 5:25:19 am
PS: Why did you write your own IO library and did not use std IO streams? Btw. there is an uninitialized member in the MemoryReader, IIRC.

105. panziPosted: Mar 8th, 2014 - 5:27:59 am
Oh and what is this weird ProcReader/ProcWriter good for? Why not just derive IReader/IWriter? Why this strange single global vtable if you can have as many vtables as you like?

[ 1 2 3 4 5 6 7 8 9 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.029393s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS