Image writePrecompressedTextures (cvar)

Description

write .dds files if necessary

Usage

At the console type…

image_writePrecompressedTextures [BOOLEAN]

Parameters

  • [boolean]
    • 0 - Precompressed texture writing is disabled.
    • 1 - Precompressed texture writing is enabled. When Doom3 loads an image asset, it will check for a corresponding DDS file. If none exists, Doom3 will write the compressed image that it has generated to disk within the dds directory corresponding to the image’s location in the base directory.

Flags

Flag Enabled Description
CVAR_ALL all flags
CVAR_BOOL X variable is a boolean
CVAR_INTEGER variable is an integer
CVAR_FLOAT variable is a float
CVAR_SYSTEM system variable
CVAR_RENDERER X renderer variable
CVAR_SOUND sound variable
CVAR_GUI gui variable
CVAR_GAME game variable
CVAR_TOOL tool variable
CVAR_USERINFO sent to servers, available to menu
CVAR_SERVERINFO sent from servers, available to menu
CVAR_NETWORKSYNC cvar is synced from the server to clients
CVAR_STATIC X statically declared, not user created
CVAR_CHEAT X variable is considered a cheat
CVAR_NOCHEAT variable is not considered a cheat
CVAR_INIT can only be set from the command-line
CVAR_ROM display only, cannot be set by user at all
CVAR_ARCHIVE set to cause it to be saved to a config file
CVAR_MODIFIED X set when the variable is modified

Notes

  • Other games based on the Doom 3 engine may write the DDS file to the same directory as the original image asset. These games should load the DDS file from this location, though Doom 3 does not.