Skip to content

Instantly share code, notes, and snippets.

@ptkdev
Last active December 20, 2020 12:28
Show Gist options
  • Save ptkdev/afe27d43c8bf8461ac14c94e80e71eb2 to your computer and use it in GitHub Desktop.
Save ptkdev/afe27d43c8bf8461ac14c94e80e71eb2 to your computer and use it in GitHub Desktop.
Run Legends of Runeterra on Linux with Lutris
# v1.3.0 - Lutris Installer for Legends of Runeterra Openbeta (forked from league of legends installer)
#
# [REQUIREMENTS]
# - Nvidia driver 430 or newer + vulkan
# - Wine 64bit, delete ~/.wine folder after intallation of wine64 from wine32
# - Archlinux, Manjaro, Ubuntu 18+ or Fedora
#
# [INSTALLATION]
# Install "Lutris" on linux https://lutris.net/
# Download this file and rename to: lutris-legends-of-runeterra-openbeta.yml
# Run: lutris -i lutris-legends-of-runeterra-openbeta.yml
#
# [IMPORTANT]
# For anticheat compatibility check run:
# sudo sh -c 'echo 0 > /proc/sys/abi/vsyscall32'
#
# [CHANGELOG]
# v1.0.0
# - first release
# v1.1.0
# - fix random disconnection issue (test 1)
# v1.2.0
# - added wininet of winetricks
# - fix random disconnection issue (test 2)
# v1.2.1
# - removed bad prefix (thanks: @takov751)
# v1.2.2
# - added dotnet48 of winetricks
# - fix random disconnection issue (test 3)
# v1.2.2b
# - fix installer bug (moved dotnet48 installation AFTER launcher phase)
# v1.3.0
# - WORK! Disconnection issue expire after dotnet48 installation
# - If card freeze, open/close friends list and game unfreeze
#
# Authors: @ptkdev, @Wereii, @Graff
# Help: support@ptkdev.io | Discord: https://discordapp.com/invite/Pnt5CuY
game_slug: legends-of-runeterra
name: Legends of Runeterra
year: 2020
runner: wine
slug: legends-of-runeterra
version: w/d9vk
description: LoR with d9vk
script:
wine:
Desktop: true
MouseWarpOverride: disable
d9vk: true
dxvk: true
esync: true
version: lutris-lol-5.0-x86_64
game:
args: --launch-product=bacon --launch-patchline=live
exe: "$GAMEDIR/drive_c/Riot Games/Riot Client/RiotClientServices.exe"
prefix: "$GAMEDIR"
system:
disable_compositor: true
env:
DXVK_LOG_LEVEL: none
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 1
WINE_LARGE_ADDRESS_AWARE: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
files:
- lor_installer: https://bacon.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.exe
installer:
- task:
name: create_prefix
description: Creating Wine prefix
arch: win64
prefix: "$GAMEDIR"
- task:
arch: win64
key: GrabFullScreen
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
prefix: $GAMEDIR
value: Y
- task:
arch: win64
key: UseXVidMode
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
prefix: $GAMEDIR
value: N
- task:
name: wineexec
description: Installing Legends of Runeterra
arch: win64
executable: lor_installer
prefix: "$GAMEDIR"
- task:
app: d3dcompiler_43 d3dx9 wininet dotnet48
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
@adrienbresson
Copy link

Works for me (from linux arch) with all settings at minimum an discrete GPU disabled... The game some time crashes, or disconnect when playing, if I am fast enough I can re-lunch an reconnect before I am kicked.

@Sasa993
Copy link

Sasa993 commented Apr 22, 2020

Hello, I have a problem with this installation. Everything goes well until the update reaches 70% and I get the error in Lutris: ntquerysysteminformation: returning fake driver list. I am running Linux Mint 19.1. If you're able to help me, that would be great :) Thank you in advance!

@Merteg
Copy link

Merteg commented May 1, 2020

Unable to install the game. It fails in deadlock:
003d:err:ntdll:RtlpWaitForCriticalSection section 0x100a8 "/home/ubuntu/buildbot/runners/wine/wine-src/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 003d, blocked by 01cb, retrying (60 sec)

@g00sed
Copy link

g00sed commented Jun 28, 2020

I installed the game through Lutris, and it works fine, but only in its own virtual desktop. Otherwise, when it loses focus it stops accepting input. Any workarounds for this?

@carcagi
Copy link

carcagi commented Jul 3, 2020

It's not launching after restart... Anyone with same problem?
Ubuntu 18.04

@ptkdev
Copy link
Author

ptkdev commented Jul 4, 2020

It's not launching after restart... Anyone with same problem?
Ubuntu 18.04

Use official Installer on lutris app.
See https://lutris.net/games/legends-of-runeterra/

@denisstrizhkin
Copy link

The game launched fine during installation but afterwards it crashes when I click game shortcut on virtual desktop. Why it stopped working?

@ptkdev
Copy link
Author

ptkdev commented Jul 31, 2020

The game launched fine during installation but afterwards it crashes when I click game shortcut on virtual desktop. Why it stopped working?

Use official Installer on lutris app, this yml is too old.
See https://lutris.net/games/legends-of-runeterra/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment