Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Vtex

From HalfLife 2 Knowledge Base

Jump to: navigation, search

vtex.exe is a program in your SteamApps\*YOURNAME*\sourcesdk\bin directory used for converting files between the .TGA and .VTF format.

vtex.exe Usage: vtex [-quiet] [-nopause] [-mkdir] [-shader ShaderName] [-vmtparam Param V alue] tex1.txt tex2.txt . . . -quiet  : don't print anything out, don't pause for input -warningsaserrors : treat warnings as errors -nopause  : don't pause for input -mkdir  : create destination folder if it doesn't exist -vmtparam  : adds parameter and value to the .vmt file

       eg: -vmtparam $ignorez 1 -vmtparam $translucent 1

Note that you can use wildcards and that you can also chain them e.g. materialsrc/monster1/*.tga materialsrc/monster2/*.tga

Personal tools