Client on Linux using Lutris Manual: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(add info)
mNo edit summary
Line 46: Line 46:
==Known Issues==
==Known Issues==


* Using any other Wine version other than 6.1 may result in:
'''* Using any Wine version older than 6.x may result in:'''
** "SD #16 Error" when connecting to a server, or
** "SD #16 Error" when connecting to a server, or
** "No audio card detected" when launching either GTA:SA or MTA
** "No audio card detected" when launching either GTA:SA or MTA
Line 52: Line 52:
* Enabling DXVK might not break GTA:SA, but it breaks MTA (thanks Lpsd!)
* Enabling DXVK might not break GTA:SA, but it breaks MTA (thanks Lpsd!)
* Some crashes might occur on some servers for various reasons
* Some crashes might occur on some servers for various reasons
 
<br><br>
* Making the mistake of using a 64-bit prefix may result in:
'''* Making the mistake of using a 64-bit prefix may result in:'''
** "SD #16 Error" when connecting to a server, or
** "SD #16 Error" when connecting to a server, or
** "libcef.dll" MTA crash upon joining servers, or during gameplay (when server uses CEF and your CEF web browser is enabled)
** "libcef.dll" MTA crash upon joining servers, or during gameplay (when server uses CEF and your CEF web browser is enabled)

Revision as of 13:48, 1 December 2021

Requirements

  • Basic knowledge about the Wine Prefix
  • Lutris
  • Lutris Wine Runner: lutris-6.1-3
  • A prefix with GTA:SA V1.0 installation (Lutris can be used)
  • MTA Installer
  • During this tutorial, make sure to only use 32-bit prefix for MTA:SA, or else you'll run into a plethora of hard-to-fix issues.

Installing MTA

  1. On Lutris, Add a Game:
    • Game Info -> Name: Multi Theft Auto
    • Game Options -> Wine Prefix: 'Same as the GTA:SA installation prefix.
 Make sure all prefixes for MTA/GTA are 32-bit, to avoid running into a plethora of issues.
    • Runner Options -> Wine Version: lutris-6.1-3
    • Runner Options -> Enable DXVK/VKD3D: Disabled
  1. On Lutris, click on Multi Theft Auto and on the bottom bar, click on the Wine popup menu and select Run EXE inside Wine prefix
    • On the File Manager that appears, find and select the MTA Setup executable that you downloaded
  2. Run the setup normally, defaults should be working fine
    • Before finishing setup, make sure you untick Run MTA
  3. On Lutris, right click Multi Theft Auto and select Configure
    • Game Options -> Executable: Should point to "Multi Theft Auto.exe" inside the Wine Prefix path (eg. "{Wine Prefix path}/drive_c/Program Files (x86)/MTA San Andreas 1.5/Multi Theft Auto.exe")
  4. On Lutris, click on Multi Theft Auto and on the bottom bar, click on the Wine popup menu and select Winetricks
    • Select the default wineprefix -> Install a font -> Check Tahoma and Verdana
  5. On Lutris, launch Multi Theft Auto
    • You should be greeted with an "Error serial", but that's actually a good sign, continue to solve it
  6. In order to solve the "Error serial", download and run the Linux Native MTA Server
    • After about a minute running the server, close it
  7. On Lutris, launch Multi Theft Auto
    • MTA should launch without any issues, as well as successfully connect to servers

Updating MTA

Updating MTA through the client itself doesn't work. You have to manually download the new version of MTA Installer, and install it by repeating Steps 2 and 3 on Installing MTA section

Tips

  • This setup works with MTA 1.5.8 (tested)
  • There are probably some Lutris Scripts available for installing MTA, but doing it manually should work better (untested)
  • Ignore any Wine Mono and Wine Gecko installation prompts, as they are not needed for MTA (tested)
  • The wine-tkg 6.1 version works and can be used instead of the Lutris one (tested)
  • For audio streaming, installing "wmp10" using Winetricks from Lutris might help (untested)
  • Make sure you also check Client on Linux Manual for more info

Known Issues

* Using any Wine version older than 6.x may result in:

    • "SD #16 Error" when connecting to a server, or
    • "No audio card detected" when launching either GTA:SA or MTA
  • Using standard Full-screen mode on MTA might cause some occasional artifacts
  • Enabling DXVK might not break GTA:SA, but it breaks MTA (thanks Lpsd!)
  • Some crashes might occur on some servers for various reasons



* Making the mistake of using a 64-bit prefix may result in:

    • "SD #16 Error" when connecting to a server, or
    • "libcef.dll" MTA crash upon joining servers, or during gameplay (when server uses CEF and your CEF web browser is enabled)
    • Random crashes might occur

.. and much more

To avoid many of the roadblocks, just use 32-bit Prefix as suggested. However, if you still run into issues, you can inform yourself better about MTA's Linux/Mac support levels and background by joining the MTA discord and going to #help-support channel, to specifically read information at this pinned message: https://discord.com/channels/278474088903606273/278521065435824128/894932698269900830