GZDOOM: path fixing + adding bios folder

This commit is contained in:
XargonWan 2024-03-13 08:55:21 +01:00
parent 76aa88e943
commit e12131a558
2 changed files with 8 additions and 4 deletions

View file

@ -15,19 +15,21 @@ Path=/app/share/games/doom/
[FileSearch.Directories]
Path=$PROGDIR
Path=$DOOMWADDIR
Path=/var/config/gzdoom
Path=RETRODECKROMSDIR/doom
Path=RETRODECKROMSDIR/bios/gzdoom
Path=/app/share/games/doom/
Path=/var/config/gzdoom
# These are the directories to search for soundfonts that let listed in the menu.
# Layout is the same as for IWADSearch.Directories
[SoundfontSearch.Directories]
Path=$PROGDIR/soundfonts
Path=$PROGDIR/fm_banks
Path=/var/data/gzdoom/audio
Path=/var/data/gzdoom
Path=RETRODECKROMSDIR/bios/gzdoom
Path=/app/share/games/doom/soundfonts
Path=/app/share/games/doom/fm_banks
Path=/var/data/gzdoom/audio
Path=/var/data/gzdoom
# Files to automatically execute when running the corresponding game.
# Each file should be on its own line, preceded by Path=

View file

@ -777,7 +777,9 @@ prepare_component() {
log i "----------------------"
create_dir "/var/config/gzdoom"
create_dir "/data/gzdoom/audio/midi"
create_dir "/var/data/gzdoom/audio/midi"
create_dir "$rdhome/bios/gzdoom"
cp -fvr "$emuconfigs/gzdoom/gzdoom.ini" "/var/config/gzdoom"
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON