mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Search $HOME/.local/share/games/doom directory...
...for soundfonts, IWADs and WAD files. This partially matches Chocolate Doom behaviour.
This commit is contained in:
parent
8ac8e31a61
commit
b4fe164192
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,7 @@ FGameConfigFile::FGameConfigFile ()
|
|||
SetValueForKey ("Path", "$PROGDIR", true);
|
||||
#else
|
||||
SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
|
||||
SetValueForKey ("Path", "$HOME/.local/share/games/doom", true);
|
||||
// Arch Linux likes them in /usr/share/doom
|
||||
// Debian likes them in /usr/share/games/doom
|
||||
// I assume other distributions don't do anything radically different
|
||||
|
@ -138,6 +139,7 @@ FGameConfigFile::FGameConfigFile ()
|
|||
SetValueForKey ("Path", "$PROGDIR", true);
|
||||
#else
|
||||
SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
|
||||
SetValueForKey ("Path", "$HOME/.local/share/games/doom", true);
|
||||
SetValueForKey ("Path", SHARE_DIR, true);
|
||||
SetValueForKey ("Path", "/usr/local/share/doom", true);
|
||||
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
|
||||
|
@ -166,6 +168,8 @@ FGameConfigFile::FGameConfigFile ()
|
|||
#else
|
||||
SetValueForKey("Path", "$HOME/" GAME_DIR "/soundfonts", true);
|
||||
SetValueForKey("Path", "$HOME/" GAME_DIR "/fm_banks", true);
|
||||
SetValueForKey("Path", "$HOME/.local/share/games/doom/soundfonts", true);
|
||||
SetValueForKey("Path", "$HOME/.local/share/games/doom/fm_banks", true);
|
||||
SetValueForKey("Path", "/usr/local/share/doom/soundfonts", true);
|
||||
SetValueForKey("Path", "/usr/local/share/doom/fm_banks", true);
|
||||
SetValueForKey("Path", "/usr/local/share/games/doom/soundfonts", true);
|
||||
|
|
Loading…
Reference in a new issue