Difference between revisions of "Gta vc.set"

From GTAMods Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
! Offset || Type || Description
 
! Offset || Type || Description
 
|-
 
|-
| 0x00 || dword || Always 3
+
| 0x000 || dword || Always 3
 
|-
 
|-
| 0x04 || variable || Controls ([[#Controls|see below]])
+
| 0x004 || variable || Controls ([[#Controls|see below]])
 
|-
 
|-
| colspan="3" | The following offset starts at 0x04 + variable
+
| colspan="3" | The following offset starts at 0x004 + variable
 
|-
 
|-
| 0x00 || char[20] || "stuffmorestuffevenmo"
+
| 0x000 || char[20] || <code>stuffmorestuffevenmo</code>
 
|-
 
|-
| 0x14 || char[20] || "stuffmorestuffevenmo"
+
| 0x014 || char[20] || <code>stuffmorestuffevenmo</code>
 
|-
 
|-
| 0x28 || char[4] || "stuf"
+
| 0x028 || char[4] || <code>stuf</code>
 
|-
 
|-
| 0x2C || char[4] || "stuf"
+
| 0x02C || char[4] || <code>stuf</code>
 
|-
 
|-
| 0x30 || char[1] || "s"
+
| 0x030 || char[1] || <code>s</code>
 
|-
 
|-
| 0x31 || char[1] || "s"
+
| 0x031 || char[1] || <code>s</code>
 
|-
 
|-
| 0x32 || char[1] || "s"
+
| 0x032 || char[1] || <code>s</code>
 
|-
 
|-
| 0x35 || dword || Mouse sensitivity
+
| 0x035 || dword || Mouse sensitivity
 
|-
 
|-
| 0x39 || byte || Invert mouse vertically (0 = on, 1 = off)
+
| 0x039 || byte || Invert mouse vertically (0 = on, 1 = off)
 
|-
 
|-
| 0x3A || byte || Mouse controlled steering (0 = on, 1 = off)
+
| 0x03A || byte || Mouse controlled steering (0 = on, 1 = off)
 
|-
 
|-
| 0x3B || byte || SFX volume (1 = lowest setting, 65 = highest setting, 49 = default setting)
+
| 0x03B || 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)
+
| 0x03C || 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)
+
| 0x03D || 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)
+
| 0x03E || byte || [[List of radio stations (VC)|Radio station]]
 
|-
 
|-
| 0x40 || byte || Audio hardware
+
| 0x03F || byte || Speaker configuration (0 = 2 speakers, 1 = headphones, 2 = more than 2 speakers)
 
|-
 
|-
| 0x41 || byte || Dynamic acoustic modeling (0 = off, 1 = on)
+
| 0x040 || byte || Audio hardware
 
|-
 
|-
| 0x42 || word || Brightness (6 = lowest setting, 256 = default, 384 = highest setting)
+
| 0x041 || byte || Dynamic acoustic modeling (0 = off, 1 = on)
 
|-
 
|-
| 0x44 || dword || Draw distance
+
| 0x042 || word || Brightness (6 = lowest setting, 256 = default, 384 = highest setting)
 
|-
 
|-
| 0x48 || byte || Subtitles (0 = off, 1 = on)
+
| 0x044 || dword || Draw distance
 
|-
 
|-
| 0x49 || byte || Wide screen (0 = off, 1 = on)
+
| 0x048 || byte || Subtitles (0 = off, 1 = on)
 
|-
 
|-
| 0x4A || byte || Frame limiter (0 = off, 1 = on)
+
| 0x049 || byte || Wide screen (0 = off, 1 = on)
 
|-
 
|-
| 0x4D || byte || Controls (0 = standard, 1 = classic)
+
| 0x04A || byte || Frame limiter (0 = off, 1 = on)
 
|-
 
|-
| 0x4E || byte || Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish)
+
| 0x04D || 256 bytes || <code>$$""</code> (rest is all '\0')
 
|-
 
|-
| 0x4F || byte || HUD mode (0 = off, 1 = on)
+
| 0x14D || byte || Controls (0 = standard, 1 = classic)
 
|-
 
|-
| 0x50 || byte || Radar mode (0 = map & blips, 1 = blips only, 2 = off)
+
| 0x14E || byte || Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish)
 +
|-
 +
| 0x14F || byte || HUD mode (0 = off, 1 = on)
 +
|-
 +
| 0x150 || byte || Radar mode (0 = map & blips, 1 = blips only, 2 = off)
 
|}
 
|}
  

Revision as of 08:35, 30 June 2015

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)
0x04D 256 bytes $$"" (rest is all '\0')
0x14D byte Controls (0 = standard, 1 = classic)
0x14E byte Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish)
0x14F byte HUD mode (0 = off, 1 = on)
0x150 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