Lutris

Lutris is Article description::an open source gaming platform for Linux. It makes gaming on Linux easier by managing, installing and providing optimal settings for games.

Lutris does not sell games; The user needs to provide copies of the games unless they are open source or freeware. Games can be installed anywhere on the system; Lutris does not impose anything.

Installation
Install Lutris:

Runners
Lutris relies on programs known as 'runners' to provide a vast library of games. These runners (with the exception of Steam and web browsers) are provided by Lutris, and don't need to be installed by the system package manager. Refer to the Lutris website for a list of currently supported runners.

Installer scripts
Lutris automates installation of games using configuration scripts written in JSON or YAML, which list the various files needed to install a game and can perform a series of actions on them. The syntax of installers is described docs/installers.rst on Github, and is also available on lutris.net when writing installers.

A web UI is planned to ease the creation of these scripts.

Game library
Users can optionally create an account on lutris.net and connect their account to the client. This will allow the user to sync their game library from the website to the client (not the other way around). The user can also sync their Steam library with the Lutris library on the website.

The client does not store lutris.net credentials on the system. Instead, when a user authenticates, the website will send a token which will be used to sync the library. This token is stored in.

Configuration files
The client, runner, and game configuration files are stored in. There is no need to manually edit these files as everything should be done from the client.


 * : preferences for the client's UI


 * : default configuration for every game


 * : runner-specific default configurations


 * : game-specific configurations

The game configuration can override previously defined runner and system configuration and runner configuration can override system configuration.

Runners and the game database
The data necessary to manage the game library and run games is stored in.


 * : game library, game installation status, locations on the file system, and some additional metadata, all stored in an SQLite database


 * : runners downloaded from lutris.net


 * and : game images

Command line options
The following command line arguments are available:

Additionally, a protocol link followed by a game identifier can be passed on the command line:

This will install the game if not already installed or launch the game otherwise (unless the  option is passed).

Managing libraries
If the Lutris runtime is disabled, then Lutris will use system the libraries, otherwise it will use the libraries in.

Locating missing libraries
One way of locating missing libraries is to use command which is part of.

Where  is the full name of a file (supports wildcards) that is being located.

Reporting missing libraries
Sent reports to https://github.com/lutris/buildbot/issues

Watchers
Lutris is using watchers:

DEBUG   2018-10-07 09:23:49,284 [steam]:Watching Steam folder /home/$USER/.steam/steam/steamapps

To detect games in the native Steam library and add them to the Lutris library if enabled.

Debugging
The most effective way to debug Lutris and its runners is to invoke in terminal with unlimited scroll.

Using is also recommended.

Planned features
Here's what to expect from the future versions of Lutris:


 * Integration with GOG and Humble Bundle
 * Integration with the TOSEC database
 * Management of Personal Game Archives (will allow storing game files on private storage so that they can be re-installed on other devices)
 * Game saves sync
 * Community features (friends list, chat, multiplayer game scheduling)
 * Controller configuration GUI (with xboxdrv support)

Where to look for help

 * IRC: #lutris, #gentoo-wine
 * Discord: Gentoo-discord, Linux_Gamers_Group, Linux_Gaming
 * Forum: https://forums.lutris.net/

Wine cannot find winemenubuilder.exe
Info:

is used in Wine to make Linux menu shortcut from Windows.

wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"

This should be ignored, because Lutris is going to make its own shortcuts at the end of each installation.

Possible solution:

To remove this error message from Wine console:

Lutris->Manage runners->Wine->Configure runner->DLL overrrides->Key=winemenubuilder.exe Lutris->Manage runners->Wine->Configure runner->DLL overrrides->Value=d

This will disable. Value can be set to  to enable  which is not recommended for the reasons stated above.

Wine cannot find FreeType font library
FreeType is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats.

Error:

Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org

Solution:

a) Emerging

b) Installing libfreetype2 library to the location that is set for a process that needs it.

c) Installing library to the Lutris runtime.

Wine version mismatch
Error:

wine client error:0: version mismatch 549/566.

Solution:

a) This issue was resolved in Lutris 0.4.19+.

b) Invoke . There is a bug which results in Wine mismatch if the Wine version is changed.

No DirectX 10 or 11 adapter or runtime found
Error:

ERR_GFX_D3D_NOD3D1X_4 - No DirectX 10 or 11 adapter or runtime found. Please install latest DirectX runtime or install a compatible DirectX 10 or 11 video card.

Solution:

a) Vulkan and/or DXVK is not configured properly. Check.

b) The Wine application needs DirectX libraries. Use Winetricks to install them.

c) Lutris is missing libraries in its runtime.

SESSION_MANAGER environment variable not defined
Error:

Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

Solution:

Was resolved by restarting Lutris (xkill && lutris)

BadWindow (invalid Window parameter)
This problem seems to appear when virtual Wine window is -ed.

Error:

X Error of failed request: BadWindow (invalid Window parameter)

Solution:

Solved by invoking