VTEX (Valve Texture Tool): Difference between revisions
Jump to navigation
Jump to search
(Basic usage common for both usage forms, in step by step format.) |
m (→Basic Usage: Minor formatting.) |
||
Line 9: | Line 9: | ||
#Start Steam. | #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. | #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). | #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 (<code>cstrike</code>/<code>dod</code>/<code>hl2</code>/<code>hl2mp</code>). | ||
#The Vtex executable (''Vtex.exe'') is located in the <code>/Steam/SteamApps/''username''/sourcesdk/bin/</code> folder. (Steam must run while it is executed.) | #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]]. | #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 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 == |
Revision as of 15:08, 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.