1
0
mirror of https://github.com/lutris/lutris synced 2024-07-05 16:38:42 +00:00
Go to file
Antoine Mazeas 10c4c8fcdf Add mandatory MODDB: prefix as per maintainer wish
+ add more test coverage

Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2023-01-19 19:43:53 -08:00
.github Revert "Remove github issue template" 2023-01-14 19:16:36 -05:00
bin - Replaced pipenv with poetry 2021-11-17 21:17:43 -08:00
debian Remove end year from copyright statements 2023-01-02 05:48:11 -08:00
docs Add mandatory MODDB: prefix as per maintainer wish 2023-01-19 19:43:53 -08:00
lutris Add mandatory MODDB: prefix as per maintainer wish 2023-01-19 19:43:53 -08:00
po Update de.po 2022-11-29 02:52:35 +01:00
schema Remove ResidualVM, as it was merged into ScummVM 2023-01-03 15:22:25 -08:00
share Merge branch 'master' of https://github.com/lutris/lutris 2023-01-02 09:39:39 -05:00
snap Revert "Remove remaining uses of libnotify" 2022-12-02 13:51:18 -08:00
tests Add mandatory MODDB: prefix as per maintainer wish 2023-01-19 19:43:53 -08:00
utils Move extract_icon to a more appropriate directory 2022-09-28 03:55:15 -04:00
.agignore Add .agignore file 2016-09-28 23:31:27 -07:00
.editorconfig install script json schema 2022-03-25 00:58:37 +00:00
.flake8 Update .flake8 to be compatible with flake8 v6, which has strange rules about where comments can go. 2022-12-23 13:33:54 -05:00
.gitignore Add config option to use long platform names 2020-10-07 21:10:29 -07:00
.isort.cfg Remove keyring dependency 2022-04-11 13:59:56 -07:00
.pylintrc Add TOSEC scanner/renamer 2023-01-18 18:38:15 -08:00
.travis.yml Revert "Remove remaining uses of libnotify" 2022-12-02 13:51:18 -08:00
.yapf Minor update to configs 2020-04-27 19:52:01 +03:00
AUTHORS Add myself to AUTHORS 2022-12-20 16:02:17 -08:00
CONTRIBUTING.md Remove poetry 2022-05-23 19:35:17 -07:00
INSTALL.rst Revert "Remove remaining uses of libnotify" 2022-12-02 13:51:18 -08:00
LICENSE Fix typo in file name: LICENCE → LICENSE. 2016-11-18 13:49:57 +01:00
lutris.spec Revert "Remove remaining uses of libnotify" 2022-12-02 13:51:18 -08:00
Makefile Update Publish Lutris PPA Workflow 2023-01-04 11:44:01 -08:00
MANIFEST.in Fix a typo, remove missing directories, and add lutris/database to the list of installed directories (#4) 2020-10-03 17:51:48 -07:00
meson.build Merge branch 'master' into meson-minimum-version 2022-04-11 14:10:11 -07:00
optional_settings.py.in i18n: find locale dir from the optional configuration file generated by meson 2020-06-18 19:11:32 -07:00
README.rst Added export/import to README 2022-08-11 11:23:44 +02:00
setup.py Add mandatory MODDB: prefix as per maintainer wish 2023-01-19 19:43:53 -08:00

******
Lutris
******

|LiberaPayBadge|_ |PatreonBadge|_

Lutris helps you install and play video games from all eras and from most
gaming systems. By leveraging and combining existing emulators, engine
re-implementations and compatibility layers, it gives you a central interface
to launch all your games.

The client can connect with existing services like Humble Bundle, GOG and Steam
to make your game libraries easily available. Game downloads and installations
are automated and can be modified through user made scripts.

Running Lutris
==============

If you have not installed Lutris through your package manager and are using the
source package, it is recommended that you install lutris at least once, even an
older version to have all dependencies available.
Once all dependencies are satisfied, you can run lutris directly from the source
directory with `./bin/lutris`

If you need to run lutris through gdb to troubleshoot segmentation faults, you
can use the following command:

`gdb -ex r --args "/usr/bin/python3" "./bin/lutris"`

Installer scripts
=================

Lutris installations are fully automated through scripts, which can be written
in either JSON or YAML.
The scripting syntax is described in ``docs/installers.rst``, and is also
available online at `lutris.net <https://lutris.net>`_.

Game library
============

Optional accounts can be created at `lutris.net
<https://lutris.net>`_ and linked with Lutris clients.
This enables your client to automatically sync fetch library from the website.
**It is currently not possible to sync from the client to the cloud.**
Via the website, it is also possible to sync your Steam library to your Lutris
library.

The Lutris client only stores a token when connected with the website, and your
login credentials are never saved.
This token is stored in ``~/.cache/lutris/auth-token``.

Configuration files
===================

* ``~/.config/lutris``: The client, runners, and game configuration files

   There is be no need to manually edit these files as everything should be done from the client.

* ``lutris.conf``: Preferences for the client's UI

* ``system.yml``: Default game configuration, which applies to every game

* ``runners/*.yml``: Runner-specific configurations

* ``games/*.yml``: Game-specific configurations

Game-specific configurations overwrite runner-specific configurations, which in
turn overwrite the system configuration.

Runners and the game database
=============================

``~/.local/share/lutris``: All data necessary to manage Lutris' library and games, including:

* ``pga.db``: An SQLite database tracking the game library, game installation status, various file locations, and some additional metadata

* ``runners/*``: Runners downloaded from `lutris.net <https://lutris.net>`

* ``banners/*.jpg``: Game banners

``~/.local/share/icons/hicolor/128x128/apps/lutris_*.png``: Game icons

Command line options
====================

The following command line arguments are available::

-v, --version              Print the version of Lutris and exit
-d, --debug                Show debug messages
-i, --install              Install a game from a yml file
-b, --output-script        Generate a bash script to run a game without the client
-e, --exec                 Execute a program with the lutris runtime
-l, --list-games           List all games in database
-o, --installed            Only list installed games
-s, --list-steam-games     List available Steam games
--list-steam-folders       List all known Steam library folders
--list-runners             List all known runners
--list-wine-runners        List all known Wine runners
-r, --install-runner       Install a Runner
-u, --uninstall-runner     Uninstall a Runner
-j, --json                 Display the list of games in JSON format
--reinstall                Reinstall game
--display=DISPLAY          X display to use
--export <game>            Exports specified game (requires --dest)
--import <game.7z)         Import games from exportfile (requires --dest)
--dest <folder>            Specifies Export/Import destination folder

Additionally, you can pass a ``lutris:`` protocol link followed by a game
identifier on the command line such as::

    lutris lutris:quake

This will install the game if it is not already installed, otherwise it will
launch the game. The game will always be installed if the ``--reinstall`` flag is passed.

Support the project
===================

Lutris is 100% community supported, to ensure a continuous development on the
project, please consider donating to the project.
Our main platform for supporting Lutris is Patreon: https://www.patreon.com/lutris
but there are also other options available at https://lutris.net/donate

Come with us!
=============

Want to make Lutris better? Help implement features, fix bugs, test
pre-releases, or simply chat with the developers?

You can always reach us on:

* Discord: https://discordapp.com/invite/Pnt5CuY
* IRC: ircs://irc.libera.chat:6697/lutris
* Github: https://github.com/lutris
* Twitter: https://twitter.com/LutrisGaming


.. |LiberaPayBadge| image:: http://img.shields.io/liberapay/receives/Lutris.svg?logo=liberapay
.. _LiberaPayBadge: https://liberapay.com/Lutris/
.. |PatreonBadge| image:: https://img.shields.io/badge/dynamic/json?color=%23ff424d&label=Patreon&query=data.attributes.patron_count&suffix=%20Patreons&url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F556103&style=flat&logo=patreon
.. _PatreonBadge: https://www.patreon.com/lutris