Difference between revisions of "League of Legends"

From ArchWiki
Jump to: navigation, search
(Create wine PREFIX)
(Create wine PREFIX)
Line 30: Line 30:
 
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 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]]}}
  

Revision as of 18:34, 27 April 2013

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

Setup

Note: If your running a 32bit install of arch, you can skip step 1.

1. 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 follows the steps outlined in the wiki article above].

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

Note: Newest versions of wine do not work on some systems. Downgrade to wine 1.5.22-1

Create 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

Note: The following list is compiled from different users on different systems. Other users might need more or less then what is listed here
Warning: recent versions of gnutls break LoL. Downgrade to 3.1.6-1

2. 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 vcrun2008 wininet winhttp corefonts

Install

  • Download the LoL installer from the leage of legends

website.

  • To run the install, run the following command

GC_DONT_GC=1 wine $directory/LeagueofLegends.exe

where $directory is the directory where the installer is located. This is run in your base system. Make sure lib32-libldap is installed in your base system as well or the downloader will not run.

  • Download LoL-linux-tools from

https://github.com/A-Metaphysical-Drama/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

  • Make a bash script with the following command

#!/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 it, and you should be good to go. Enjoy!