Skip to content

Instantly share code, notes, and snippets.

@Chainso
Created May 19, 2019 23:25
Show Gist options
  • Save Chainso/97972fe6b6e3fe210a1e57ffb6e833cc to your computer and use it in GitHub Desktop.
Save Chainso/97972fe6b6e3fe210a1e57ffb6e833cc to your computer and use it in GitHub Desktop.
League of Legends Lutris Install
name: "League of Legends"
runner: "wine"
version: "Installer"
slug: "league of legends"
game_slug: "league of legends"
script:
files:
- lol_installer: https://riotgamespatcher-a.akamaihd.net/releases/live/installer/deploy/League%20of%20Legends%20installer%20NA.exe
game:
exe: drive_c/Riot Games/League of Legends/LeagueClient.exe
prefix: $GAMEDIR
installer:
- input_menu:
description: 'Choose the game''s language:'
id: LOCALE
options:
- cs_CZ: "\u010Ce\u0161tina"
- en_AU: English AUS
- en_GB: English U.K.
- en_US: English U.S.
- fr_FR: "Fran\xE7ais"
- de_DE: Deutsch
- es_ES: "Espa\xF1ol"
- es_MX: "Espa\xF1ol Mexicano"
- it_IT: Italiano
- ja_JP: "\u65E5\u672C\u8A9E"
- hu_HU: Magyar
- pl_PL: Polski
- pt_BR: "Portugu\xEAs do Brasil"
- ro_RO: Romanian
- ru_RU: "\u0440\u0443\u0441\u0441\u043A\u0438\u0439"
- tr_TR: "T\xFCrk\xE7e"
preselect: en_US
- input_menu:
description: 'Choose the game''s server region:'
id: REGION
options:
- BR: Brazil
- EUNE: Europe Nordic & East
- EUW: Europe West
- LAN: Latin America North
- LAS: Latin America South
- NA: North America
- OCE: Oceania
- RU: Russia
- TR: Turkey
- JP: Japan
- SEA: South East Asia
preselect: NA
- task:
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
args: --mode unattended
description: Installing League of Legends
executable: lol_installer
name: wineexec
prefix: $GAMEDIR
- task:
name: winekill
prefix: $GAMEDIR
- task:
key: GrabFullScreen
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
prefix: $GAMEDIR
value: Y
- write_file:
content: "install:\n globals:\n locale: \"$INPUT_LOCALE\"\n region:\
\ \"$INPUT_REGION\"\n"
file: $GAMEDIR/drive_c/Riot Games/League of Legends/Config/LeagueClientSettings.yaml
- task:
name: winekill
prefix: $GAMEDIR
wine:
MouseWarpOverride: enable
UseGLSL: disabled
overrides:
msvcp140: native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment