lutris/README.rst

144 lines
5.7 KiB
ReStructuredText
Raw Normal View History

2014-09-12 14:57:34 +00:00
******
2010-08-31 00:44:09 +00:00
Lutris
2014-09-12 14:57:34 +00:00
******
2010-08-31 00:44:09 +00:00
2022-05-12 19:44:49 +00:00
|LiberaPayBadge|_ |PatreonBadge|_
2019-02-14 03:07:42 +00:00
2021-03-22 22:21:50 +00:00
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.
2018-11-05 06:21:28 +00:00
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"`
2014-09-12 14:57:34 +00:00
Installer scripts
=================
Lutris installations are fully automated through scripts, which can be written
2018-10-02 02:59:16 +00:00
in either JSON or YAML.
The scripting syntax is described in ``docs/installers.rst``, and is also
2018-10-02 02:59:16 +00:00
available online at `lutris.net <https://lutris.net>`_.
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
Game library
2014-09-12 14:57:34 +00:00
============
2018-10-02 02:59:16 +00:00
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.
2018-07-12 00:05:48 +00:00
This token is stored in ``~/.cache/lutris/auth-token``.
2010-01-22 18:38:20 +00:00
Configuration files
2014-09-12 14:57:34 +00:00
===================
2018-10-02 02:59:16 +00:00
* ``~/.config/lutris``: The client, runners, and game configuration files
2023-02-02 22:53:47 +00:00
There is no need to manually edit these files as everything should be done from the client.
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
* ``lutris.conf``: Preferences for the client's UI
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
* ``system.yml``: Default game configuration, which applies to every game
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
* ``runners/*.yml``: Runner-specific configurations
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
* ``games/*.yml``: Game-specific configurations
2014-09-12 14:57:34 +00:00
2019-04-10 20:09:18 +00:00
Game-specific configurations overwrite runner-specific configurations, which in
turn overwrite the system configuration.
2014-09-12 14:57:34 +00:00
2018-07-12 00:05:48 +00:00
Runners and the game database
2018-10-02 02:59:16 +00:00
=============================
2014-09-12 14:57:34 +00:00
2018-10-02 02:59:16 +00:00
``~/.local/share/lutris``: All data necessary to manage Lutris' library and games, including:
2014-09-12 14:57:34 +00:00
2019-04-10 20:09:18 +00:00
* ``pga.db``: An SQLite database tracking the game library, game installation status, various file locations, and some additional metadata
2014-09-12 14:57:34 +00:00
2020-03-13 16:23:37 +00:00
* ``runners/*``: Runners downloaded from `lutris.net <https://lutris.net>`
2010-01-22 18:38:20 +00:00
2020-03-13 16:23:37 +00:00
* ``banners/*.jpg``: Game banners
``~/.local/share/icons/hicolor/128x128/apps/lutris_*.png``: Game icons
2010-01-22 18:38:20 +00:00
2014-09-12 14:57:34 +00:00
Command line options
====================
2010-01-22 18:38:20 +00:00
2014-09-12 14:57:34 +00:00
The following command line arguments are available::
2010-01-22 18:38:20 +00:00
-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
2023-08-26 05:30:40 +00:00
--list-wine-versions List all known Wine runners
-a, --list-all-service-games List all games for all services in database
--list-service-games List all games for provided service in database
-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
2010-01-22 18:38:20 +00:00
Additionally, you can pass a ``lutris:`` protocol link followed by a game
2014-09-12 15:00:03 +00:00
identifier on the command line such as::
2014-11-11 15:00:43 +00:00
2014-09-12 15:00:03 +00:00
lutris lutris:quake
2018-11-05 06:22:46 +00:00
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.
2010-01-22 18:38:20 +00:00
Support the project
===================
2020-03-13 16:23:37 +00:00
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
2014-09-12 15:50:13 +00:00
Come with us!
=============
2018-07-12 00:05:48 +00:00
Want to make Lutris better? Help implement features, fix bugs, test
pre-releases, or simply chat with the developers?
2014-09-12 15:50:13 +00:00
You can always reach us on:
2015-03-03 16:31:48 +00:00
2019-02-07 19:33:47 +00:00
* Discord: https://discordapp.com/invite/Pnt5CuY
2021-05-31 21:45:03 +00:00
* IRC: ircs://irc.libera.chat:6697/lutris
2017-09-16 19:35:29 +00:00
* Github: https://github.com/lutris
2014-09-12 15:50:13 +00:00
* Twitter: https://twitter.com/LutrisGaming
2019-02-14 03:07:42 +00:00
.. |LiberaPayBadge| image:: http://img.shields.io/liberapay/receives/Lutris.svg?logo=liberapay
.. _LiberaPayBadge: https://liberapay.com/Lutris/
2022-04-30 22:08:48 +00:00
.. |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