RESIZEINFO

From Valve Developer Community
Jump to navigation Jump to search

.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