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: 4.0.2

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

Installation The game starting (need to use a no-cd crack!)

What does not

Though the game starts, and you can move through the menu's (gives alot of debug errors, and mouse isn't working, seems always centered somehow, the game it's self doesn't start and quits with the following error:

Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x007ecabb).
In 32 bit mode.
err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 088D8601 in module gta_sa
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:007ecabb ESP:7fc1f9f4 EBP:00000008 EFLAGS:00010212(   - 00      - RIA1)
 EAX:00000008 EBX:008e48ac ECX:00000002 EDX:00036408
 ESI:79626c08 EDI:00000000
Stack dump:
0x7fc1f9f4:  79594a44 79594a10 00000006 00000000
0x7fc1fa04:  008e48ac 7fc1fa30 004cdcde 008e48ac
0x7fc1fa14:  00000000 00000008 008e48ac 008e48ac
0x7fc1fa24:  00000390 00000390 00000007 00000008
0x7fc1fa34:  00000001 00036003 00000000 000005dc
0x7fc1fa44:  00008200 31545844 00200040 08040710
Backtrace:
=>1 0x007ecabb in gta_sa (+0x3ecabb) (0x007ecabb)
  2 0x00000000 (0x00000000)
0x007ecabb: repe movsl  (%esi),%es:(%edi)
Modules:
Module  Address                 Debug info      Name (95 modules)
PE      0x00400000-01577000     Export          gta_sa
PE      0x10000000-10011000     Deferred        vorbisfile
ELF     0x7b94a000-7b9c0000     Deferred        oleaut32<elf>
  \-PE  0x7b960000-7b9c0000     \               oleaut32
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0x7bf0b000-7bf3a000     Deferred        uxtheme<elf>
  \-PE  0x7bf10000-7bf3a000     \               uxtheme
ELF     0x7bf3a000-7bf4e000     Deferred        lz32<elf>
  \-PE  0x7bf40000-7bf4e000     \               lz32
ELF     0x7bf4e000-7bf65000     Deferred        version<elf>
  \-PE  0x7bf50000-7bf65000     \               version
ELF     0x7bf65000-7c000000     Deferred        comctl32<elf>
  \-PE  0x7bf70000-7c000000     \               comctl32
ELF     0x7c336000-7c380000     Deferred        quartz<elf>
  \-PE  0x7c350000-7c380000     \               quartz
ELF     0x7c948000-7c967000     Deferred        msvfw32<elf>
  \-PE  0x7c950000-7c967000     \               msvfw32
ELF     0x7c967000-7c9b4000     Deferred        wined3d<elf>
  \-PE  0x7c980000-7c9b4000     \               wined3d
ELF     0x7ca71000-7caed000     Deferred        libglu.so.1
ELF     0x7caed000-7cb0f000     Deferred        d3d9<elf>
  \-PE  0x7cb00000-7cb0f000     \               d3d9
ELF     0x7cb0f000-7cb43000     Deferred        dinput<elf>
  \-PE  0x7cb20000-7cb43000     \               dinput
ELF     0x7d5de000-7d5f2000     Deferred        dinput8<elf>
  \-PE  0x7d5e0000-7d5f2000     \               dinput8
ELF     0x7d5f2000-7d628000     Deferred        dsound<elf>
  \-PE  0x7d600000-7d628000     \               dsound
ELF     0x7ddb3000-7de0f000     Deferred        ddraw<elf>
  \-PE  0x7ddd0000-7de0f000     \               ddraw
ELF     0x7e8db000-7e8f0000     Deferred        midimap<elf>
  \-PE  0x7e8e0000-7e8f0000     \               midimap
ELF     0x7ea02000-7ea0a000     Deferred        libgcc_s.so.1
ELF     0x7ea0a000-7ea29000     Deferred        msacm32<elf>
  \-PE  0x7ea10000-7ea29000     \               msacm32
ELF     0x7ea29000-7ea40000     Deferred        msacm.drv<elf>
  \-PE  0x7ea30000-7ea40000     \               msacm.drv
ELF     0x7ea40000-7eafb000     Deferred        libasound.so.2
ELF     0x7eb0b000-7eb2d000     Deferred        winealsa.drv<elf>
  \-PE  0x7eb10000-7eb2d000     \               winealsa.drv
ELF     0x7eb71000-7eb8b000     Deferred        imm32<elf>
  \-PE  0x7eb80000-7eb8b000     \               imm32
ELF     0x7eb8b000-7eba8000     Deferred        ximcp.so.2
ELF     0x7eba8000-7f311000     Deferred        libglcore.so.1
ELF     0x7f311000-7f390000     Deferred        libgl.so.1
ELF     0x7f390000-7f45b000     Deferred        libx11.so.6
ELF     0x7f45b000-7f473000     Deferred        libice.so.6
ELF     0x7f473000-7f4e1000     Deferred        winex11.drv<elf>
  \-PE  0x7f480000-7f4e1000     \               winex11.drv
ELF     0x7f4e1000-7f501000     Deferred        libexpat.so.0
ELF     0x7f501000-7f528000     Deferred        libfontconfig.so.1
ELF     0x7f528000-7f539000     Deferred        libz.so.1
ELF     0x7f539000-7f5aa000     Deferred        libfreetype.so.6
ELF     0x7f5aa000-7f5e2000     Deferred        rpcrt4<elf>
  \-PE  0x7f5c0000-7f5e2000     \               rpcrt4
ELF     0x7f5e2000-7f650000     Deferred        ole32<elf>
  \-PE  0x7f600000-7f650000     \               ole32
PE      0x7f650000-7f680000     Deferred        eax
ELF     0x7f681000-7f68f000     Deferred        libxext.so.6
ELF     0x7f68f000-7f6ab000     Deferred        iphlpapi<elf>
  \-PE  0x7f6a0000-7f6ab000     \               iphlpapi
ELF     0x7f6ab000-7f6d0000     Deferred        ws2_32<elf>
  \-PE  0x7f6b0000-7f6d0000     \               ws2_32
PE      0x7f6d0000-7f7d8000     Deferred        vorbis
PE      0x7f7e0000-7f7e9000     Deferred        ogg
ELF     0x7f7f4000-7f828000     Deferred        advapi32<elf>
  \-PE  0x7f800000-7f828000     \               advapi32
ELF     0x7f828000-7f8a7000     Deferred        gdi32<elf>
  \-PE  0x7f840000-7f8a7000     \               gdi32
ELF     0x7f8a7000-7f9ad000     Deferred        user32<elf>
  \-PE  0x7f8c0000-7f9ad000     \               user32
ELF     0x7f9ad000-7fa20000     Deferred        winmm<elf>
  \-PE  0x7f9c0000-7fa20000     \               winmm
ELF     0x7fc23000-7fc2b000     Deferred        libxrender.so.1
ELF     0x7fc2b000-7fc30000     Deferred        libxxf86vm.so.1
ELF     0x7fc32000-7fc38000     Deferred        libxxf86dga.so.1
ELF     0x7fc38000-7fd20000     Deferred        kernel32<elf>
  \-PE  0x7fc50000-7fd20000     \               kernel32
ELF     0x7fe31000-7fe3a000     Deferred        libsm.so.6
ELF     0x7fe3a000-7fe44000     Deferred        libnss_files.so.2
ELF     0x7fe44000-7fe4e000     Deferred        libnss_nis.so.2
ELF     0x7fe4e000-7fe63000     Deferred        libnsl.so.1
ELF     0x7fe63000-7fe6c000     Deferred        libnss_compat.so.2
ELF     0x7fe70000-7fe79000     Deferred        libxcursor.so.1.0.2
ELF     0x7fe79000-7fe7c000     Deferred        xlcdef.so.2
ELF     0x7fe80000-7fea3000     Deferred        libm.so.6
ELF     0x7fea3000-7ff99000     Deferred        libwine_unicode.so.1
ELF     0x7ff99000-80000000     Deferred        ntdll<elf>
  \-PE  0x7ffb0000-80000000     \               ntdll
ELF     0xb7dc0000-b7dc2000     Deferred        libnvidia-tls.so.1
ELF     0xb7dc2000-b7dc6000     Deferred        libdl.so.2
ELF     0xb7dc6000-b7edc000     Deferred        libc.so.6
ELF     0xb7edc000-b7f2e000     Deferred        libpthread.so.0
ELF     0xb7f2f000-b7f49000     Deferred        libwine.so.1
ELF     0xb7f59000-b7f70000     Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe
        00000011    0
        00000010    0
        0000000f   15
        0000000d   15
        0000000b    0
        0000000a    0
        00000009    0
WineDbg terminated on pid 0x8

Workarounds

What was not tested

-

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

I got a screenshot I can upload as well, showing it works :)

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
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 GoldAnonymous Anonymous 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Mar 29 20172.2Yes Yes GoldMarco Spampinato 

Known Bugs

Bug # Description Status Resolution Other apps affected
9127 Drome Racers requires system stream support in the MPEG-I splitter NEW View

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.

                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