How to play SA-MP on Linux

Installation

  1. Mount the iso

Wine

Wine is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD.

Lutris

Lutris is an open gaming platform for Linux. Lutris helps you install and play video games from all eras and from most gaming systems.

  1. Install Lutris
  2. Run Lutris
  3. Click the hamburger icon and Preferences in the drop-down menu
  4. Under the Runners tab in the Lutris settings window, install a wine runner (At the time of writing lutris-7.2 & lutrisf-shack-7.2 both work)
  5. Close the Lutris settings window

GTA:SA

  1. Click the :heavy_plus_sign: in the top left corner of Lutris to add a new game
  2. Choose Install a Widows game from media
  3. Click the Install button on the wine Setup File line
  4. Confirm your choices and click Install
  5. Click Browse and select the setup.exe on the mounted iso
  6. Ignore the warning about the iso not being writeable and click Continue
  7. After Wine loads, complete the Grand Theft Auto San Andreas installation with default settings
  8. Wait for the Lutris window to finish and then click Close
  9. Right click the new installation in the game library and select Configure
  10. Activate the Runner options tab
  11. To save resources, disable the following options
    • Enable BattlEye Anti-Chat
    • Enable Easy Anti-Cheat
  12. Click Save
  13. Right-click the game in the library and pick Browse files
  14. Navigate to drive_c / Program Files (x86) / Rockstar Games / GTA San Andreas
  15. Overwrite gta_sa.exe with the cracked version from the mounted iso GTA_SAN_ANDREAS/HOODLUM/gta_sa.exe
  16. Play the game to test it and configure the in-game settings
    • The game freezes after displaying the nvidea logo, click once to transfer to the loading screen
  17. Configure the display settings
  18. Start a new game to test how the game runs

SA-MP

  1. Download SA-MP 0.3.DL
  2. Select the game entry in the library and click the wine button: image
  3. Pick Run EXE inside Wine prefix
  4. Select the just downloaded sa-mp-0.3.DL-R1-install.exe
  5. Follow the installation to conclusion
  6. Right-click the game in the Lutris library and pick Configure
  7. Activate the Options tab
  8. Change the suffix for the executable from gta_sa.exe to samp.exe
  9. Run the game as a test
  10. In the menu bar fold out Servers and pick Add server
  11. Enter samp.h0v1n8.nl
  12. Click Ok
  13. Connect to complete the test, double-click the server listing and click Connect on the pop-up
    • I’ve noticed I’m not allowed to upgrade the resolution from FullHD to 4K in the game settings
  14. Press T to open the chatbox
  15. Configure the font size with /fontsize
  16. Configure the amount of chatlines with /pagesize

CodsMP

  1. Download CodsMP
  2. Select the game entry in the library and click the wine button: image
  3. Pick Run EXE inside Wine prefix
  4. Select the just downloaded codsmp.exe
  5. Follow the installation to conclusion

Mods

  1. Right-click the game in the Lutris library and pick Browse files
  2. Navigate to drive_c / Program Files (x86) / Rockstar Games
  3. Copy modfiles like you would on a normal windows installation

Tips not using Lutris

Wineprefix

Chances are you are using a 64 bit system, and need to create a 32 bit wineprefix to run GTA:SA.

Using Winetricks

Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine.

Debian based sudo apt install -y winetricks
RHEL based sudo yum install -y winetricks
ARCH sudo pacman -S winetricks
  1. Run winetricks
  2. Select Create a new wineprefix
  3. Set Architecture to 32
  4. Enter a name for the new prefix
  5. Click OK
  6. Wait for winetricks (a popup will show shortly)
  7. When the menu of actions for the new prefix shows the program can be closed

Find your new wineprefix at ~/.local/share/wineprefixes/

Manually

Wine wiki on wineprefixes
Create a wineprefix at ~/.wineprefixsamp32/: Winearch=win32 WINEPREFIX="~/.wineprefixsamp32/" winecfg

Connecting to Project Catalcysm

  1. Start Lutris
  2. Start the game, double-clicking it in the library
  3. Double-click the Project Cataclysm server in the list
  4. Click Connect on the pop-up