WineHQ

Grand Theft Auto: San Andreas

Version 1.  Retail CD Release and minor patches.

Application Details:

Version: 1.x
License: Retail
URL: http://www.rockstargames.com/s...
Votes: 14
Latest Rating: Platinum
Latest Wine Version Tested: 6.0.1

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

install

 

What does not

starting the game

liorwohl@liorwohl-desktop:~$ cd "/home/liorwohl/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas"
liorwohl@liorwohl-desktop:~/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas$ wine gta_sa.exe
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
wine: Unhandled page fault on read access to 0x00000000 at address 0x746929 (thread 0038), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00746929).
err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 088d8601 in module L"gta_sa"
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:00746929 ESP:0178fd58 EBP:0178ff08 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:00000000 ECX:c0000034 EDX:00000000
ESI:00000000 EDI:7b864700
Stack dump:
0x0178fd58: 00748732 7b8ae888 01828cbe 00000004
0x0178fd68: 00828cb3 00856c80 008a5a08 7b8ae888
0x0178fd78: 00000238 020e00f8 00400000 7b8ae888
0x0178fd88: 00000002 0178fdd8 0178fdb0 7b8646bf
0x0178fd98: 00000002 00000000 0178fdd8 7b8ae888
0x0178fda8: 00000000 7b864700 0178fde0 7b86472c
Backtrace:
=>1 0x00746929 in gta_sa (+0x346929) (0x0178ff08)
2 0x7b873d5e in kernel32 (+0x53d5e) (0x0178ffe8)
3 0xb7e4b877 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x00746929: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (65 modules)
PE 230000- 239000 Deferred ogg
PE 240000- 348000 Deferred vorbis
PE 350000- 380000 Deferred eax
PE 400000- 1577000 Export gta_sa
PE 10000000-10011000 Deferred vorbisfile
PE 65f00000-65fc2000 Deferred ole32
ELF 7b800000-7b927000 Export kernel32
\-PE 7b820000-7b927000 \ kernel32
ELF 7bc00000-7bc97000 Deferred ntdll
\-PE 7bc10000-7bc97000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7c629000-7c63e000 Deferred midimap
\-PE 7c630000-7c63e000 \ midimap
ELF 7c63e000-7c664000 Deferred msacm32
\-PE 7c650000-7c664000 \ msacm32
ELF 7c664000-7c6a0000 Deferred wineoss
\-PE 7c670000-7c6a0000 \ wineoss
ELF 7d8b8000-7d8d0000 Deferred msacm32
\-PE 7d8c0000-7d8d0000 \ msacm32
ELF 7d8d2000-7d8d7000 Deferred libxfixes.so.3
ELF 7d8d7000-7d8e0000 Deferred libxcursor.so.1
ELF 7d8e0000-7d8fd000 Deferred imm32
\-PE 7d8f0000-7d8fd000 \ imm32
ELF 7d8fd000-7d903000 Deferred libxrandr.so.2
ELF 7d903000-7d90b000 Deferred libxrender.so.1
ELF 7de33000-7de35000 Deferred libnvidia-tls.so.1
ELF 7de35000-7e6bb000 Deferred libglcore.so.1
ELF 7e6bb000-7e747000 Deferred libgl.so.1
ELF 7e747000-7e74c000 Deferred libxdmcp.so.6
ELF 7e74c000-7e74f000 Deferred libxau.so.6
ELF 7e74f000-7e840000 Deferred libx11.so.6
ELF 7e840000-7e84e000 Deferred libxext.so.6
ELF 7e84e000-7e853000 Deferred libxxf86vm.so.1
ELF 7e853000-7e86b000 Deferred libice.so.6
ELF 7e86b000-7e874000 Deferred libsm.so.6
ELF 7e874000-7e903000 Deferred winex11
\-PE 7e880000-7e903000 \ winex11
ELF 7e99d000-7e9bd000 Deferred libexpat.so.1
ELF 7e9bd000-7e9e8000 Deferred libfontconfig.so.1
ELF 7e9e8000-7e9fc000 Deferred libz.so.1
ELF 7e9fc000-7ea67000 Deferred libfreetype.so.6
ELF 7ea67000-7ea7a000 Deferred libresolv.so.2
ELF 7ea7a000-7ea98000 Deferred iphlpapi
\-PE 7ea80000-7ea98000 \ iphlpapi
ELF 7ea98000-7eac5000 Deferred ws2_32
\-PE 7eaa0000-7eac5000 \ ws2_32
ELF 7eac5000-7eb0c000 Deferred advapi32
\-PE 7ead0000-7eb0c000 \ advapi32
ELF 7eb0c000-7eb18000 Deferred libgcc_s.so.1
ELF 7ec0d000-7eccc000 Deferred gdi32
\-PE 7ec20000-7eccc000 \ gdi32
ELF 7eccc000-7ee08000 Deferred user32
\-PE 7ecf0000-7ee08000 \ user32
ELF 7ee08000-7ee97000 Deferred winmm
\-PE 7ee10000-7ee97000 \ winmm
ELF 7efac000-7efb7000 Deferred libnss_files.so.2
ELF 7efb7000-7efce000 Deferred libnsl.so.1
ELF 7efce000-7eff5000 Deferred libm.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7cd2000-b7cdb000 Deferred libnss_compat.so.2
ELF b7cdc000-b7ce0000 Deferred libdl.so.2
ELF b7ce0000-b7e21000 Deferred libc.so.6
ELF b7e22000-b7e39000 Deferred libpthread.so.0
ELF b7e44000-b7f55000 Export libwine.so.1
ELF b7f57000-b7f72000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000037 (D) C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe
00000038 0 <==
0000000c
0000000e 0
0000000d 0
00000008
00000009 0
liorwohl@liorwohl-desktop:~/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas$

Workarounds

What was not tested

the game

 

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

the game was working some time ago in wine 0.9.1x

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowDebian GNU/Linux 10.x "Buster"Jul 04 20216.0.1N/A Yes NoPlatinumMaksym 
ShowUbuntu 19.04 "Disco" amd64 (+ variants like Kubuntu)Sep 13 20194.0.2Yes Yes NoPlatinumFranco 
ShowGentoo Linux x86_64Jun 27 20194.0.1-stagingYes Yes NoPlatinumsbct 
ShowManjaro LinuxApr 02 20194.5Yes Yes NoSilverAlexis Monzón 
ShowFuntoo Linux AMD64Jul 11 20172.10-stagingYes Yes NoGoldAnonymous Anonymous 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Common Problems
GTA refuses to open

    Some times gta may fail to start even when you haven't touched (modded) anything. In this case delete the file gta_sa.set inside  the Documents/GTA San Andreas User Files directory and restart the app. You will have to reset your gta sa settings.

    CJ and peds are too dark

      If cj isn't light correctly and appears very dark try disabling glsl. You can disable it using the registry key: HKEY_CURRENT_USER\Software\Wine\Direct3D\UseGLSL > "disabled" Or use winetricks/playonlinux

      Slow Play

        If you have problems with slow play, go to your winecfg and disable support for Vertex Shader and Pixel Shader

        Controllers & Keyboards

          Joysticks and joypads will create a conflict with the keyboard keys making the character (CJ) uncontrollable. Disable all controllers before running the game to avoid this issue.

          Load a saved game not work

            Try this: winetricks d3dx9

            Intro videos not work

              In some cases this fix can backfire, doing that your game does not start anymore.Make a backup of your .wine folder or create new wineprefix for test before continuing.

              1) Install the ugly plugins for gstreamer (the name of package depends of your distribuition)
              2) Install the quartz and devenum: winetricks quartz devenum
              3) Install ffdshow: winetricks
              ffdshow (during installation, check the box of MPEG1 and MPEG2)
              4) Test your game.

              If you can not start your game, restore the backup or back to original wineprefix. # 9127

              Fonts Issue

                If you have issues with fonts, try (type in the terminal): winetricks allfonts

                Extracts all audio from Grand Theft Auto: San Andreas

                this method extracts all audio from GTA San Andreas, includes all music, DJ chatter, ads, �background sounds and cutscenes.

                How to build

                1) Get this archive: http://goo.gl/HRwGV

                2) On terminal extract this archive with: tar xfv radio-free-san-andreas-0.2.tar.bz2

                3) Go to extracted folder: cd radio-free-san-andreas-0.2

                4) Type: ./bootstrap && ./configure

                5) If a problem occurs, install the missing libraries and rerun the command ./configure until it runs without errors.

                6) Build (type it): make


                How to use

                1) Go to src/ folder: cd src/

                2) Create the folder where the files will be stored: mkdir ~/gta_sounds

                3) Type: ./extract [your gta folder]/audio/streams/* [user folder]/gta_sounds ../metadata.conf

                Do not use quotation marks or abbreviations (~), it will cause errors. If your path contains spaces, use a "\ " for a correct interpretation, for example:

                ./extract /home/mrk3004/Games/GTA\ San\ Andreas/audio/streams/* /home/mrk3004/gta_sounds ../metadata.conf

                The first arguments are the files to extract from. Then comes the base directory to put the output files in, and lastly the file to read metadata from.

                audio/streams/* extracts all the musics and sounds. To extract some in specific, follow the table below:

                Filename Station
                audio/streams/aa Police
                audio/streams/adverts Adverts
                audio/streams/ambience Ambience
                audio/streams/beats Beats
                audio/streams/ch Playback FM
                audio/streams/co KROSE
                audio/streams/cr K-DST
                audio/streams/cutscene Cutscene
                audio/streams/ds Bounce FM
                audio/streams/hc SFUR
                audio/streams/mh Radio Los Santos
                audio/streams/mr Radio X
                audio/streams/nj CSR
                audio/streams/re K-JAH
                audio/streams/rg Master Sounds
                audio/streams/tk WCTR


                Enable Multiplayer

                Visit www.sa-mp.com to get started.

                The application used to get you playing online with hundreds of other players.

                Intel video cards issue

                Comments

                The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

                GTA: SA compaitability with wine 8.x
                by Max Tamoian on Friday March 24th 2023, 10:11
                Hello. I am using wine 8.0 and trying to plaay GTA: SA. While in menu, it seems to be good, no bugs, no freezes. But while spawning first time and trying to get back in the hood, fps drops around 10-15. I dont know if this problem relates only to my system or to wine 8.x in general, so I ask: has anyone tested GTA: SA on wine 8.x?

                I have another machine with wine 5.0 on it and it runs pretty good, so I guess the problem is in wine version
                Slow Play
                by Gregor on Sunday February 28th 2021, 13:09
                "If you have problems with slow play, go to your winecfg and disable support for Vertex Shader and Pixel Shader"

                How? There is no such setting in winecfg anymore.
                Another trick for Intro videos not work / GTA San Andreas 1.0
                by Chl on Monday December 7th 2020, 19:44
                On my instance, the intro videos made the game randomly crash. In this case, an efficient trick is to simply remove the movies/*.mpg files.
                Back