League of Legend new client on Linux!!!!!!

brrrrrowny·5/3/2017, 3:44:34 PM·2 votes·15,857 views
Complete guide for installing new League of Legend client on linux

Due to the Riot is going to abandon the legacy client and force us to use the new client, using playonlinux won’t work anymore. So I made this guide to help the ones who is using linux distributions.

Wine installing guide will be for 64 bit + debian based

First, you have to make sure you had uninstalled all the “simulating” softwares, like playonlinux and wine. Cuz we are going to install a fresh one.

Here are the steps

Add the architecture :

sudo dpkg –add-architecture i386

Add the repository :

wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Update links and install wine :

sudo apt-get update && sudo apt-get install –install-recommends winehq-staging

Download winetricks :

wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks

Setting up the prefix

By adding this command line WINEPREFIX=~/LoL32 WINEARCH=win32 wine winecfg , League of legend will berun under32 bit, which has better compability. After updating the wine prefix, a wine configuration window should pop up.

Don’t worry about changing any options just yet, there is still a bit more work to be done first. However, please check to see that there is a staging tab in winecfg, to confirm that you are using the proper version of wine. After confirming, close winecfg. We will now use winetricks to install vcrun2015 and Direct X 9. Do not install anything else as some programs may actually hit Leagues performance.

The following command installs vcrun2015 and Direct X 9 to LoL32 using winetricks

WINEPREFIX=~/LoL32 ./winetricks vcrun2015 d3dx9

Once you’ve finished installing the necessary programs, it’s time to configure wine.

WINEPREFIX=~/LoL32 wine winecfg

With winecfg open, it’s now time to change a few settings. First, change the Windows version to XP. Then, Click on the graphics tab and check off “Automatically capture mouse in full screen windows.” Next, you need to set League to run on a virtual desktop. Check “emulate a virtual desktop” and then set the resolution to your monitors native resolution. Next, click the staging tab and enable CSMT. This will give a performance boost in most cases, but may cause the game to crash on some systems. If you cannot load into a game, disable this setting. Finally, click on the libraries tab and remove all overrides except all of the d3dx9 overrides, msvcp140, vcomp140, and vcruntime140. With these settings changed, you may now click the apply button in winecfg and then click ok.

Downloading the client

Download the game client by clicking me, but don’t worry about the region, you can change that in the client. Once you have the file downloaded, you need to install it in wine. Here is the command:

WINEPREFIX=~/LoL32 wine ~/Downloads/LeagueOfLegendsBaseNA.exe

~/Downloads/LeagueOfLegendsBaseNA.exe is my default path, you have to find yours and replace it

If your familiar with the popular installation by play on linux, you probably know what to do. Just follow the steps the set-up wizard told you and DO NOT CHECK LAUNCH GAME after the installation had finished.

Now your prepared to play!

Commands

To open the client, run this command in terminal:

WINEPREFIX=~/LoL32 wine “C:/Riot Games/League of Legends/LeagueClient.exe”

If there is a bug splash, run this command to kill the process:

WINEPREFIX=~/LoL32 wineserver -k

If you’re lazy (like me), save these commands as a shell script ( .sh) and make it executable so you can run it by clicking the file:

#!/bin/bash

WINEPREFIX=~/LoL32 wine “C:/Riot Games/League of Legends/LeagueClient.exe”

1 Comments

Gigayuki5/4/2017, 11:07:53 AM1 votes

Doesnt work for me anymore. Client is closing after pressing the "Launch" Button