Lutris on Flatpak
Lutris is a video game preservation project. It installs and launches games so you can start playing without the hassle of setting up your games. This repository allows installing Lutris through Flatpak.
Installation
-
Add Flathub Beta remote
flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo flatpak update --appstream
-
Install GNOME Compat and GL32 extensions
flatpak install flathub org.gnome.Platform.Compat.i386 org.freedesktop.Platform.GL32.default org.freedesktop.Platform.GL.default
Make sure that you install the same branches as the ones used by net.lutris.Lutris, usually the latest ones.
DO NOT confuse
org.gnome.Platform.Compat.i386
withorg.freedesktop.Platform.Compat.i386
. -
Install Lutris
flatpak install flathub-beta net.lutris.Lutris
Running
Launch Lutris Beta from your desktop menu, or via command line:
flatpak run net.lutris.Lutris
Building
To compile Lutris as a Flatpak, you'll need both Flatpak and Flatpak Builder installed. Once you manage that, do the following...
- Clone this repository and
cd
into it - Add the git submodules
git submodule init git submodule update
- Add flathub-beta remote (same as in "Installation" section)
- Compile the flatpak
flatpak-builder --repo=lutris --force-clean --install-deps-from=flathub-beta build-dir net.lutris.Lutris.yml
- Add the local repo and install the flatpak
flatpak remote-add lutris lutris --no-gpg-verify flatpak install lutris net.lutris.Lutris
MangoHud
To enable MangoHud support install
flatpak install flathub org.freedesktop.Platform.VulkanLayer.MangoHud
Known issues
-
Destination Directory in ~/Games Cannot Be Found
Both of these issues are solved by installing the version of
flatpak install flathub org.gnome.Platform.Compat.i386
which corresponds to the GNOME runtime used by net.lutris.Lutris.
-
Lutris cannot detect my custom Games folder Related issue: #79
Add the adequate filesystem override
flatpak override --filesystem=/path/to/your/Folder net.lutris.Lutris