WineHQ

League of Legends

New Items and Champions.

Application Details:

Version: 11.x
License: Free to use
URL: http://www.leagueoflegends.com...
Votes: 16
Latest Rating: Garbage
Latest Wine Version Tested: 6.23-staging

Maintainers: About Maintainership

Link League of Legends

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Installation, launcher start screen.

What does not

Workarounds

What was not tested

The main launcher of the game, the game.

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

Presetting

1. Install Wine.

Do not install Wine-Mono at startup.

2. Install cabextract for winetricks: 

sudo apt-get install cabextract

3. Install winetricks:

sudo apt install winetricks
sudo apt update

run with the command: 

winetricks

4. Close winetricks

5. Now we need to create a 32-bit prefix and a separate folder for this:

WINEPREFIX=~/.wine32 WINEARCH=win32 wineboot

This will create a /.wine32 folder with the win32 prefix.

6. Now you need to tell winetricks that all components need to be installed in this folder. To do this, run the command:

WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks

7. Now we can install programs there. This can be done in the winetricks itself or through the terminal.

I will say in advance that different programs require their own version of Windows. In this case, we will switch between WinXP and Win7.

This can be done in two ways:

1) Directly select the version you want:

WINEPREFIX=~/.wine32  winecfg     

2) 

WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks win7 
WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks winxp

8. Installing programs through the terminal:

For WinXP:  

WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks ie8 vcrun2005 vcrun2008 vcrun2013 vcrun2015 winhttp

For Win7: 

WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks wininet setupapi msvcrt40 dotnet40 dotnet452 dotnet462 dotnet472

I chose these Microsoft .NET versions, you can choose integer.

9. Now we need to update the GAC ??? NET:

WINEPREFIX=~/.wine32 wine "c:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\ngen.exe" update 

This article helped me with the installation.

If the programs are being downloaded, then you can download them from the Internet and place them in the appropriate folders. The directory is located in the Home section.

.cache/winetricks/

10. Install Fonts:

WINEPREFIX=~/.wine32  WINEARCH=win32 winetricks corefonts 

Install  League of legends

1. Download the Installer.

2. Opening the download folder through the Terminal:

cd ~/Downloads

browsing folders in a directory

ls

3. Renaming and moving to .wine32

mv ~/Downloads/'Install League of Legends euw.exe' ~/.wine32/lol-installer.exe

5. Go to the .wine32 folder:

cd ~/.wine32

5.Installation start:

WINEPREFIX=~/.wine32 wine lol-installer.exe

6. The Installer will appear. Click Install and wait. Boot 2.2 GB

7. League of Legends.desktop will appear on the desktop. Move it to the game folder and to the same script about which I wrote earlier.

8. I used the script in conjunction with League of Legends.desktop

This script must be saved as a separate file with the extension .sh For example: lcu-stop.sh

#!/bin/sh
process=LeagueClientUx.exe
uxpid=$(timeout 2m sh -c "until pidof ${process}; do sleep 1; done")
if [ ! -n $uxpid ]; then
  echo "Could not find process ${process}"
  exit 1
fi
echo "LeagueClientUx pid: ${uxpid}"
port=$(xargs -0 < /proc/${uxpid}/cmdline \
  | sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p')
if [ ! -n $port ]; then
  echo "Could not find port"
  exit 1
fi
echo "Waiting for port ${port}"
 
kill -STOP ${uxpid}
timeout 5m /bin/bash -c "
until openssl s_client -connect :${port} <<< Q > /dev/null 2>&1; do
  sleep 1
done"
kill -CONT ${uxpid}

1. Run the script from the terminal: sh lcu-stop.sh

2. Then immediately launch League of Legends.desktop

This file will be created during the installation of the game and
will be created on the Desktop. But you can move it to the game folder,
along with the script.

3. Wait 2-5 minutes. This script will stop the LeagueClientUx.exe process, which starts League of Legends.desktop.

4. In my case, the launcher logo appeared and a window for sending an error (BsSndRpt.exe) opened.

The error log can be viewed along the way: Riot Games/League of Legends/Logs/LeagueClient Logs/
The main errors are contained in xxx_LeagueClientUx.log


Possible problems:

1. Error:

INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Solution:

sudo -i
echo dev.i915.perf_stream_paranoid=0 > /etc/sysctl.d/60-mdapi.conf

Reboot PC:

sudo reboot

Checking. Should be 0:

sysctl -n dev.i915.perf_stream_paranoid

2. If fixme messages bother you, then you can turn them off. Add a line to the .bashrc file (only Wine):

export WINEDEBUG=-all

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowManjaro LinuxDec 20 20216.23-stagingYes No YesGarbageJosesk Volpe 
ShowDebian GNU/Linux 11.x "Bullseye" x86_64Aug 28 20216.16-stagingYes Yes YesGoldharry 
CurrentPop!_OS 20.10Mar 31 20216.5Yes Yes NoGarbageCharacterhero 

Known Bugs

Bug # Description Status Resolution Other apps affected
48291 Multiple applications crash due to direct use of x86_64 SYSCALL instruction (Detroit: Become Human, Red Dead Redemption 2) STAGED View
52168 League of Legends: RiotClientUxRender.exe crash UNCONFIRMED View

Show all bugs

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Wine-lol or WIne-staging
by Josesk Volpe on Tuesday December 21st 2021, 20:03
You might consider that using a more recent Wine version is always a best option. For general applications, yes it does, because Wine has bug and performance improvements and aims to improve compatibility each new version is released.
Wine-lol uses an older Wine
However, League of Legends always has been a unstable application for Wine, at least for now. If you wish to use a more recent Wine version you will need to change a global setting as root wich will affect all applications and the system itself by kernel-level.
Disabling vsyscall32 will disable a feature that improves performance to other 32-Bits applications and games
www.reddit.com/r/leagueoflinux/comments/dxgk1e/what_exactly_does_vsyscall320_do/

Wine, as a free software, has the advantage that you can fork it and extend it to fit your needs, wich is what wine-lol does. Wine-lol is not target to be used in general, but to bring stability and compatibility specific for League of Legends. Wine-lol also doesn't requires you to change any global setting to run the game.
Installing it will not replace your current Wine installation either.

So, if you wish to play League of Legends, consider wine-lol as it'll be easier, safer to configure and more stable. It's the most recommended option to play this game.
¬°However, if you wish to contribute on Wine to bring compatibility to this game on future, feel free to also compile future Wine versions, keep testing it, report new bugs, submit new test reports and, if you can, contribute on the code!

P.S: Please, add another Note that says something about this, if you wish >w

by Characterhero on Tuesday April 6th 2021, 9:14
Installation requires NET Framework 3.5 (2 and 3.0)

by Josesk Volpe on Friday December 10th 2021, 16:24
I think it's not needed anymore.
I didn't needed that, the Riot Launcher installed straight out-of-the-box on Wine 6.23 and Wine Mono 7.0.0
However, i needed to compile Wine-staging 2.23 to be able to login and install the actual game. NET Framework still wasn't necessary, as it could install on Wine Mono 7.0.0

I'm still testing the game
Back