League of Legends Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

League of Legends Linux Install

Ok lets get started.

1) Download the Downloader from the website http://signup.leagueoflegends.com/en/signup/redownload
2) Then use wine to get the Installer With the script below. save it into a file called lolscript and run it with

sh lolscript.sh

You need a prior wine installation for this part to work.
you may need to install it first. http://www.winehq.org/download/


#!/bin/bash
#
# Author: Danilo Riffo (aka. DanAlucard)
# License: GPL v3
#
# made for own usage and for the WineHQ - League of Legends community
#
#

.
.
.
    #change this to the specific wine version you want to use.
Wine_version="1.5.5" 
    scriptWD=$(pwd)  #this variable stores this script location for future use
.
.
.
echo "running LoL Installer..."
    # if you have the web-based installer (about 2MiB), use this
GC_DONT_GC=1 $WINE $scriptWD/LeagueofLegends.exe

3) Create a bottle for league of legends with cxoffice.

4) Set Bottle version to "windows 7"

5) Install the following programs.
.net4.0
.net4 extended
Adobe air
Internet Explorer 7 (ie7)
visual c++ 2005
visual c++ 2005 sp1
visual c++ 2008
corefonts
Directx runtime - modern

6) On your Desktop should be a folder called "Leage of Legends" or could be in same folder as lolinstaller.exe
Open this folder and use cxoffice to install into your League of Legends bottle.

7)install the ace launcher - Download the latest release from http://www.ace-client.net/index.php and extract the archive into your league of legends folder(/home/dablackfox/.cxoffice/LeagueofLegends/drive_c/Riot Games/League of Legends)

8) Download https://github.com/A-Metaphysical-Drama/LoL-Linux-Tools

9) Extract LoL-Linux-Tools to your leage of legends folder

10) Run this command in your terminal #python lol_linux.py texture_patch

11) When done use cxoffice run on the AutoUpdater.exe and select league of legends bottle make shortcut to desktop and your done. Also get GPE2 also it launches the game first time everytime.

12) Change the bottle to windows xp or you will have graphical errors.

Then play.

Bugs:
Launcher Shop does not work without the hacked wine

My Failed Attempts: Don't try this if you are a normal user. It flat out breaks the game.

Fixing the shop by installing internet explorer and changing windows version to xp, then changing the certificate settings.
so far no change i have made worked. it looks like i need ie8 or ie9 these are known to not work with crossover.

There is a chance that by getting ie9 to work we can then fix the certificate problem, however there may be another workaround for this problem.

After this attempt all i managed to do was stop the game from loading.

"Could not connect to maestro" error which is commonly related to firewalls popped up.

also could not reconnect to game after crash.

I tried installing all of the xml parsers one by one to try fix the in-game shop as i know from experience from moding the game that it uses xml. this also did nothing.

This person found that it was hes graphics settings that was the issue however he ran windows by the looks of it.

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

I will need to make some logs to see whats happening when it crashes.

So far the game runs just as this person describes however there running the mac version maybe some answers can be found following this lead.
http://euw.leagueoflegends.com/board/showthread.php?t=1087266

I dont think its so much the certificate issue but rendering the webpage.
I get certificate issues on my windows machine now and then along with session timeouts, but the page renders.
I personally think its something to do with the html engine or adobe air displaying the page. correctly.

Just my observations.

How in crossover, did you patch it so the ingame shop works?

I think I know why we are getting certificate errors. I believe they are Date and Time related.

There is a known issue with lol and getting certificate errors if your computers date and time are off.

I have not yet found a way to configure the date and time in Wine, as those control panel modules are missing. Also, if you try and run the date and time command it comes back as a invalid command. My theory is the LOL app can not read the date and time properly from wine and is thus throwing the certificate errors. However, I have no way to confirm this at this time.

any comments or suggestions are welcome.

Darrell Swafford wrote:

I think I know why we are getting certificate errors. I believe they
are Date and Time related.

There is a known issue with lol and getting certificate errors if
your computers date and time are off.

I have not yet found a way to configure the date and time in Wine,
as those control panel modules are missing. Also, if you try and run
the date and time command it comes back as a invalid command. My
theory is the LOL app can not read the date and time properly from
wine and is thus throwing the certificate errors. However, I have no
way to confirm this at this time.

any comments or suggestions are welcome.

I should not I believe this is the issue because I set all the known registry keys in windows to ignore certificate errors and I still get the errors popping up from LOL.

Sorry for the late reply
https://github.com/A-Metaphysical-Drama/LoL-Linux-Tools
is how you get the ingame shop to work

Not a problem. I thought that only fixed the icons though, Not the shop actually crashing when you clicked on it.
I will try it soon as I get a chance.

Yeah your right sorry. this one is it https://bitbucket.org/Xargoth/tuxlol/wiki/Home

GOT LEAGUE TO WORK !!. But with out ingame store....Kind of important.

So far, the only thing you have to do is create a new win7 bottle in crossover.
Install the following from crossover database:

C++ 2005 SP1
Directx Modern Runtime
Adobeair

Switch bottle to xp from bottle config menu
install Internet Explorer 7 and 8 from crossover database.

Change bottle back to win7

Should be able to install now.
I copied from a previous install to save time.
Then ran LOL_LAUNCHER_ADMIN.exe

Everything worked, rune pages, mastieris abilitys etc. All icons.

Once in game though, clicking on the store crashes the game back to the launcher. As long as you dont use the store your fine :P

What's the error message?

@dablackfox: How about to write this setup as a tutorial in "Tips & Tricks" section? Please also say, if it's for mac, linux or both.

no error message. although I have yet to run in debugging mode.

I believe the issue is related to the store textures being used.
Normally in wine you would need to re-compile wine with this patch:
http://uz.sns.it/~ranma42/iLoL/0001-HACK-Disallow-block-based-textures-with-sub-block-si.patch

Darrell Swafford wrote:

GOT LEAGUE TO WORK !!. But with out ingame store....Kind of
important.

So far, the only thing you have to do is create a new win7 bottle in
crossover.
Install the following from crossover database:

C++ 2005 SP1
Directx Modern Runtime
Adobeair

Switch bottle to xp from bottle config menu
install Internet Explorer 7 and 8 from crossover database.

Change bottle back to win7

Should be able to install now.
I copied from a previous install to save time.
Then ran LOL_LAUNCHER_ADMIN.exe

Everything worked, rune pages, mastieris abilitys etc. All icons.

Once in game though, clicking on the store crashes the game back to
the launcher. As long as you dont use the store your fine :P

I have tried this, but the LoL installer freezes when it tries to copy the files to their install location. I am not sure how to get around this. Any pro tips would be great.

In my case it only appeared to freeze.
Let it go for a long time and it will finish.

If it doesnt, and you dont have windows, install virtual box. create a windows vm. download a copy of windows 7 from digital river.
Install windows in trial mode. Then install league. download then copy over to codeweavers.
Its a pain in the butt that way, but it does work. you cant play in a virtual box,( least I couldnt get it to work )

Also remember the in game store doesn't work once you do get it installed. Still waiting for a fix on that. If you get it working let me know ;)

David Brooks wrote:

Darrell Swafford wrote:

GOT LEAGUE TO WORK !!. But with out ingame
store....Kind of important.

So far, the only thing you have to do is create a new win7 bottle
in
crossover.
Install the following from crossover database:

C++ 2005 SP1
Directx Modern Runtime
Adobeair

Switch bottle to xp from bottle config menu
install Internet Explorer 7 and 8 from crossover database.

Change bottle back to win7

Should be able to install now.
I copied from a previous install to save time.
Then ran LOL_LAUNCHER_ADMIN.exe

Everything worked, rune pages, mastieris abilitys etc. All icons.

Once in game though, clicking on the store crashes the game back
to
the launcher. As long as you dont use the store your fine :P

I have tried this, but the LoL installer freezes when it tries to
copy the files to their install location. I am not sure how to get
around this. Any pro tips would be great.

I have let the LoL installer sit for about an hour in its frozen state. How long should it take? I will try to copy it from a windows machine and see if that works too.

Darrell Swafford wrote:

In my case it only appeared to freeze.
Let it go for a long time and it will finish.

If it doesnt, and you dont have windows, install virtual box. create
a windows vm. download a copy of windows 7 from digital river.
Install windows in trial mode. Then install league. download then
copy over to codeweavers.
Its a pain in the butt that way, but it does work. you cant play in
a virtual box,( least I couldnt get it to work )

Also remember the in game store doesn't work once you do get it
installed. Still waiting for a fix on that. If you get it working
let me know ;)

David Brooks wrote:

Darrell Swafford wrote:

GOT LEAGUE TO WORK !!. But with out

ingame store....Kind of important.

So far, the only thing you have to do is create a new win7 bottle
in
crossover.
Install the following from crossover database:

C++ 2005 SP1
Directx Modern Runtime
Adobeair

Switch bottle to xp from bottle config menu
install Internet Explorer 7 and 8 from crossover database.

Change bottle back to win7

Should be able to install now.
I copied from a previous install to save time.
Then ran LOL_LAUNCHER_ADMIN.exe

Everything worked, rune pages, mastieris abilitys etc. All icons.

Once in game though, clicking on the store crashes the game back
to
the launcher. As long as you dont use the store your fine
:P

I have tried this, but the LoL installer freezes when it tries to
copy the files to their install location. I am not sure how to get
around this. Any pro tips would be great.

I tried installing LoL on windows and copying it over. When I try to load it in the LoL Bottle it gives me an error and crashes "The Program LoLLauncher.admin.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience. "

David Brooks wrote:

I have let the LoL installer sit for about an hour in its frozen
state. How long should it take? I will try to copy it from a windows
machine and see if that works too.

It is not frozen. I ran the launcher manually from terminal, and it does a lot of things, just a bit slow.

1 to 18 of 18

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM0NzIyMzMzLCJjc3JmX3Rva2VuIjoiS2JSdmdkQ1ZFWE1CQWt3MyIsImdkcHIiOjB9