VTF2TGA: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) (Official version works in nearly all current Source games, so removed link and added proper usage; page has been wrong for over a decade) |
Deprecated (talk | contribs) m (Changed input file to input) |
||
Line 1: | Line 1: | ||
'''VTF2TGA''' is a primitive [[command-line]] tool used to convert files from the [[VTF]] format to the [[TGA]] format. The tool can also decompile uncompressed HDR VTFs into PFM files, despite the name. | '''VTF2TGA''' is a primitive [[command-line]] tool used to convert files from the [[VTF]] format to the [[TGA]] format. The tool can also decompile uncompressed HDR VTFs into PFM files, despite the name. | ||
: {{Note|'''[[VTFEdit]]''' should be used instead as it's far more flexible and user-friendly, unless you need to work with PFM files.}} | : {{Note|'''[[VTFEdit]]''' should be used instead as it's far more flexible and user-friendly, unless you need to work with PFM files.}} | ||
: {{Bug|{{csgo}} Will crash if an invalid input | : {{Bug|{{csgo}} Will crash if an invalid input is used.}} | ||
==Usage== | ==Usage== |
Revision as of 14:13, 7 May 2019
VTF2TGA is a primitive command-line tool used to convert files from the VTF format to the TGA format. The tool can also decompile uncompressed HDR VTFs into PFM files, despite the name.
Note:VTFEdit should be used instead as it's far more flexible and user-friendly, unless you need to work with PFM files.
Bug:
Will crash if an invalid input is used. [todo tested in ?]
Usage
vtf2tga -i <input vtf> -o <output tga> -mip
Options
-i <input vtf>
- The input VTF. Doesn't need the filename extension.
-o <output tga>
- Name of the output file. Doesn't need the filename extension; outputs .tga for standard textures and .pfm for HDR textures.
-mip
- Optional, dumps all mipmaps from the input VTF.
See also
- VTFEdit - a more flexible third-party alternative to VTF2TGA.
|