Find a file
2013-05-26 22:20:41 +02:00
apport Big bunch of cleanups 2013-01-29 04:31:57 +01:00
bin lutris: protocol handling + installer fixes 2013-05-26 22:20:41 +02:00
data lutris: protocol handling + installer fixes 2013-05-26 22:20:41 +02:00
debian Add gconf dependency 2013-03-20 21:12:06 +01:00
docs Installer rewriting almost complete + Gio mounts handled in Downloader 2013-05-26 18:43:42 +02:00
etc Add pylintrc file 2012-11-09 16:56:58 +01:00
lutris lutris: protocol handling + installer fixes 2013-05-26 22:20:41 +02:00
po Translation file update 2012-11-09 22:48:57 +01:00
tests Installer rewriting almost complete + Gio mounts handled in Downloader 2013-05-26 18:43:42 +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
HACKING quickly saved 2010-01-22 19:38:20 +01:00
INSTALL Update install procedure, removing obsolete stuff 2012-11-08 21:46:59 +01:00
lutris.desktop lutris: protocol handling + installer fixes 2013-05-26 22:20:41 +02:00
lutris.desktop.in Bump version to 0.2.8 2013-02-04 15:06:12 +01:00
Makefile Write PGA sources to local database 2013-04-16 22:47:04 +02:00
MANIFEST.in Fixed setup.py script and removed dependency on distutils-extra 2012-11-10 00:01:55 +01:00
README refactored some stuff 2010-08-31 02:44:09 +02:00
setup.py Installer rewriting almost complete + Gio mounts handled in Downloader 2013-05-26 18:43:42 +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
 - user_wm : the user's window manager such as metacity, kwin, openbox or compiz 
 - game_wm : the window manager you wish to use when playing a game
 
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