Tutorial: LoL in Wine (Linux)

12345 ... 10
Comment below rating threshold, click here to show it.

Gargamels

Junior Member

30-05-2010

This tutorial is for linux users who are still stuck with a Windows dual boot for playing LoL. There is now a way to get LoL working with wine. A few bugs still remain:

  • Fog of war is screwed, a lot of fancy stuff going on on your minimap, but this doesn't really affect your playing
  • In-game chatting is a no-go. Pressing enter to open the textbox will result in an instant crash. Friend chat or team chat while wacd to iting for a game to start seems to work however...
  • The game crashes at the end. This can be solved by killing the game itself. The client does not crash and you should be able to view your stat without problems.
  • further bugs? please report

So far I have not found any bugs that make the game unplayable... Shop seems to be working fine, my framerate peaks at 70fps, with a minor drop when minions spawn and during battles to 30 (I have not tried 5vs5 teambattles however, but TT teambattles went just fine). I suspect my mean framerate will be about 50fps, which is not bad at all.

My setup:
Archlinux kernel 2.6
Nvidia G105M graphics card, proprietary Nvidia drivers installed

My resolution does seem to get changed after playing a game. I'm ussually at 1024*786, but after one game it seems to switch to 1280*786 or something, I'm not sure. All that is required is a reboot to reset it, but this can be a nuissance...

On to the tutorial:
(Special thanks to the people at wineHQ and US user exrcpn!)
  1. Download the Wine 1.1.44 source tarball here (make sure you download 1.1.44 and not 1.1.39)
  2. Download the winetricks script:
    Code:
    wget http://www.kegel.com/wine/winetricks
  3. Download these to patches for fixing various bugs in wine:
    Code:
    wget http://bugs2.winehq.org/attachment.cgi?id=25672 -O patch1.patch
    wget http://bugs2.winehq.org/attachment.cgi?id=27672 -O patch2.patch
  4. Extract the wine source and in the terminal, cd to the directory where you extracted the source
  5. Apply the download patches to the wine source: (If you don't move them to the directory where you extracted the wine source, you will have to alter these commands):
    Code:
    patch -p1 < patch1.patch
    patch -p1 < patch2.patch
  6. Install wine: (still in the wine folder)
    Code:
    ./configure
    make depend
    make
    sudo make install
  7. Next configure wine with the 'winecfg' command. You will be asked to install gecko. I'm not sure if this is necessary, but better not to take chances
  8. Install extra runtime libraries, cd to the folder where the winetricks script was downloaded:
    Code:
    ./winetricks adobeair vcrun2005 ie6 d3dx9
  9. Install LoL

That should be all. Go to your program files folder (ussually ~/.wine/drive_c/Program Files/ and start the lol.launcher.exe

If anything goes wrong, I'll try to help, but I'm not an expert with the wine libraries, so unless its a build error of some kind, I'm afraid I won't have much to offer .

Enjoy!


Comment below rating threshold, click here to show it.

MatricusWrench

Member

30-05-2010

This is nearly a 1:1 copy of the US thread, linked in the FAQ.

Quote:
LoL and Linux
At the moment Riot is not supporting Linux as platform for LoL.
When you want to play LoL on Linux, you need for example Wine.
Here's a little tutorial to set up LoL in Wine: link (US forum).


Comment below rating threshold, click here to show it.

Gargamels

Junior Member

30-05-2010

It is a copy, and I gave credit, I just thought it would be nice to put it here as I think it's difficult to find that thread through the faq... Besides, it has only been working in wine for about a month (if not less), so maybe people won't be checking the faq every month...


Comment below rating threshold, click here to show it.

0DiX

This user has referred a friend to League of Legends, click for more information

Junior Member

31-05-2010

does it work? i mean can you post some screenshots? Do you need that specific version or it works with the latest wine 1.2 RC2?


Comment below rating threshold, click here to show it.

stupid bot

Junior Member

31-05-2010

Quote:
Originally Posted by 0DiX View Post
does it work? i mean can you post some screenshots? Do you need that specific version or it works with the latest wine 1.2 RC2?
I had my first success with 1.1.41 oder 1.1.39 (not sure). So I guess that you need a newer version.

Anyway, it is not playable at the moment so don't have big expectations


Comment below rating threshold, click here to show it.

Gargamels

Junior Member

01-06-2010

Well, I have played my last 10 or so games in linux... I have found a few extra bugs though:

  • the store doesn't work, this can be quite a nuissance...
  • Somethimes, in SR, you can't move at the very start of the game. I did do something that got me out of the bug, but I don't remember what it was... Anyway, it's fixable
  • Lightning problems at the very bottom of the SR map

For me the game is pretty playable, I never drop below 30fps, except on some 5vs5 fights, but it has never cost us the fight.

@Odix: Here's a screenshot, you can clearly see the problem with the fog of war, though it doesn't seem to actually affect the visibility of enemy champions.

Attached Thumbnails
Click image for larger version

Name:	2010-06-01-110510_1024x768_scrot.jpg
Views:	13611
Size:	16.5 KB
ID:	287  

Comment below rating threshold, click here to show it.

0DiX

This user has referred a friend to League of Legends, click for more information

Junior Member

01-06-2010

ok... tnx for your screen shot. I think i will wait a few months before installing it on my linux laptop. I can play perfectly fine on windows. I was hoping that i would ditch windows 7 and use only linux but it still has serious bugs. Let's hope for the best and Riot will make it possible to run the game native on linux or at least a better version that is wine compatible.


Comment below rating threshold, click here to show it.

naeg

Junior Member

02-06-2010

Quote:
Originally Posted by Gargamels View Post
I'm ussually at 1024*786, but after one game it seems to switch to 1280*786 or something, I'm not sure. All that is required is a reboot to reset it, but this can be a nuissance...
Not really true. You can set your resolution with xrandr or maybe with some nvidia-tool, or whatever graphic card you have. Linux never needs a reboot


Comment below rating threshold, click here to show it.

Synthoraz

Senior Member

06-06-2010

Hm, this doesnt work for me. I habd an 64bit-Ubuntu, so i use a 32-bit-chroot. But when i want to start LoL. is like DirectX is missing, when using Windows. Nothing happens. Any ideas?


Comment below rating threshold, click here to show it.

Zioknarf

Junior Member

07-06-2010

Hi,

I just try to install with your tuto.
I compiled Wine without error, install everything fine.

But when i launch the launcher, it keeps loading. (img attached)

The log is :

Quote:
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_RESET_URLCACHE_SESSION: STUB
fixme:hnetcfg:fw_ports_Item 0x142a20, 8394, 6, 0x32e15c
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 6
fixme:hnetcfg:fw_port_put_Port 0x142a68 8394
fixme:hnetcfg:fw_ports_Item 0x142a20, 8394, 17, 0x32e158
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 17
fixme:hnetcfg:fw_port_put_Port 0x142a68 8394
fixme:hnetcfg:fw_ports_Item 0x142a20, 8393, 6, 0x32e15c
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 6
fixme:hnetcfg:fw_port_put_Port 0x142a68 8393
fixme:hnetcfg:fw_ports_Item 0x142a20, 8393, 17, 0x32e158
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 17
fixme:hnetcfg:fw_port_put_Port 0x142a68 8393
fixme:hnetcfg:fw_ports_Item 0x142a20, 8390, 6, 0x32e15c
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 6
fixme:hnetcfg:fw_port_put_Port 0x142a68 8390
fixme:hnetcfg:fw_ports_Item 0x142a20, 8390, 17, 0x32e158
fixme:hnetcfg:fw_port_put_Protocol 0x142a68 17
fixme:hnetcfg:fw_port_put_Port 0x142a68 8390
fixme:heap:HeapSetInformation 0x110000 0 0x32562c 4
fixme:advapi:RegisterTraceGuidsW (0x10cd52d, 0x11d6320, {0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0x325584, (null), (null), 0x11d6328,)
fixme:advapi:RegisterTraceGuidsW (0x10cd52d, 0x11d6340, {797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0x325584, (null), (null), 0x11d6348,)
fixme:advapi:RegisterTraceGuidsW (0x1459f97, 0x1594b08, {3e1fd72a-c323-4574-9917-5ce9c936f78c}, 1, 0x32f1e4, (null), (null), 0x1594b10,)
fixme:advapi:RegisterTraceGuidsW (0x1459f97, 0x1594b28, {afff9c82-5be3-4205-9b3e-49e014c09a63}, 1, 0x32f1e4, (null), (null), 0x1594b30,)
fixme:msimtfllGetClassObject ({50d5107a-d278-4871-8989-f4ceaaf59cfc} {00000001-0000-0000-c000-000000000046} 0x32c96c)
errle:apartment_getclassobject DllGetClassObject returned error 0x80040111
errle:CoGetClassObject no class object {50d5107a-d278-4871-8989-f4ceaaf59cfc} could be created for context 0x401
errle:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
errle:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:font:get_font_unicode_ranges encoding 1937337698 not supported
fixme:font:get_font_unicode_ranges encoding 1937337698 not supported
fixme:shell:UnixFolder_IShellFolder2_QueryInterfac e Unimplemented interface {062e1261-a60e-11d0-82c2-00c04fd5ae38} (unknown)
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:shell:UnixFolder_IShellFolder2_QueryInterfac e Unimplemented interface {062e1261-a60e-11d0-82c2-00c04fd5ae38} (unknown)
fixme:hnetcfg:fw_ports_Item 0x205bb8, 6881, 6, 0xabe494
fixme:hnetcfg:fw_port_put_Protocol 0x20b828 6
fixme:hnetcfg:fw_port_put_Port 0x20b828 6881
fixme:hnetcfg:fw_ports_Item 0x205bb8, 6881, 17, 0xabe490
Thx in advance for your advices

Attached Thumbnails
Click image for larger version

Name:	wine_lol.jpg
Views:	4438
Size:	16.8 KB
ID:	502  

12345 ... 10