VTFLib FAQ - NemPosted: Mar 26th, 2006 - 1:12:56 pm

When I launch VTFEdit I get the following error message:
"The application failed to initialize properly (0xc0000135). Click ok to terminate the application."


VTFEdit is written in C++ .NET and such as requires the .NET runtimes to run. See the downloads page for more information.


When I launch VTFEdit I get the following error message:
"A required .DLL file, MSCOREE.DLL, was not found."


VTFEdit is written in C++ .NET and such as requires the .NET runtimes to run. See the downloads page for more information.

Ask a question...


[ 1 2 ]

1. jadmPosted: Sep 26th, 2006 - 6:18:32 pm
My problem hasnt really got to do with the program itself (program is brilliant), basically when i create a vtf and use it in cs:source the whole image gets placed to the right a bit. So about 2% of the picture which should be on the right side appear on the left side. shrug
This dosnt happen with other vtf's which ive downloaded.
Is it the version (7.0, 7.1, 7.2) or is it the reflectivity. Otherwise everything is exactly the same (in sense of properties) with the ones ive downloaded.
thx 4 the patience.shrug

2. NemPosted: Sep 27th, 2006 - 7:03:56 pm
Can you email me the source image (the one you are importing into VTFEdit) and the .vtf file you generated so I can take a closer look?

3. helpmepleaseModified: Apr 30th, 2007 - 5:49:52 pm
When ever i open open the program, it just stops loading and
says it not responding. I have the .net componet.
Can someone help me please?

4. phatalbertModified: Jan 6th, 2008 - 11:32:53 pm
I have .NET Framework 1.1 and 2.0 and the updates all installed, however, once downloaded VTFEdit it does not open and the error says that it is not configured properly and try reinstalling. I saw a comment about the same problem and they were told to go get .NET framework. I have already and still VTFEdit will not open can you please help me Nem. Do I need to get rid of all frameworks prior to 2.0 and only keep 2.0 ? I also DLd the nVidia pack with the Lib file that was recommended and still VTFEdit wont open, please help.

5. SmiechuPosted: Feb 28th, 2008 - 8:39:19 am
I can't open TF2 VTFs because i'm getting this error:

Btw. I was trying to open v_greanadelaucnher.vtf

6. FrostyfrogPosted: Mar 18th, 2008 - 4:39:29 pm
I have the exact same problem as Smiechu. I'm not trying to load TF2 VTFs tho. I am trying to load my own VTF that I made with Vtex to see if it worked.

7. FrostyfrogModified: Jul 12th, 2008 - 4:00:23 pm
How can I edit an image that has the Eight Bit Alpha turned on? I can send you the files to show what I'm talking about if you want. But when I look at the image in Vista's explorer bar, It looks different from the one I see in Paint.Net after I convert it with VTFEdit.

8. NemPosted: Jul 12th, 2008 - 4:02:07 pm
Right, I received a problem .vtf file two weeks ago, but I forgot and haven't yet had a chance to look at it. In Photoshop, you can edit the alpha channel by simply selecting it under the Channels tab (bottom right corner).

I don't know if Vista previews the alpha channel, but in VTFEdit, the Mask setting (View menu) lets you switch between the RGB channels and the RGB channels blended with a checkered background via the alpha channel (for previews).

9. InflatableSoulmateModified: Dec 20th, 2008 - 4:03:08 am
I was wondering if it's possible to use vtflib to convert a vtf file to a jpg. What I'm looking for is something command-line that a php script could call then snarf up the jpg for display on a web page.

You can find out what decal is being used by a person on your server from within a sourcemod plugin, and the server saves it inside a .dat file. If you rename the .dat file to a .vtf file, you can open it with your photoshop plugin. What I want to do is write a plugin for our gameservers that will export a web page so that admins can see if any of the players are responsible for spraying pornographic or racist decals without having to be present in-game.

EDIT: Nevermind. I found the -exportformat option, finally :) missed it the first several times I looked through the cmd screenshot on the about page. Works like a charm, and I'll look into making this all automated. Thanks for an excellent toolset. :)


Inflatable Soulmate
Server Operations Manager
Brothers of Chaos Multi-Gaming Clan

10. Christoffer395Posted: Dec 25th, 2008 - 4:28:14 pm
I got a error message when trying to open a random .VTF file

Error loading VTF texture

File signature does not match 'VTF'

What does it mean, is it possible to fix it?

11. NemPosted: Dec 31st, 2008 - 4:55:25 pm
It sounds like the file is not a Valve Texture Format file. Not all files of the same extension share the same format. There is no fix for this.

12. twocowsPosted: Jan 4th, 2009 - 12:39:45 am
I have a spray with transparency that I created using two PNG files, and there are a bunch of purple pixels at the place where the image meats the transparency (looks like the image has a purple border around it). Here's a screenshot: http://img186.imageshack.us/my.php?image=purpleborderuh3.jpg

13. kraidPosted: Apr 16th, 2009 - 8:18:01 am
At first i want to tell you VTFEdit is absolutly awesome, i use it since a while now and it really makes live (or at least converting textures for source) a lot easier.

But now i have a little problem:

I tried to create a spheremap (for reflection on a prop).
As far as i know, i would need to save it as a enviroment map, but no matter what i do, i cannot make it checking the flag for enviroment map.

The vtf plugin for Photoshop doesn't support enviroment maps, so maybe it's not working in VTFEdit, too.

Can you please tell me if it's possible to create enviroment maps (in that case a spheremap) with VTFEdit and if it is, how to do it?

14. NemPosted: Apr 18th, 2009 - 4:31:55 pm
Sphere map support in the Source engine is deprecated. Sphere maps were only included as a fallback for older versions of DirectX. You can still create them with VTFEdit, however. To do so:
  1. Press the Input button.
  2. Select six images that make up the cube map.
  3. Select Generate Sphere Map to generate a sphere map from the six images.
  4. Press OK.
The sphere map will be the seventh face in the .vtf. I belive you can also specify seven images if you want (the seventh one being the sphere map).

15. kraidPosted: Apr 19th, 2009 - 6:09:19 am
Thanx for the info, you're my hero.

[ 1 2 ]

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

Valid XHTML 1.0 Transitional Valid CSS