1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 11:35:50 +00:00
Go to file
2013-07-11 18:15:32 +02:00
bin Implement basics for game removal 2013-06-27 17:29:54 +02:00
data Allow installing from within the main window 2013-07-10 02:02:08 +02:00
debian Set up stuff for 0.3 release 2013-06-26 12:11:21 +02:00
docs Add custom message for N/A files 2013-07-11 18:15:32 +02:00
lutris Add custom message for N/A files 2013-07-11 18:15:32 +02:00
po Translation file update 2012-11-09 22:48:57 +01:00
tests Fix tests 2013-07-11 14:53:12 +02:00
.bzrignore Add Makefile with rule to run tests with coverage 2013-03-20 22:52:55 +01:00
AUTHORS Changed AUTHORS + typo 2012-11-14 18:13:16 +01:00
COPYING Fixed quidget conflict 2010-04-25 13:51:50 +02:00
INSTALL Set up stuff for 0.3 release 2013-06-26 12:11:21 +02:00
lutris.desktop lutris: protocol handling + installer fixes 2013-05-26 22:20:41 +02:00
lutris.desktop.in Set up stuff for 0.3 release 2013-06-26 12:11:21 +02:00
Makefile Fix url for upload task 2013-07-02 19:03:01 +02:00
MANIFEST.in Fixed setup.py script and removed dependency on distutils-extra 2012-11-10 00:01:55 +01:00
README Set up stuff for 0.3 release 2013-06-26 12:11:21 +02:00
setup.py Add gsettings schema to installed files 2013-06-26 14:08:49 +02:00

Lutris
------

Lutris is a gaming platform for GNU/Linux. It's goal is to make
gaming on Linux as easy as possible by taking care of installing
and setting up the game for the user. The only thing you have to
do is play the game. It aims to support every game that is playable
on Linux.


Configuration files
-------------------

All the configuration files are in YAML format. YAML is very easy to understand
and to use in Python. For more information visit http://yaml.org

By default, configuration files will be stored in ~/.config/lutris

Lutris' configuration system is a hierarchy, the deeper you go in the hierarchy
the higher priority they have.
There are three levels :
 - User configuration
 - Runner configuration
 - Game

User configuration is able to change system settings such as the
screen resolution or the audio library you use.

Runner configuration is more specific, you can change option specific to the
runner like setting a registry key in Wine. You can also override default and
user configuration in here.

Game configuration is specific to a very specific game. If the game uses
configuration files this is the place to change them, like for example
displaying the FPS count in Quake 3. You can also override runner, user and
default configuration here.

***************************
* Main configuration file *
***************************

This file set the program's configuration (in the root "config" section) and
The possible keys for the "config" section are:

 - hide_panels : hide Gnome's panels while playing (boolean)
 - screensaver : inhibit the screesaver while playin (boolean)
 - oss_wrapper : the program used to activate oss sound, can be aoss for alsa
, padsp for pulseaudio or none
 - reset_pulse : kill pulseaudio and restart it, some games need this.
Activating this setting can mess with your applications that use pulseaudio so
it's better to quit any application that uses pulseaudio before launching a game
with this option

the runners configuration (in "runner" sections where runner is the name of the
runner's class)

****************************
* Games configuration file *
****************************

A game configuration file must have a "main" section, this sections has
mandatory keys which are :
 - system : the runner used for the game
 - realname : the name that will be displayed in the game list

Some keys are dependent of the runner and are usually related to the game
location and data needed to run the game:

For most runners "path" will be used as the location for the game
Runners that use floppy disk image or isos use the key "disk"
Emulators will usually have a "rom" key

The game config file can have a "runner" section where runner is the value given
by the "main/system" key and not actually "runner"
The options given in this section will override the runner's default
configuration.
The game config file can also have a "config" section which will override Lutris
default options.

************
* Examples *
************

----------------

main.yml

hide_panels: true
reset_pulse: false
-----------------

uae.yml

drives: 2
game_path: /home/user/games/amiga/adf
system:
  hide_panels: false

-----------------

dragon_ninja.yml

realname: Dragon Ninja
runner: uae
path: /home/user/games/amiga/adf/dragon ninja
uae:
  drives:1
system:
  reset_pulse: true