RESIZEINFO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{code|.resizeinfo}} files are created by xwad when converting a non-power-of-two WAD texture. These are used by Hammer's Convert WAD to VMT... tool to correct the UV coordinates when editing the map to use the converted a power-of-two VTF. If absent, the tool assumes that the VTF texture is the same resolution as the original WAD texture. {{todo|Provide a set of RESIZEINFO files for {{hls}}; it doesn't come with them by default.}} == Syntax == RESIZEINFO files...")
 
No edit summary
 
Line 6: Line 6:
RESIZEINFO files are plaintext, containing two [[integer]]s representing the original WAD texture's width and height, separated by a space. For example, if the original texture was a 48x96 door, the resulting RESIZEINFO would look like so:
RESIZEINFO files are plaintext, containing two [[integer]]s representing the original WAD texture's width and height, separated by a space. For example, if the original texture was a 48x96 door, the resulting RESIZEINFO would look like so:
{{codeblock|48 96}}
{{codeblock|48 96}}
== See also ==
* [[xwad]]
* [[Convert WAD to VMT...]]


[[category:file formats]]
[[category:file formats]]
[[category:plain text formats]]
[[category:plain text formats]]

Latest revision as of 08:36, 15 March 2025

.resizeinfo files are created by xwad when converting a non-power-of-two WAD texture. These are used by Hammer's Convert WAD to VMT... tool to correct the UV coordinates when editing the map to use the converted a power-of-two VTF. If absent, the tool assumes that the VTF texture is the same resolution as the original WAD texture.

Todo: Provide a set of RESIZEINFO files for Half-Life: Source; it doesn't come with them by default.

Syntax

RESIZEINFO files are plaintext, containing two integers representing the original WAD texture's width and height, separated by a space. For example, if the original texture was a 48x96 door, the resulting RESIZEINFO would look like so:

48 96

See also