Installer league-of-legends-pbe

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- lol_pbe: http://riotgamespatcher-a.akamaihd.net/releases/pbe/installer/deploy/League%20of%20Legends%20installer%20PBE.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Riot Games/PBE/LeagueClient.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: corefonts
    description: Installing fonts
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2017
    description: Setting Windows version to Visual C++ 2017
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: winxp
    description: Setting Windows version to XP
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: --mode unattended
    executable: lol_pbe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Fixing mouse cursor capture
    key: GrabFullScreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
system:
  disable_runtime: true
  env:
    MESA_GLTHREAD: 'true'
    __GL_THREADED_OPTIMIZATIONS: '1'
wine:
  MouseWarpOverride: enable
  UseGLSL: disabled
  version: tkg-3.20-x86_64
{
  "game": {
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/Riot Games/PBE/LeagueClient.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "description": "Creating Wine prefix"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "app": "corefonts",
        "description": "Installing fonts"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "app": "vcrun2017",
        "description": "Setting Windows version to Visual C++ 2017"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "app": "winxp",
        "description": "Setting Windows version to XP"
      }
    },
    {
      "task": {
        "args": "--mode unattended",
        "executable": "lol_pbe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Fixing mouse cursor capture",
        "prefix": "$GAMEDIR",
        "name": "set_regedit",
        "key": "GrabFullScreen",
        "value": "Y",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver"
      }
    }
  ],
  "files": [
    {
      "lol_pbe": "http://riotgamespatcher-a.akamaihd.net/releases/pbe/installer/deploy/League%20of%20Legends%20installer%20PBE.exe"
    }
  ],
  "system": {
    "disable_runtime": true,
    "env": {
      "__GL_THREADED_OPTIMIZATIONS": "1",
      "MESA_GLTHREAD": "true"
    }
  },
  "wine": {
    "MouseWarpOverride": "enable",
    "UseGLSL": "disabled",
    "version": "tkg-3.20-x86_64"
  }
}
Back to game