Client on Linux using Bottles/Soda Manual: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (formatting)
Line 14: Line 14:




[[File:Linux-bottles-soda-setup-1.png]]
[[File:Linux-bottles-soda-setup-1.png|frameless|800px]]




Line 22: Line 22:




[[File:Linux-bottles-soda-setup-2.png]]
[[File:Linux-bottles-soda-setup-2.png|frameless|800px]]




Line 30: Line 30:
* Now you need a copy of GTA:SA, in this case I downloaded mine from Steam. Right click GTA:SA in your library, go to Properties, Installed Files and select "Browse Files" which opens the file explorer
* Now you need a copy of GTA:SA, in this case I downloaded mine from Steam. Right click GTA:SA in your library, go to Properties, Installed Files and select "Browse Files" which opens the file explorer


 
[[File:Linux-bottles-soda-setup-3.png|frameless|800px]]
[[File:Linux-bottles-soda-setup-3.png]]




Line 38: Line 37:




[[File:Linux-bottles-soda-setup-4.png]]
[[File:Linux-bottles-soda-setup-4.png|frameless|800px]]




Line 47: Line 46:




[[File:Linux-bottles-soda-setup-5.png]]
[[File:Linux-bottles-soda-setup-5.png|frameless|800px]]






==Issues and solutions==
==Issues and solutions==
You might need to do all of these steps.
# MTA fails to start because of missing fonts (Verdana, Tahoma, etc...)
# MTA fails to start because of missing fonts (Verdana, Tahoma, etc...)
#* Download the fonts verdana.ttf, tahoma.ttf, tahomabd.ttf and micross.ttf from the internet and put them in "drive_c/windows/Fonts/" folder
#* Download the fonts verdana.ttf, tahoma.ttf, tahomabd.ttf and micross.ttf from the internet and put them in '''"drive_c/windows/Fonts/"''' folder
#* [[Client_on_Linux_Manual#Before_you_start|This section of the main Client on Linux manual]] contains more information and download links
# MTA starts and brings up main menu but the application window constantly flickers
# MTA starts and brings up main menu but the application window constantly flickers
#* Try to navigate to Settings, Video tab and change Fullscreen mode to Standard
#* Try to navigate to Settings, Video tab and change Fullscreen mode to Standard
# The CEF component does not load (NOT crashing), for example joining FFS Gaming server, you see no login/register panel (CEF based)
# The CEF component does not load (NOT crashing), for example joining FFS Gaming server, you see no login/register panel (CEF based)
#* Go to your MTA installation folder, go to MTA sub folder: "drive_c/Program Files (x86)/MTA San Andreas 1.6/MTA/" and copy the following files to CEF folder inside that MTA folder: CEFLauncher.exe, CEFLauncher_DLL.dll, cefweb.dll, chrome_100_percent.pak, chrome_200_percent.pak, chrome_elf.dll, icudtl.dat, libcef.dll, resources.pak, v8_context_snapshot.bin
#* Go to your MTA installation folder, go to MTA sub folder: '''"drive_c/Program Files (x86)/MTA San Andreas 1.6/MTA/"''' and copy the following files to '''CEF''' folder inside that '''MTA''' folder:
#**CEFLauncher.exe
#**CEFLauncher_DLL.dll
#**cefweb.dll
#**chrome_100_percent.pak
#**chrome_200_percent.pak
#**chrome_elf.dll
#**icudtl.dat
#**libcef.dll
#**resources.pak
#**v8_context_snapshot.bin





Revision as of 12:48, 7 June 2025

Requirements

  • A Linux Distro supporting Bottles/Soda, this guide uses Bazzite which is based on Fedora
  • Bottles with Soda runner
  • A copy of GTA:SA
  • MTA Installer

Installing Bottles/Soda

  • Install Bottles via your Distro packet manager, for Bazzite, the "Discover App Store" provides the latest builds to install
  • After installing, launch Bottles and let it do some initialization on first startup
  • When it's loaded up, click on the plus icon on the top left corner to create a new Bottle
  • Enter a name for the Bottle, this can be a generic name like "Gaming Stuff" since it won't be limited to just GTA/MTA


Linux-bottles-soda-setup-1.png


  • Make sure to select "Gaming" option, the Runner needs to be "soda-9.0-1" (versions might change in future)
  • Click on "Create" and let the setup create the new environment, this can take a few minutes
  • The Bottle should now appear in the list, click on it to open it


Linux-bottles-soda-setup-2.png


  • Download the latest build of MTA:SA from the website, important note: Use the windows 10+ version, not the older win7/8.x one!
  • After the installer got downloaded, click on the blue icon which says "Run Executable..." and select the MTA installer
  • Navigate through the MTA installer until you reach the point where you have to locate the GTA:SA installation
  • Now you need a copy of GTA:SA, in this case I downloaded mine from Steam. Right click GTA:SA in your library, go to Properties, Installed Files and select "Browse Files" which opens the file explorer

Linux-bottles-soda-setup-3.png


  • Go back to the Bottles application, on top right side of window should be three vertical points as an icon, click on it and select "Browse Files" to open a new file explorer window with the Bottles drive_c directory
  • Copy the GTA folder from Steam location to drive_c/Program Files (x86) folder


Linux-bottles-soda-setup-4.png


  • After copying, go back to the MTA installer window, adjust the file path of the GTA installation to "C:\Program Files (x86)\Grand Theft Auto San Andreas\" or whatever your GTA installation is called
  • Before completing the installation, uncheck the "Launch MTA" tickbox, we do NOT want to run MTA from the installer instance
  • Inside your Bottles window, click on "+ Add Shortcuts..." and find the "Multi Theft Auto.exe", which should be located in "drive_c/Program Files (x86)/MTA San Andreas 1.6/"
  • You are good to go now, just click on the play icon. You can also add MTA to your Bottles library via three dots icon so it looks like this:


Linux-bottles-soda-setup-5.png


Issues and solutions

You might need to do all of these steps.

  1. MTA fails to start because of missing fonts (Verdana, Tahoma, etc...)
  2. MTA starts and brings up main menu but the application window constantly flickers
    • Try to navigate to Settings, Video tab and change Fullscreen mode to Standard
  3. The CEF component does not load (NOT crashing), for example joining FFS Gaming server, you see no login/register panel (CEF based)
    • Go to your MTA installation folder, go to MTA sub folder: "drive_c/Program Files (x86)/MTA San Andreas 1.6/MTA/" and copy the following files to CEF folder inside that MTA folder:
      • CEFLauncher.exe
      • CEFLauncher_DLL.dll
      • cefweb.dll
      • chrome_100_percent.pak
      • chrome_200_percent.pak
      • chrome_elf.dll
      • icudtl.dat
      • libcef.dll
      • resources.pak
      • v8_context_snapshot.bin


Tweaks and tinkering

Inside your Bottle, you can change various settings for potential tweaks etc. Recommended tweaks are: LatencyFlex, Discrete Graphics, Feral GameMode