here
Source: https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/
sudo pacman -Sy wine-staging winetricks giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader libjpeg6-turbo lib32-libjpeg6-turbo python-magic gamemode --needed
sudo pacman -Sy vulkan-intel lib32-vulkan-intel --needed
# Opensource amdgpu driver
sudo pacman -Sy vulkan-radeon lib32-vulkan-radeon --needed
sudo pacman -Sy amdvlk lib32-amdvlk --needed
- For NVIDIA GPU (help wanted to verify)
```bash
sudo pacman -Sy nvidia-utils lib32-nvidia-utils nvidia-prime --needed
sudo eopkg install wine wine-devel wine-32bit-devel winetricks
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
sudo apt update
sudo apt install --install-recommends winehq-staging
sudo apt install winetricks
Enable RPM Fusion repo
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install lutris wine winetricks
sudo dnf groupinstall "C Development Tools and Libraries"
sudo dnf groupinstall "Development Tools"
curl https://raw.githubusercontent.com/nhubaotruong/league-of-legends-linux-garena-script/main/install.py | python
After finishing each step, close all lutris windows
lol.py
scriptOpen Garena from lutris and install LOL like you normally do on Windows.
Also, enable Disable proxy when browsing for better Garena experience (it sucks by default)
Open the Wine Prefix directory (where your Garena is actually installed)
For ex: /home/nhubao/Games/garena/drive_c
Create a new folder there, name it as you wish. For my case, I befittingly named it "fuck u garena"
The directory for the newly created folder should be something like the following example
/home/nhubao/Games/garena/drive_c/fuck u garena
Now, open the Garena Client via Lutris and change the installation directory for LoL
Garena Client --> League of Legends --> Wrench icon (in the bottom left of the page) --> Locate Game Files --> Change --> Locate the directory to the newly created folder
Now click Install and it should now start installing!
If for some reason the installation doesn't complete via the Garena Client, try the folllowing method:-
1) Head over to the download link of your region
If you wish to inform us about different language options, please raise an issue and we will add it!
2) Click on Game Download
It's the Ezreal image for other regions
3) Save the file and wait for it to install
4) Extract the folder into the directory where the game is supposed to be installed by Garena
For Ex: /home/nhubao/Games/garena-vn/drive_c/fuck u garena
5) Head over to Lutris, select the Garena client and under the options for Wine, select Run EXE inside Wine Prefix
6) You will now be prompted by an installer which will extract all the game assets, click Next and the installation should begin
7) This is how it should look like now!
curl https://raw.githubusercontent.com/nhubaotruong/league-of-legends-linux-garena-script/main/config.py | python
Riot LOL Installation(How LOL comes by default from Lutris):
/home/nhubao/Games/league-of-legends/drive_c/Riot Games/League of Legends/LeagueClient.exe
Change the above directory to the one below(How it should look like for Garena LOL to work)
/home/nhubao/Games/garena/drive_c/Garena/Games/32771/Riot Client/RiotClientServices.exe
lol.py
scriptcd
into the directory where you have the lol.py
and run
python lol.py
Arguements
in the following screenshot, those are generated by the script when the game launches.lutris-ge-lol-*
from lutris (Here, *
signifies the latest version and release)
Manage runners
--> Manage Versions
and install the latest lutris-ge-lol
Configure
--> Runner Options
--> Wine Version
) to lutris-ge-lol-*
core dump...
just press OK
and wait a bit, the game will continue at the exact state