Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Structure of gta_sa.set


fastman92
 Share

Recommended Posts

 

Structure of gta_sa.set

 

:?: gta_sa.set is file, that contains settings of GTA SA player. These settings could be set in game, but GTA modders often gonna write applications, that read settings and make something with them. Offsets and values written in hex as this is standard of HEX editors.

:?: gta_sa.set to plik, który zawiera ustawienia GTA SA. Offsety i wartości poniżej są podane w hex, co jest standardem w hex edytorach.

 

 

0xB4A - values:

00 -> Legend: off

01 -> Legend: on

 

0xB3C - values:

00 -> Hud: off

01 -> Hud: on

 

0xB3D - values:

00 -> Radar mode: Maps & Blips

01 -> Radar mode: Blips only

02 -> Radar mode: Off

 

0xB33 - values:

00 -> Subtitles: off

01 -> Subtitles: on

 

0xB42 - values:

00 -> Store gallery photos: off

01 -> Store gallery photos: on

 

0xB34 - values:

00 -> Wide screen: off

01 -> Wide screen: on

 

0xB35 - values:

00 -> Frame limiter: off

01 -> Frame limiter: on

 

0xB2A - values:

00 -> Low

01 -> Medium

02 -> High

03 -> Very high

 

0xB24 - values:

00 -> Mip Mapping: Off

01 -> Mip Mapping: On

 

0xB26 - values:

01 -> Antialiasting: off

02 -> Antialiasting: 1

03 -> Antialiasing: 2

04 -> Antialiasing: 3

 

0xB36 - values:

01 -> Resolution: 640 x 480, 16-bit

03 -> Resolution: 720 x 576, 16-bit

04 -> Resolution: 800 x 600, 16-bit

07 -> Resolution: 1024 x 768, 16-bit

08 -> Resolution: 640 x 480, 32-bit

0A ->Resolution: 720 x 576, 32-bit

0B -> Resolution: 800 x 600, 32-bit

0E -> Resolution: 1024 x 768, 32-bit

 

0xB21, 0xB22 - values of BRIGHTNESS:

Algorithm:

IF ( 0xB22 == 0)

amount of marks = converted 0xB21 value from hex to decimal / 24

}

ELSEIF (0xB22 == 1)

{

amount of marks was not changed and is by default

}

 

0xB1C - values of radio volume:

Algorithm:

amount of marks: converted 0xB1C value from hex do decimal / 4

 

0xB1B - values of SFX volume:

Algorithm:

amount of marks: converted 0xB1B value from hex do decimal / 4

 

0xB1F - values:

00 -> Radio EQ: Off

01 -> Radio EQ: On

 

0xB1E

00 -> Radio Auto-tune: Off

01 -> Radio Auto-tune: On

 

0xB41 - values:

00 -> Play Mode: Radio

01 -> Play Mode: Random

02 -> Play Mode: Sequential

 

0xB25 - values:

00 -> Automatic media scan: Off

01 -> Automatic media scan: On

 

0xB3B - values:

00 -> English language (first)

04 -> Spanish language (second)

 

Controller Configuration

0xB18 - values:

00 -> Invert Mouse Vertically: On

01 -> Invert Mouse Vertically: Off

 

0xB19 - values:

00 -> Steer with mouse: off

01 -> Steer with mouse: on

 

0xB1A - values:

00 -> Fly with mouse: off

01 -> Fly with mouse: on

 

Note: unfortunately I yet didn`t recognize, how does mapping keys for action work. But I going to.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Brightness is 0xB20 and 0xB21 and not 0xB21 and 0xB22. If I read it as a WORD (2 bytes) the value is from 0x0 (The darkest) to 0x180 (The brightest).

I also found if I go one step back from the brightest I get 0x167. But if I go one step brighter again I get 0x17F.

I think thats a bug in GTA San Andreas.. But I'm not sure.

 

HxD is a great tool for that: You can compare two files. So it's easy to find the configuration offsets. wink.gif

 

 

Draw Distance

Offset: 0xB30

Length: 2 Bytes

Values: I don't know how R* saves the state (it's not starting at zero and not ends with the highest value)

 

Radio Station

Offset: 0xB1D

Length: 1 Byte

Values: 1 to 13 (same as memory address 0xBA679A)

  • 1 = "Playback FM"
  • 2 = "K Rose"
  • 3 = "K-DST"
  • 4 = "Bounce FM"
  • 5 = "SF-UR"
  • 6 = "Radio Los Santos"
  • 7 = "Radio X"
  • 8 = "CSR 103.9"
  • 9 = "K-JAH West"
  • 10 = "Master Sounds 98.3"
  • 11 = "WCTR Talk Radio"
  • 12 = "User Track Player"
  • 13 = "Radio Off"
Controller configuration

Offset: 0xB3A

Length: 1 Byte

Values: 0 = Mouse+Keys, 1 = Joypad

 

Mouse sensitivity

Offset: 0xB14

Length: 4 Bytes

Values: I don't know how R* saves the state

 

Joypad invert left stick X

Offset: 0xB44

Length: 1 Byte

Values: 0 = Off, 1 = On

 

Joypad invert left stick Y

Offset: 0xB45

Length: 1 Byte

Values: 0 = Off, 1 = On

 

Joypad invert right stick X

Offset: 0xB46

Length: 1 Byte

Values: 0 = Off, 1 = On

 

Joypad invert right stick Y

Offset: 0xB47

Length: 1 Byte

Values: 0 = Off, 1 = On

 

Joypad invert left axis

Offset: 0xB48

Length: 1 Byte

Values: 0 = Off, 1 = On

 

Joypad invert right axis

Offset: 0xB49

Length: 1 Byte

Values: 0 = Off, 1 = On

 

 

 

Control setup

List of offsets: gta_sa_set_keys

Edited by Programie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.