fastman92 Posted June 25, 2010 Share Posted June 25, 2010 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. mirh 1 Link to comment Share on other sites More sharing options...
Seemann Posted July 16, 2010 Share Posted July 16, 2010 It's probably better to create an article on gtamodding.com, so everyone could help you in exploring this file. Sanny Builder 3 • SA Memory Handling • OpenIV • gtamodding.com CLEO.li - The CLEO Library - Official site Link to comment Share on other sites More sharing options...
Programie Posted August 12, 2010 Share Posted August 12, 2010 (edited) 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. 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 configurationOffset: 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 August 12, 2010 by Programie Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now