Difference between revisions of "Gta3.set"
(Created page with "{{lowercase}} The '''gta3.set''' file is a binary file that stores the game's configuration settings for GTA III. It is located in the User Files direct...") |
|||
Line 7: | Line 7: | ||
! Type || Description | ! Type || Description | ||
|- | |- | ||
− | | qword[41] || Primary controls | + | | qword[41] || Primary controls ([[#Controls|see below]]) |
|- | |- | ||
| qword[41] || Secondary controls | | qword[41] || Secondary controls | ||
Line 73: | Line 73: | ||
| byte || Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish) | | byte || Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish) | ||
|} | |} | ||
+ | |||
+ | == 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 (on foot) | ||
+ | * Left | ||
+ | * Right | ||
+ | * Zoom in | ||
+ | * Zoom out | ||
+ | * Enter / exit | ||
+ | * Change camera | ||
+ | * Jump | ||
+ | * Sprint | ||
+ | * Look behind | ||
+ | * Forward (in car) | ||
+ | * Backwards (in car) | ||
+ | * Radio | ||
+ | * Horn | ||
+ | * Sub-mission | ||
+ | * Handbrake | ||
+ | * Look left (on foot, classic) | ||
+ | * Look right (on foot, classic) | ||
+ | * Look left (in car) | ||
+ | * Look right (in car) | ||
+ | *? (cannot configure) | ||
+ | * Turret Left | ||
+ | * Turret Right | ||
+ | * Turret / Dodo up | ||
+ | * Turret / Dodo down | ||
+ | * Next target (classic) | ||
+ | * Previous target (classic) | ||
+ | * Center camera (classic) | ||
+ | * Target | ||
+ | *? (cannot configure) | ||
+ | * Look Up (classic) | ||
+ | * Look Down (classic) | ||
+ | Each control is between 8 to 9 bytes in size depending on the prefixing of 0x0D to 0x0A. There are a total of four sections for primary, secondary, tertiary, and quaternary controls, and each section has a total of 41 possible controls, although there are only 36 contiguous controls listed above. | ||
== See also == | == See also == |
Revision as of 01:21, 1 July 2015
The gta3.set file is a binary file that stores the game's configuration settings for GTA III. 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
Oddly, any settings that begins with a value of 0x0A will be padded with the prefix 0x0D. This means that the settings file can vary in size. For example, if a screen resolution is 0x0A, then the game will prefix and save the value as 0x0D0A. Even with floating-point values which are in little-endian order, if it starts with 0x0A it will still be prefixed, e.g. 0x0AD7233B (0.0025 in little-endian order) will be prefixed and saved as 0x0D0AD7233B.
Type | Description |
---|---|
qword[41] | Primary controls (see below) |
qword[41] | Secondary controls |
qword[41] | Tertiary controls |
qword[41] | Quaternary controls |
char[20] | stuffmorestuffevenmo
|
char[20] | stuffmorestuffevenmo
|
char[4] | stuf
|
char[4] | stuf
|
char[1] | s
|
char[1] | s
|
char[1] | s
|
byte | |
float | |
float | Mouse sensitivity |
byte | Invert mouse vertically (0 = on, 1 = off) |
byte | Mouse controlled steering (0 = on, 1 = off) |
byte | SFX volume (0 = lowest setting, 127 = highest setting, 102 = default setting) |
byte | Music volume (0 = lowest setting, 127 = highest setting, 102 = default setting) |
byte | Radio station |
byte | Speakers configuration (0 = 2 speakers, 1 = headphones, 2 = more than 2 speakers) |
byte | Audio hardware |
byte | Dynamic acoustic modeling (0 = off, 1 = on) |
byte | |
float | Draw distance |
byte | Subtitles (0 = off, 1 = on) |
byte | Wide screen (0 = off, 1 = on) |
byte | Frame sync (0 = off, 1 = on) |
byte | Frame limiter (0 = off, 1 = on) |
byte | Screen resolution |
byte | Trails (0 = off, 1 = on) |
char[256] | Skin name without file extension with null terminator (default skin = $$""\0 )
|
byte | Controls (0 = standard, 1 = classic) |
byte | Language (0 = English, 1 = French, 2 = German, 3 = Italian, 4 = Spanish) |
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 (on foot)
- Left
- Right
- Zoom in
- Zoom out
- Enter / exit
- Change camera
- Jump
- Sprint
- Look behind
- Forward (in car)
- Backwards (in car)
- Radio
- Horn
- Sub-mission
- Handbrake
- Look left (on foot, classic)
- Look right (on foot, classic)
- Look left (in car)
- Look right (in car)
- ? (cannot configure)
- Turret Left
- Turret Right
- Turret / Dodo up
- Turret / Dodo down
- Next target (classic)
- Previous target (classic)
- Center camera (classic)
- Target
- ? (cannot configure)
- Look Up (classic)
- Look Down (classic)
Each control is between 8 to 9 bytes in size depending on the prefixing of 0x0D to 0x0A. There are a total of four sections for primary, secondary, tertiary, and quaternary controls, and each section has a total of 41 possible controls, although there are only 36 contiguous controls listed above.