gta_vc.set

From GTAMods Wiki
Revision as of 09:22, 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
0x000 dword Always 3
0x004 variable Controls (see below)
The following offset starts at 0x004 + variable
0x000 char[20] stuffmorestuffevenmo
0x014 char[20] stuffmorestuffevenmo
0x028 char[4] stuf
0x02C char[4] stuf
0x030 char[1] s
0x031 char[1] s
0x032 char[1] s
0x035 dword Mouse sensitivity
0x039 byte Invert mouse vertically (0 = on, 1 = off)
0x03A byte Mouse controlled steering (0 = on, 1 = off)
0x03B byte SFX volume (1 = lowest setting, 65 = highest setting, 49 = default setting)
0x03C byte Music volume (1 = lowest setting, 65 = highest setting, 49 = default setting)
0x03D byte MP3 volume boost (0 = default setting, 1 = lowest setting, 65 = highest setting)
0x03E byte Radio station
0x03F byte Speaker configuration (0 = 2 speakers, 1 = headphones, 2 = more than 2 speakers)
0x040 byte Audio hardware
0x041 byte Dynamic acoustic modeling (0 = off, 1 = on)
0x042 word Brightness (6 = lowest setting, 256 = default, 384 = highest setting)
0x044 dword Draw distance
0x048 byte Subtitles (0 = off, 1 = on)
0x049 byte Wide screen (0 = off, 1 = on)
0x04A byte Frame limiter (0 = off, 1 = on)
0x04B byte Screen resolution
0x04C byte Let n = 1 for a few resolutions that adds this extra byte, otherwise n = 0
0x04C + n char[256] Skin name without file extension with null terminator (default skin = $$""\0)
0x14C + n byte Controls (0 = standard, 1 = classic)
0x14D + n byte Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish)
0x14E + n byte HUD mode (0 = off, 1 = on)
0x14F + n 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