Difference between revisions of "League of Legends"

From ArchWiki
Jump to: navigation, search
m (Setup: Rephrase note)
m (winhttp and vcrun2008 aren't needed to run LoL, bug was fixed in gnutls 3.2.3-1)
(39 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
[[Category:Gaming]]
 
[[Category:Gaming]]
 +
This page outlines working methods to get League of Legends working on your arch system.
  
This page outlines how to get League of Legends working on your arch system.
+
== PlayonLinux Method ==
  
== Setup ==
+
{{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.}}
  
{{Note| If your architecture is i686, you should skip setting up the chroot. But, make sure that {{ic|Windows XP}} is set in your winecfg.}}  
+
This is the easiest method. Just install {{Pkg|wine}},
 +
{{Pkg|winetricks}} and {{Pkg|playonlinux}}. Then run
 +
# playonlinux
 +
This will install and configure everything for you.
  
=== Set up a chroot ===
+
== Chroot Method ==
 +
 
 +
=== Setup ===
 +
 
 +
{{Note| If your architecture is i686, you can skip setting up the chroot. But, make sure that {{ic|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
 
The way to do this is outlined in [[Install bundled 32-bit system in Arch64]]. An even
easier method is to install {{AUR|arch32-light}} from the AUR [which follows the steps
+
easier method is to install {{AUR|arch32-light}} from the AUR [which automates the steps
outlined in the wiki article above].
+
outlined in the wiki article cited].
  
==== Install your graphics drivers  ====
+
===== Install your graphics drivers  =====
  
 
You will need to install your graphics drivers inside the chroot. You will need
 
You will need to install your graphics drivers inside the chroot. You will need
 
hardware acceleration drivers as well.
 
hardware acceleration drivers as well.
  
==== Install {{Pkg|wine}} in your chroot ====
+
===== Install {{Pkg|wine}} in your chroot =====
{{Note| Newest versions of wine do not work on some systems.
+
Downgrade to wine 1.5.22-1}}
+
  
==== Create a wine PREFIX ====
+
===== Create a wine PREFIX =====
  
 
Run:  
 
Run:  
Line 30: Line 38:
 
is set on Windows XP
 
is set on Windows XP
  
{{Note| If you do not have schroot installed, follow the following guide to set it up:
+
{{Note| If you do not have {{Pkg|schroot}} installed, follow the following guide to set it up:
 
[[Install bundled 32-bit system in Arch64#Install and Configure Schroot]]}}
 
[[Install bundled 32-bit system in Arch64#Install and Configure Schroot]]}}
  
==== Install the following in chroot ====
+
===== Install the following in chroot =====
 
{{Note| The following list is compiled from different users on different systems.
 
{{Note| The following list is compiled from different users on different systems.
 
Other users might need more or less then what is listed here. If you need something not listed here, please add it to the list.}}
 
Other users might need more or less then what is listed here. If you need something not listed here, please add it to the list.}}
  
* {{Pkg|gnutls}} <br>
+
* {{Pkg|gnutls}}
{{Warning|recent versions of gnutls break LoL. Downgrade to 3.1.6-1}}
+
 
* {{Pkg|lcms}}
 
* {{Pkg|lcms}}
 
* {{Pkg|samba}}
 
* {{Pkg|samba}}
  
===  Set up your base system ===
+
====  Set up your base system ====
  
 
Install {{Pkg|wine}} and {{Pkg|winetricks}} in your base system.  
 
Install {{Pkg|wine}} and {{Pkg|winetricks}} in your base system.  
Line 48: Line 55:
 
Install the following windows components using winetricks from your base system:
 
Install the following windows components using winetricks from your base system:
  
  # winetricks d3dx9 vcrun2005 vcrun2008 wininet winhttp corefonts
+
  # winetricks d3dx9 vcrun2005 wininet corefonts
  
==== Install the following in your base system ====
+
===== 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 then what is listed here. If you need something not listed here, please add it to the list.}}
 
{{Note| The following list is compiled from different users on different systems. Other users might need more or less then what is listed here. If you need something not listed here, please add it to the list.}}
  
 
* {{Pkg| lib32-libldap}}: This is required for running the installer
 
* {{Pkg| lib32-libldap}}: This is required for running the installer
  
== Install ==
+
=== Install ===
  
=== Download the LoL installer ===  
+
==== Download the LoL installer ====
  
 
You can download the installer from the league of legends website:
 
You can download the installer from the league of legends website:
Line 63: Line 70:
 
[http://na.leagueoflegends.com/ League of Legends]
 
[http://na.leagueoflegends.com/ League of Legends]
  
=== Download the Game ===  
+
==== Download the Game ====
 
Run the following command from your base system:
 
Run the following command from your base system:
  
Line 71: Line 78:
 
located.
 
located.
  
=== Install the Game ===
+
==== Install the Game ====
 
Install the game from your base system. Find the setup.exe file and go
 
Install the game from your base system. Find the setup.exe file and go
  
Line 78: Line 85:
 
{{Note| This may happen automatically when the download finishes}}
 
{{Note| This may happen automatically when the download finishes}}
  
=== Patch the game ===
+
==== Patch the game ====
 
Download   
 
Download   
  
Line 87: Line 94:
 
in-game store.
 
in-game store.
  
== Running the Game ==
+
==== Running the Game ====
  
 
Create a bash script with the following commands:
 
Create a bash script with the following commands:
Line 95: Line 102:
 
  schroot -p -- wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
 
  schroot -p -- wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
  
== Play League of Legends ==
+
Run the bash script and you should be good to go!  
 
+
Run the bash script and you should be good to go! Most likely you will need to do some personal tinkering to get it going, but hopefully not much!
+
  
 
Enjoy playing LoL on your Arch System!!!!
 
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.
 +
 +
* 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.

Revision as of 12:59, 15 August 2013

This page outlines working methods to get League of Legends working on your arch system.

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 wine, winetricks and playonlinux. Then run

# playonlinux

This will install and configure everything for you.

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-lightAUR 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 then what is listed here. If you need something not listed here, please add it to the list.

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 then what is listed here. If you need something not listed here, please add it to the list.

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.
  • 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.