VTEX (Valve Texture Tool): Difference between revisions
Jump to navigation
Jump to search
m (ββThe drag-and-drop method: Directed link.) |
(Linked to compile parameters.) |
||
Line 10: | Line 10: | ||
#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 (<code>cstrike</code>/<code>dod</code>/<code>hl2</code>/<code>hl2mp</code>). | #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>). | ||
#If necessary, write a list of [[Vtex compile parameters]] and put it in the same folder as the targa image. | |||
#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 == | ||
Line 18: | Line 21: | ||
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. | 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? The process is apparently currently described in [[Material]], but should be moved here.}} | {{todo|More detail? The process is apparently currently described in [[Material]], but should be moved here.}} | ||
==See also== | ==See also== | ||
* [[Vtex compile parameters]] | |||
* [[Vtex CLI use]] | * [[Vtex CLI use]] | ||
* [[Vtex troubleshooting]] | * [[Vtex troubleshooting]] |
Revision as of 07:02, 29 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
). - If necessary, write a list of Vtex compile parameters and put it in the same folder as the targa image.
- 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 Material, but should be moved here.