CAPS.DAT

From GTAMods Wiki
Revision as of 04:55, 3 February 2015 by Link2012 (talk | contribs)
Jump to navigation Jump to search

CAPS.DAT is a binary cache file in the ./data directory of GTA III and Vice City. It stores information about the capabilities of the user video card. This file does not appear upon installation. It is generated along with txd.dir and txd.img once you run the game for the first time.

The file is regereneted, alongside the texture cache, if the video card capabilities change between game runs.

File Format

Offset Description
0x00 The optimal raster format for RGBA textures
0x04 The optimal raster format for RGB textures
0x08 The optimal raster format for greyscale textures
0x0C The optimal raster format for RGBA textures with less than 256 colors.

See also