Trouble installing League of Legends

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Gebonimo
Newbie
Newbie
Posts: 3
Joined: Mon May 01, 2017 2:59 am

Trouble installing League of Legends

Post by Gebonimo »

Hi,

As the title says i have troubles while installing League of Legends with WINE.

My config is :
  • - Fedora 25
    - WINE 2.6 (staging) 32 bits
My problem is when i try to install Lol, i have the following window :
http://imgur.com/a/F5adW

I have installed some "winetricks" :
winetricks vcrun2005
winetricks ie8
winetricks wininet
winetricks d3dx9
winetricks corefonts
winetricks adobeair


but i don't understand why the installer shutdowns immediately.

Can you please help me?

If you need any information, tell me.

Thanks.
Gebonimo
Newbie
Newbie
Posts: 3
Joined: Mon May 01, 2017 2:59 am

Re: Trouble installing League of Legends

Post by Gebonimo »

Sorry for double posting, here are the logs : https://pastebin.com/UM8ESpLD
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trouble installing League of Legends

Post by Bob Wya »

@Gebonimo,

I just took a look at this today - I'm not a LOL player myself...

The LOL installer is buggy when run under Wine.
See Wine Bug 34989 - Multiple installers using Caphyon 'Advanced Installer' (AI) technology hang (Atlassian SourceTree v1.3.2, League of Legends 2013+) (deferred type 1 custom action executed before regular type 1 custom action)...

But it's well documented on the net how to workaround this - for example Github : TheUnnamedDude/pol_league_of_legends...
I haven't tested the Wine patch - attached to that bug report... But I'll try and check that soon (it has worked with other games - with installer issues - when I've previously tested it)...

Anyway tested with Wine Staging 2.7, these are the exact instructions I used:

Code: Select all

# Create 32-bit WINEPREFIX below present working directory
export WINEPREFIX="${PWD}/lol_32"
export WINEARCH=win32
wineboot -u

# Remove symbolic links to HOME directory and root drive
winetricks sandbox

# Move into root C:\ drive of newly created WINEPREFIX
cd lol_32/drive_c/
cp ~/Downloads/LeagueofLegends_EUW_Installer_2016_11_10.exe .

# Extract msi installer from installer exe. Change region ID (EUW=Europe West) - as required
wine LeagueofLegends_EUW_Installer_2016_11_10.exe '/extract:C:\' '/execnoui'
wine msiexec /i LoL.EUW.msi 'APPDIR=C:\Riot Games' /q

# DLL overrides
wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'msvcp140' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'wininet' /t 'REG_SZ' /d 'builtin,native' /f
winetricks -q d3dx9

# Remove junk in WINEPREFIX C:\ drive root (won't remove Wine system directories - only LOL installation files)
rm *

# Move to installation location and launch game
cd "Riot Games"
wine lol.launcher.admin.exe
To relaunch the game you'd want something like:

Code: Select all

export WINEPREFIX="..."
cd "${WINEPREFIX}/drive_c/Riot Games"
wine "lol.launcher.admin.exe"
or:

Code: Select all

env WINEPREFIX="..." wine start 'C:\Riot Games\lol.launcher.admin.exe'
Replace the dots "..." with the actual path of your WINEPREFIX - obviously... 8)

Some of those overrides may not be necessary still, with newer versions of Wine Staging, but I was able to get into the tutorial phase - using my test installation (as above)...
As I'm not the AppDB maintainer for this game (he doesn't appear to be doing anything really :shock: ) I just want a well documented/online installation guide...
Since this game gets asked about quite often on the WineHQ forums...

Bob
rammestein
Newbie
Newbie
Posts: 2
Joined: Thu Dec 29, 2016 12:07 pm

Re: Trouble installing League of Legends

Post by rammestein »

League of Legends worked fine for me. Faced some problem while I was trying to install Grand Theft Auto: San Andreas. Everything was fine except intro video. The problem was with quartz.dll. Worked after the file replacement.
Locked