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[ 611115 Views ]

[ 1 2 3 4 5 6 7 8 9 ]

1. NoBodyPosted: Apr 19th, 2005 - 4:25:31 am
Gj, i told the creator of fragmotion about it and he is considering building it in to fragmotion.

2. NemModified: Apr 21st, 2005 - 4:06:09 pm
Sounds good. happy

Some features we are working on for the next version (if you have any requests let me know):

- .vmt C creation routines.

- Basic .vmt creation (similar to vtex).

- Toolbar.
- Paste as new.
- Zooming.
- Alpha mask.
- Integrated file system browser.

You can find a preview here.

3. amckernPosted: Apr 21st, 2005 - 2:37:22 am
Can you please mark the bin better, i downloaded the sdk, first, and thought, WHERE ARE THE .EXE'S

So please, mark one as the exe style, as you have with your other tools



4. NemPosted: Apr 21st, 2005 - 10:50:45 am
I'll be changing the distribution for the next release, separating the code from the binaries and also providing an archive or installer for the binaries (similar to all my other binary distributions).

5. VarsityPosted: Apr 27th, 2005 - 12:05:13 pm
hllib.dll is missing from the installer, the version distributed with GCFScape is too old, and I haven't a clue what to do with the standalone download. package

6. NemPosted: Apr 27th, 2005 - 12:24:00 pm
Thnx, it has been fixed.

7. amckernPosted: May 8th, 2005 - 1:02:24 am
Nem would it be posible for vtfedit to produce a vmt, to the default save location, or is this to complex, with open varibales, and many texture styles?

PS, VERY GOOD WORK on the wad convertor!

8. NemPosted: May 8th, 2005 - 11:24:15 am
Yes, this is the planned focus for the next release, probably in the form of an export .vmt and auto export .vmt methodology.

It would be helpful if someone could provide templates for the various typical .vmt files (normal texture, bump mapped texture, HUD texture, sprite, etc).

Glad you like the .wad converter.


9. amckernPosted: May 11th, 2005 - 2:47:13 am
there are other tools around, that support the difering formats, if you contact the maker of vtex gui, you should come into good hands with them, its off my mind who made it, but i think 95% that its a hl2world forum topic for cs textures, that got hijackd

10. VarsityModified: May 11th, 2005 - 5:24:02 am
When I try to preview any normal map VTFs I make with VTFLib through the VTF Shell Extensions, the bottom third of the image is pure black. It works ingame, but seeing as that only happens for files I make with VTFLib I thought you might like to know. The program is evidently doing something non-standard.

11. NemPosted: May 11th, 2005 - 10:26:57 am
The VTF shell extensions are Jed's right? You might want to check that the bug isn't his. Is the format RGBA8888? I think he had a problem with that (try BGR888 or BGRA8888).

12. puryfuryPosted: Jun 20th, 2005 - 6:29:44 pm
I can't see scrollbar on the file system tab. What's a problem?
I using .net framework korean. pleaze help~

13. NemPosted: Jun 25th, 2005 - 12:10:38 am
Odd indeed. I don't know why this would happen, it is a standard system control. All I have to do is enable scrollbars and the system should take care of the rest.

14. NoBodyPosted: Jun 26th, 2005 - 11:20:07 am
hmm basic .vmt you say, hold on just a sec.

A emty material for wold geomaty



--commands you can have in it--

//Defuce texture (path is relative to materials folder, no .vtf)
"$basetexture" "MyTextures/Texture1"

//2 sided material
"$nocull" 1

//normal map bump mapping
"$bumpmap" "MyTextures/Texture1"

//8 bit transparency (uses the alpha form the basetexture)
"$translucent" 1

//1 bit transparency (uses the alpha form the basetexture).
"$alphatest" "1"

//material type (affects the sound and decale when hit)
"$surfaceprop" "concrete"
(I'll give you a list of posibles later on).

thers alot more stuff you can put in there as weal ill try to give you some more if you want.

15. NemPosted: Jun 26th, 2005 - 12:53:37 pm
I've already added VMT support.

If you enable Auto Create VMT File from the options menu, it will create a VMT with a $basetexture and a default shader whenever you save a VTF file. If you select Create VMT File from the Tools menu, you can specify all of the above options and create your VTF files. In order for the paths to be correct, your VTF file must be in a materials folder.

[ 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.02928s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS