No description
Find a file
Mathieu Comandon 7d1a2e117c Removing some license headers
The goal is to remove them all and have only one license file
2012-11-09 17:22:39 +01:00
apport fixed import stuff (WIP) 2011-02-11 21:31:07 +01:00
bin catch SIGINT to quit the program 2012-08-13 17:46:27 +02:00
data Update da mistru's email address 2012-11-09 16:20:38 +01:00
debian removed coverflow module 2012-04-29 18:05:17 +02:00
etc Add pylintrc file 2012-11-09 16:56:58 +01:00
lutris Removing some license headers 2012-11-09 17:22:39 +01:00
po removed cedega runner 2011-07-07 01:42:37 +02:00
tests Add tests for runners 2012-11-09 15:41:11 +01:00
.bzrignore List view: changed runner icon to game icon. 2012-09-17 11:50:29 +02:00
.quickly pygi migration nitialed 2011-11-29 06:13:43 +01:00
AUTHORS Update AUTHORS file 2012-11-09 16:16:45 +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 added .desktop file 2012-08-06 13:32:57 +02:00
lutris.desktop.in heavy refactoring started 2010-09-01 04:40:01 +02:00
README refactored some stuff 2010-08-31 02:44:09 +02:00
setup.py somewhat heavy refactoring 2012-04-30 00:27:12 +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