gta_vc.set

From GTAMods Wiki
Revision as of 08:16, 30 June 2015 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

The gta_vc.set file is a binary file that stores the game's configuration settings for Vice City. It is located in the User Files directory. The game automatically generates this file with default settings if it is missing. Each time a setting has been changed within the game menu, the file changes immediately.

Format

Offset Type Description
0x00 dword Always 3
0x04 variable Controls (see below)
The following offset starts at 0x04 + variable
0x00 char[20] "stuffmorestuffevenmo"
0x14 char[20] "stuffmorestuffevenmo"
0x28 char[4] "stuf"
0x2C char[4] "stuf"
0x30 char[1] "s"
0x31 char[1] "s"
0x32 char[1] "s"
0x35 dword Mouse sensitivity
0x39 byte Invert mouse vertically (0 = on, 1 = off)
0x3A byte Mouse controlled steering (0 = on, 1 = off)
0x3B byte SFX volume (1 = lowest setting, 65 = highest setting, 49 = default setting)
0x3C byte Music volume (1 = lowest setting, 65 = highest setting, 49 = default setting)
0x3D byte MP3 volume boost (0 = default setting, 1 = lowest setting, 65 = highest setting)
0x3F byte Speaker configuration (0 = 2 speakers, 1 = headphones, 2 = more than 2 speakers)
0x40 byte Audio hardware
0x41 byte Dynamic acoustic modeling (0 = off, 1 = on)
0x42 word Brightness (6 = lowest setting, 256 = default, 384 = highest setting)
0x44 dword Draw distance
0x48 byte Subtitles (0 = off, 1 = on)
0x49 byte Wide screen (0 = off, 1 = on)
0x4A byte Frame limiter (0 = off, 1 = on)
0x4D byte Controls (0 = standard, 1 = classic)
0x4E byte Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish)
0x4F byte HUD mode (0 = off, 1 = on)
0x50 byte Radar mode (0 = map & blips, 1 = blips only, 2 = off)

Controls

This is a list of all controls in order of appearance in the settings file. The names are taken from the game menu.

  • Fire
  • Next weapon
  • Previous weapon
  • Forward (on foot)
  • Backwards
  • Left
  • Right
  • Zoom in
  • Zoom out
  • Enter+exit
  • Change camera
  • Jump
  • Sprint
  • Look behind
  • Crouch
  • Action
  • Forward (in car)
  • Backwards (in car)
  • Radio
  • Horn
  • Submission
  • Handbrake
  • Look left (on foot, classic)
  • Look right (on foot, classic)
  • Look left (in car)
  • Look right (in car)
  • ? (cannot configure)
  • Look left+Turret L
  • Look right+Turret R
  • Turret + Lean Up
  • Turret + Lean Down
  • Next target (classic)
  • Previous target (classic)
  • Center camera (classic)
  • Target
  • T key (cannot configure, network talk?)
  • Look Up
  • Look Down

Each control is between 8 to 9 bytes in size depending on the assigned button. There are a total of four sections for primary, secondary, tertiary, and quaternary controls, and each section has a total of 44 possible controls, although there are only 38 contiguous controls listed above. This variation makes the settings file variable in size.

See also