No vtf: Difference between revisions
Jump to navigation
Jump to search
Tip:Compressed HDR textures are automatically detected by the presence of the string "hdr" near the end of the filename.

(no_vtf-desktop v0.1.2) |
Thunder4ik (talk | contribs) m (→Help text: Unicodifying, replaced: </b> → ''' (10), <b> → ''' (10)) |
||
Line 45: | Line 45: | ||
{{License|type=lgpl|version=3}} Help from no_vtf run without an input file: | {{License|type=lgpl|version=3}} Help from no_vtf run without an input file: | ||
{{codeblock| | {{codeblock| | ||
Usage: | Usage: '''{{font color|{{no vtf|col}}|no_vtf}} {{font color|lightgray|[OPTIONS] [--] PATH...}}'''<br> | ||
Convert Valve Texture Format files into standard image files.<br> | Convert Valve Texture Format files into standard image files.<br> | ||
PATH can be either file, or directory (in which case it is recursively | PATH can be either file, or directory (in which case it is recursively | ||
Line 91: | Line 91: | ||
Upon a recoverable error, conversion will proceed with the next file.<br> | Upon a recoverable error, conversion will proceed with the next file.<br> | ||
<u>Options</u>: | <u>Options</u>: | ||
{{font color|#D78700| | {{font color|#D78700|'''Conversion mode: '''}} | ||
--animate / --no-animate Output animated image file (default) / | --animate / --no-animate Output animated image file (default) / | ||
output each frame individually | output each frame individually | ||
--raw Extract image data as-is (without decoding)<br> | --raw Extract image data as-is (without decoding)<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Extraction: '''}} | ||
-m, --mipmaps Extract all mipmaps | -m, --mipmaps Extract all mipmaps | ||
--low-res-img Extract low resolution image | --low-res-img Extract low resolution image | ||
Line 108: | Line 108: | ||
--slices INDEX|[START]:[STOP][:STEP] | --slices INDEX|[START]:[STOP][:STEP] | ||
Slices to extract<br> | Slices to extract<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Image decoding (not used with --raw): '''}} | ||
--dynamic-range [ldr|hdr] Override LDR/HDR auto-detection | --dynamic-range [ldr|hdr] Override LDR/HDR auto-detection | ||
--overbright-factor FLOAT Multiplicative factor used for decoding | --overbright-factor FLOAT Multiplicative factor used for decoding | ||
compressed HDR textures [default: 16.0]<br> | compressed HDR textures [default: 16.0]<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Image postprocessing (not used with --raw): '''}} | ||
--hdr-to-ldr Convert HDR from linear sRGB to sRGB and | --hdr-to-ldr Convert HDR from linear sRGB to sRGB and | ||
output as clipped LDR | output as clipped LDR | ||
--separate-channels Output the RGB/L and A channels separately<br> | --separate-channels Output the RGB/L and A channels separately<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Image output (not used with --raw): '''}} | ||
-f, --ldr-format SINGLE[|MULTI] | -f, --ldr-format SINGLE[|MULTI] | ||
LDR output format [default: tiff|apng] | LDR output format [default: tiff|apng] | ||
Line 124: | Line 124: | ||
[default: 5] | [default: 5] | ||
--compress / --no-compress Control lossless compression<br> | --compress / --no-compress Control lossless compression<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Read/write control: '''}} | ||
--always-write / --no-write Write images | --always-write / --no-write Write images | ||
--readback / --no-readback Readback images<br> | --readback / --no-readback Readback images<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Output destination: '''}} | ||
-o, --output-dir PATH Output directory | -o, --output-dir PATH Output directory | ||
-O, --output-file PATH Output file<br> | -O, --output-file PATH Output file<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Miscellaneous: '''}} | ||
--num-workers INTEGER Number of workers for parallel conversion | --num-workers INTEGER Number of workers for parallel conversion | ||
{{font color|gray|[x>=1]}} | {{font color|gray|[x>=1]}} | ||
--no-progress Do not show the progress bar<br> | --no-progress Do not show the progress bar<br> | ||
{{font color|#D78700| | {{font color|#D78700|''' Info: '''}} | ||
-h, --help Show this message and exit. | -h, --help Show this message and exit. | ||
--version Show the version and exit. | --version Show the version and exit. |
Revision as of 11:31, 8 January 2024
no_vtf is an open source alternative to VTF2TGA. Unlike its first-party counterpart, it also supports converting VTFs to PNG, TIFF, and EXR, and can also decompress compressed HDR skybox textures.

Help text

The following work is licensed under the GNU General Public License 3.0
This work is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License; version 3 as published by the Free Software Foundation. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See version 3 of the GNU Lesser General Public License for more details.
This work is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License; version 3 as published by the Free Software Foundation. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See version 3 of the GNU Lesser General Public License for more details.
Help from no_vtf run without an input file:
See also
External links
|