VTEX (Valve Texture Tool): Difference between revisions
Jump to navigation
Jump to search
(Moved away and linked to most of the article.) |
(Basic usage common for both usage forms, in step by step format.) |
||
Line 3: | Line 3: | ||
'''Vtex''', or Valve Texture Tool, is the standard application used to convert [[TGA|targa (.tga)]] image files into [[VTF|Valve Texture Files (.vtf)]] for use in the Source engine. | '''Vtex''', or Valve Texture Tool, is the standard application used to convert [[TGA|targa (.tga)]] image files into [[VTF|Valve Texture Files (.vtf)]] for use in the Source engine. | ||
Vtex can be | |||
== Basic Usage == | |||
#Start Steam. | |||
#If necessary, start Source SDK and set/verify the game that you are converting the texture for in the ''Current Game'' drop-down list located at the bottom of the Source SDK menu. | |||
#Place the targa image to be converted in the <code>SteamApps/''username''/sourcesdk_content/gamefolder/materialsrc/</code> folder, where ''gamefolder'' is the game folder of the current game (cstrike/dod/hl2/hl2mp). | |||
#The Vtex executable (''Vtex.exe'') is located in the <code>/Steam/SteamApps/''username''/sourcesdk/bin/</code> folder. (Steam must run while it is executed.) | |||
#Vtex can be executed in one of two ways: Through the "drag-and-drop" method in Windows (described below), or [[Vtex CLI use|through the command line interface]]. | |||
#The resulting Valve Texture File (.vtf) will be compiled to the <code>materials/</code> folder of the current game by default. For instance, if your username would be GordonFreeman, and the current game would be [[Half-Life 2]], the texture file would be compiled to the <code>SteamApps/GordonFreeman/half-life 2/hl2/materials/</code> folder. | |||
== The drag-and-drop method == | == The drag-and-drop method == | ||
The drag-and-drop method is | The drag-and-drop method is the easy way to use Vtex. Just drag the targa image to be converted from its <code>materialsrc/</code> on top of ''Vtex.exe'' and let go, and that's it. | ||
{{todo|More detail | {{todo|More detail? The process is apparently currently described in [[Creating Materials]], but should be moved here.}} | ||
Revision as of 15:05, 28 August 2007
Overview
Vtex, or Valve Texture Tool, is the standard application used to convert targa (.tga) image files into Valve Texture Files (.vtf) for use in the Source engine.
Basic Usage
- Start Steam.
- If necessary, start Source SDK and set/verify the game that you are converting the texture for in the Current Game drop-down list located at the bottom of the Source SDK menu.
- Place the targa image to be converted in the
SteamApps/username/sourcesdk_content/gamefolder/materialsrc/
folder, where gamefolder is the game folder of the current game (cstrike/dod/hl2/hl2mp). - The Vtex executable (Vtex.exe) is located in the
/Steam/SteamApps/username/sourcesdk/bin/
folder. (Steam must run while it is executed.) - Vtex can be executed in one of two ways: Through the "drag-and-drop" method in Windows (described below), or through the command line interface.
- The resulting Valve Texture File (.vtf) will be compiled to the
materials/
folder of the current game by default. For instance, if your username would be GordonFreeman, and the current game would be Half-Life 2, the texture file would be compiled to theSteamApps/GordonFreeman/half-life 2/hl2/materials/
folder.
The drag-and-drop method
The drag-and-drop method is the easy way to use Vtex. Just drag the targa image to be converted from its materialsrc/
on top of Vtex.exe and let go, and that's it.
Todo: More detail? The process is apparently currently described in Creating Materials, but should be moved here.