# League of Legends

There is currently only a Mac OS and a Windows version of LoL even if there is a petition for a GNU/Linux port. This page outlines working methods to get the Windows League of Legends version working on your arch system through Wine.

Warning: Since last patch (3.11) starting a game (of any type) will cause the program to crash after the champion selection countdown. For further information check the page on WineHQ for version 4.1: [[1]]

## PlayonLinux Method

Note: This method did not work previously and it was advised to set up a chroot; which is outlined in the next section. However, it works now, regardless of architecture.

This is the easiest method. Just install playonlinux.

After installation run from the command line

    $ playonlinux

When you first run it, playonlinux will install some necessary fonts. Afterwards, click Install, check the "testing box" and then search for "League of Legends". The rest is self-explanatory.

### Errors

#### Bugsplat opening patcher

To fix this you need to configure the playonlinux's wine version by clicking the configure gear, change wine version to system from 1.7-LeagueOfLegends and if you haven't so already install lib32-libldap.

#### Adobe air missing

To fix this you need to install lib32-lcms2.

#### The login server did not respond

To fix this you need to install lib32-gnutls.

## Chroot Method

### Setup

Note: If your architecture is i686, you can skip setting up the chroot. But, make sure that `Windows XP` is set in your winecfg.

#### Set up a chroot

The way to do this is outlined in Install bundled 32-bit system in Arch64. An even easier method is to install arch32-light from the AUR [which automates the steps outlined in the wiki article cited].

##### Install your graphics drivers

You will need to install your graphics drivers inside the chroot. You will need hardware acceleration drivers as well.

##### Install wine in your chroot

##### Create a wine PREFIX

Run:

    # schroot -p winecfg

to create a default 32-bit prefix at $HOME/.wine and take the chance to verify that it is set on Windows XP

Note: If you do not have schroot installed, follow the following guide to set it up: Install bundled 32-bit system in Arch64#Install and Configure Schroot

##### Install the following in chroot

Note: The following list is compiled from different users on different systems. Other users might need more or less than what is listed here. If you need something not listed here, please add it to the list.

- gnutls
- lcms
- samba

#### Set up your base system

Install wine and winetricks in your base system.

Install the following windows components using winetricks from your base system:

    # winetricks d3dx9 vcrun2005 wininet corefonts

##### Install the following in your base system

Note: The following list is compiled from different users on different systems. Other users might need more or less than what is listed here. If you need something not listed here, please add it to the list.

- lib32-libldap: This is required for running the installer

### Install

#### Download the LoL installer

You can download the installer from the league of legends website:

League of Legends

#### Download the Game

Run the following command from your base system:

    # GC_DONT_GC=1 wine $directory/LeagueofLegends.exe

where $directory is the directory where the installer is located.

#### Install the Game

Install the game from your base system. Find the setup.exe file and go

    # wine setup.exe

Note: This may happen automatically when the download finishes

#### Patch the game

Download

LoL-Linux-Tools

Follow the included instructions and apply the texture patch. This will prevent the game from crashing when you open the in-game store.

#### Running the Game

Create a bash script with the following commands:

    #!/bin/sh
    cd "$HOME/.wine/drive_c/Riot Games/League of Legends/RADS/system/"
    schroot -p -- wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe

Run the bash script and you should be good to go!

Enjoy playing LoL on your Arch System!!!!

## Troubleshooting

- In case of flashing minimap or exceedingly low FPS try disabling HUD animations in the in-game options for notable boost in performance.

- On certain intel cards, enabling vertical sync can lead to a big boost in performance.

- If the game crashes after champion select make sure to replace 'localhost' with your real hostname in /etc/hosts. (Your real hostname usually is in /etc/hostname)

- If you have no sound make sure alsa-lib is installed inside your chroot.

- If the launcher is all black, maybe you forgot to install your graphics drivers inside your chroot or, if you installed via PlayonLinux, in your main system. (If you have NVIDIA, this is sometimes fixed by installing lib32-nouveau-dri lib32-nvidia-libgl and/or lib32-mesa-libgl)

- If the terrain is too dark, one solution would be to install the propietary drivers of your graphics card.

Category:

- Gaming