Henry Poon's Blog

Running League of Legends in PlayOnLinux (Ubuntu 14.04)

There are various guides floating around on the Internet for running League of Legends on Linux, and no single guide worked for me, but after piecing the information together from various places, I managed to get it to work on my system.

My computer specifications:

  • Intel Core i5-4570
  • 16 GB Memory
  • Radeon HD 5770

I followed the instructions here, with these changes:

  • Using video driver “fglrx-updates” (the tutorial talks about NVIDIA cards)
  • Did not install TuxLoL
  • Did not do anything regarding the “Maestro error” since it only applies to Optimus Notebook users
  • Did not follow step 6 because I did not run into the problem for big item icon text for the item shop
  • EDIT: Thanks to Ingvar’s comment, the installation progress for the game can be viewed like so: open terminal (Ctrl+Alt+T) and execute:
tail -f ~/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot\ Games/League\ of\ Legends/Logs/Patcher\ Logs/*.log

There are also other steps that I had to do, which I read from here:

  • Click configure for the “League of Legends” entry in “PlayOnLinux” and find the “Display” tab and then choose the following options:
    • Direct Draw Renderer – gdi
    • Video memory size – 4096 (or something else depending on graphics card)
    • Offscreen rendering mode – fbo\0
    • Everything else on default
  • Create a file called “game.cfg” in the directory “/home/your-username-here/PlayOnLinux’s virtual drives/LeagueOfLegends/drive_c/Riot Games/League of Legends/Config”. Below is what I have in my “game.cfg”:
[General]
EnableAudio=1
GameMouseSpeed=10
UserSetResolution=1
BindSysKeys=0
SnapCameraOnRespawn=0
OSXMouseAcceleration=1
AutoAcquireTarget=0
EnableLightFx=0
WindowMode=0
ShowTurretRangeIndicators=0
PredictMovement=0
WaitForVerticalSync=0
Colors=32
Height=1080
Width=1920
SystemMouseSpeed=0
CfgVersion=5.3.296
x3d_platform=1
[HUD]
CameraLockMode=0
MiddleClickDragScrollEnabled=0
KeyboardScrollSpeed=0.5000
ChatScale=50
ObjectTooltips=0
AutoDisplayTarget=0
ShowAllChannelChat=1
ShowTimestamps=1
ItemShopPrevY=39
ItemShopPrevX=106
NameTagDisplay=1
ShowChampionIndicator=0
ShowSummonerNames=1
ScrollSmoothingEnabled=0
MiddleMouseScrollSpeed=0.5000
MapScrollSpeed=0.5000
ShowAttackRadius=0
NumericCooldownFormat=1
SmartCastOnKeyRelease=0
EnableLineMissileVis=0
FlipMiniMap=1
ItemShopResizeHeight=0
ItemShopResizeWidth=164
ItemShopPrevResizeHeight=1080
ItemShopPrevResizeWidth=1920
ItemShopItemDisplayMode=1
ItemShopStartPane=1
[Performance]
CharacterInking=1
ShadowsEnabled=1
EnableHUDAnimations=0
PerPixelPointLighting=0
EnableParticleOptimizations=0
BudgetOverdrawAverage=0
BudgetSkinnedVertexCount=0
BudgetSkinnedDrawCallCount=0
BudgetTextureUsage=0
BudgetVertexCount=0
BudgetTriangleCount=0
BudgetDrawCallCount=0
EnableGrassSwaying=0
EnableFXAA=0
AdvancedShader=0
FrameCapType=6
GammaEnabled=0
Full3DModeEnabled=0
AutoPerformanceSettings=0
CharacterQuality=4
EffectsQuality=4
EnvironmentQuality=4
ShadowQuality=4
GraphicsSlider=6
paths=0
[FloatingText]
EnemyTrueDamageCritical_Enabled=1
EnemyMagicalDamageCritical_Enabled=1
EnemyPhysicalDamageCritical_Enabled=1
TrueDamageCritical_Enabled=1
MagicalDamageCritical_Enabled=1
PhysicalDamageCritical_Enabled=1
Countdown_Enabled=0
EnemyTrueDamage_Enabled=0
EnemyMagicalDamage_Enabled=0
EnemyPhysicalDamage_Enabled=0
TrueDamage_Enabled=0
MagicalDamage_Enabled=0
PhysicalDamage_Enabled=0
Score_Enabled=0
QuestComplete_Enabled=0
QuestReceived_Enabled=0
Disable_Enabled=0
Level_Enabled=0
Dodge_Enabled=0
Heal_Enabled=0
Special_Enabled=0
Invulnerable_Enabled=0
Debug_Enabled=0
Absorbed_Enabled=0
OMW_Enabled=0
EnemyCritical_Enabled=0
MagicCritical_Enabled=0
Critical_Enabled=0
[Volume]
SfxVolume=0.5
MasterVolume=0.5

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Next Post

Previous Post

27 Comments

  1. Ingvar 2015-03-30

    Trying to install League of Legends 5.6.
    Updater stops at 86% “Step 2/2: Updating League of Legends | 271 MB ( 0 KBps )”.

  2. Ingvar 2015-03-30

    Ok, I wasn’t patient enough.
    It takes a long time to install LoL. Even with good hardware.
    total_duration_secs: 4928.140137
    total_result: success

    If someone wants to see progress: open terminal (Ctrl+Alt+T) and execute:
    # tail -f ~/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot\ Games/League\ of\ Legends/Logs/Patcher\ Logs/*.log

    • henrypoon 2015-03-30 — Post Author

      Hey there, thanks for the comment. Did you hit any other obstacles afterward and were you able to get the whole game running?

      • Ingvar 2015-03-31

        Hi and thank you for your manual. I just rebooted my PC and launched the game.
        The game is working. Not quite as well as in Windows. But it still playable.
        My hardware is: Intel Core i7-4820K, Radeon HD 6770, 16GB RAM.
        Ubuntu 14.10

        • henrypoon 2015-03-31 — Post Author

          That is good to know. I haven’t explored much in terms of what works and what doesn’t, so if you come across anything that doesn’t actually work, do let me know!

  3. TheSpam 2015-04-04

    Awesome guide, the only thing is chat how do we make it readable?

    • henrypoon 2015-04-04 — Post Author

      Which chat are you referring to?

  4. KaoticEvil 2015-05-11

    Attemptingyour directions now, after fighting with LoL patch 5.8 for 2 days on my fresh Mint Rebecca install. Can anyone confirm LoL 5.8 working with PoL 4.2.7?

    • henrypoon 2015-05-12 — Post Author

      How’d it go?

      • KaoticEvil 2015-05-13

        Worked great! Turns out the only thing that I was missing was the cfg file. I modified it, of course (actually copied the one from my Windows install and added “x3d_platform=1”), and it fired right up! Excellent HOWTO. Thank you so much for this.

  5. Ijgfgfjjh1 2015-09-28

    Hey I’m just curious does this setup still work as up Sept. 28, 2015? debating whether to waste my time going through all of this config if it doesn’t even work. Thanks in advance!!

    • henrypoon 2015-09-28 — Post Author

      I haven’t tried. I can’t imagine it *won’t* work as long as you’ve got the same version of Linux as me. The game itself definitely hasn’t changed that much to make it broken.

      • Ijgfgfjjh1 2015-09-29

        alright I’ll give it a try. I’ll let you know how it turns out

        • henrypoon 2015-09-29 — Post Author

          Cool yes please

          • Ijgfgfjjh1 2015-09-29

            Ok so i put in all of those logs into the config file and im receiving a DirectX error every time i go from champion selection to loading screen. Here’s the message:

            An unknown DirectX Error has occurred and League of Legends cannot start.Please make sure your video card is using the latest video drivers from the manufacturer.

            If you know anything of this that would be greatly appreciated!

          • henrypoon 2015-09-29 — Post Author

            Never got that error before. Did you follow the install script from PlayOnLinux? It’s supposed to contain a lot of the stuff you need

          • Aziliz 2015-11-06

            I was having the same error as Ijgfgfjjh1. I did it first time without the install script because i didn’t read it carefully. So i uninstalled and reinstalled with the script… which is where I think I ran into the problem. I didn’t actually use the script since I kept getting the error:
            Firefox doesn’t know how to open this address, because one of the following protocols (playonlinux) isn’t associated with any program or is not allowed in this context.
            So I just opened up a text document and copied the source into that and tried using it. I have it downloaded and can log in and get to create champion select but I can’t get into the game (also just tested and can’t get into the store) So my question is how do you actually run the installer script since i’m new to ubuntu

          • henrypoon 2015-11-07 — Post Author

            Regarding what you said about not running the script the first time around: PlayOnLinux typically stores each program in its own separate ‘virtual drive’ – basically a minimal set of files needed to run that program. Running the PlayOnLinux script should install LoL in its own virtual drive, which *should* make it independent of what you did before (at least this is how it behaves in my experience).

            Regarding the error message that Firefox gave: are you sure you have PlayOnLinux installed properly?

      • Ijgfgfjjh1 2015-09-29

        One question: where do i find the “league of legends virtual drive” in the instructions: Create “game.cfg” in “/home//PlayOnLinux’s virtual drives/LeagueOfLegends/drive_c/Riot Games/League of Legends/Config” and this is what I have in it.

        I am new to Linux so i mean im trying to understand this :/

        • henrypoon 2015-11-07 — Post Author

          The path that you have in your comment is the path to the ‘virtual drive’. In this context, what I basically mean is you make a file called “game.cfg” in that location. I’m going to clarify this in the post. Thanks.

  6. nunnu 2015-11-30

    Hi!

    I have a old Lenovo workstation that i got from workplace. Installed Ubuntu 14.04 LTS 64-bit to it. Other specs are:
    -Intel® Core™2 Duo CPU E6850 @ 3.00GHz × 2
    -Quadro FX 1700/PCIe/SSE2 with nvidia 340.96 driver ( 341.xxx driver doesn’t support quadro i think)
    -4 Gb RAM

    Had huge problems with resolution and game crashing all the time. Then found this and now it’s working like a charm so far! I did only the last two steps (put those graphics settings on league of legend:s wine settings on play on linux and then replaced my game.cfg with the one abobe).

    Thank you very much!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Henry Poon's Blog

Theme by Anders Norén