mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
README update and whitespace fixes
This commit is contained in:
parent
3d03d1a15d
commit
cddc58c46e
24
README.md
24
README.md
|
@ -229,6 +229,10 @@ optional arguments:
|
||||||
Override language for game launch (defaults to system settings)
|
Override language for game launch (defaults to system settings)
|
||||||
--wrapper <wrapper command>
|
--wrapper <wrapper command>
|
||||||
Wrapper command to launch game with
|
Wrapper command to launch game with
|
||||||
|
--wine <wine binary> Override WINE binary being used to launch the game
|
||||||
|
--wine-prefix <wine pfx path>
|
||||||
|
Override WINE prefix used.
|
||||||
|
--no-wine Do not use WINE (e.g. if a wrapper is being used)
|
||||||
|
|
||||||
|
|
||||||
Command: list-games
|
Command: list-games
|
||||||
|
@ -330,6 +334,20 @@ optional arguments:
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
||||||
|
## Environment variables
|
||||||
|
|
||||||
|
Legendary supports overriding certain things via environment variables,
|
||||||
|
it also passes through any environment variables set before it is called.
|
||||||
|
|
||||||
|
Legendary specific environment variables:
|
||||||
|
+ `LGDRY_WINE_BINARY` - specifies wine binary
|
||||||
|
+ `LGDRY_WINE_PREFIX` - specified wine prefix
|
||||||
|
+ `LGDRY_NO_WINE` - disables wine
|
||||||
|
+ `LGDRY_WRAPPER` - specifies wrapper binary/command line
|
||||||
|
|
||||||
|
Note that the priority for settings that occur multiple times is:
|
||||||
|
command line > environment variables > config variables.
|
||||||
|
|
||||||
## Config file
|
## Config file
|
||||||
|
|
||||||
Legendary supports some options as well as game specific configuration in `~/.config/legendary/config.ini`:
|
Legendary supports some options as well as game specific configuration in `~/.config/legendary/config.ini`:
|
||||||
|
@ -368,4 +386,10 @@ language = fr
|
||||||
; environment variables to set for this game (mostly useful on linux)
|
; environment variables to set for this game (mostly useful on linux)
|
||||||
WINEPREFIX = /mnt/tank/games/Game/.wine
|
WINEPREFIX = /mnt/tank/games/Game/.wine
|
||||||
DXVK_CONFIG_FILE = /mnt/tank/games/Game/dxvk.conf
|
DXVK_CONFIG_FILE = /mnt/tank/games/Game/dxvk.conf
|
||||||
|
|
||||||
|
[AppName2]
|
||||||
|
; Use a wrapper to run this script
|
||||||
|
start_params = /path/to/wrapper wrapper --parameters
|
||||||
|
; Do not run this executable with WINE (e.g. when the wrapper handles that)
|
||||||
|
no_wine = true
|
||||||
````
|
````
|
||||||
|
|
|
@ -785,8 +785,6 @@ class LegendaryCore:
|
||||||
|
|
||||||
return new_manifest, igame
|
return new_manifest, igame
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def exit(self):
|
def exit(self):
|
||||||
"""
|
"""
|
||||||
Do cleanup, config saving, and exit.
|
Do cleanup, config saving, and exit.
|
||||||
|
|
Loading…
Reference in a new issue