Saturday 16 February 2013

HowTo: Play League of Legends on Linux

Tested on Ubuntu 12.04, League of Legends North America server


http://youtu.be/dfrq26NsFZE




Step 1: Install Wine1.4 and Winetricks
sudo add-apt-repository ppa:ubuntu-wine/ppa
(adds ppa repository of wine)

sudo apt-get update
(updates the database/list)

sudo apt-get install wine1.3
(installs wine1.4)

sudo apt-get install winetricks
(installs winetricks)



Step 2: Install Winetricks Extra Components

winetricks vcrun2005
(installs visual c++ 2005)

winetricks wininet
(installs inet)

winetricks ie6
(installs internet explorer 6)

winetricks d3dx9
(installs directx 9)

winetricks corefonts
(installs several windows fonts)

winetricks adobeair
(installs adobe air)

Step 3: Change Wine1.4 Settings to "Windows 7"

winecfg
(opens wine config)

Then, change the Windows Version Setting to "Windows 7"





Step 4: Move a Previous Install of LoL

You should place the folder (Riot Games) into the following location:
(/home/[USER]/.wine/dosdevices/c:/Program Files/)

Make sure you replace [USER] with the correct name.
ALSO, .wine is sometimes hidden from view, so you may have to find it.





Now that you have completed the above tasks, you will now have to open the LoL Launcher. To do that, you will have to type the following two lines of code into a terminal every time you want to play LoL.
cd "/home/[USER]/.wine/dosdevices/c:/Program Files/Riot Games/League of Legends/RADS/system"
(changes directory to where you have LoL folder installed)

WINEDEBUG=+ntdll wine "rads_user_kernel.exe" run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
(runs program under debug mode)

(make sure to replace [USER] with the correct name)

If everything is okay, you could also write a script to do that
(Please ignore "optirun" section in the command because I have special video driver)



Enjoy the game.








Special thanks to:

http://na.leagueoflegends.com/board/showthread.php?t=1946188



1 comment:

  1. Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us.
    free lol game card

    ReplyDelete