mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
MAME (SA): enhanced configs
This commit is contained in:
parent
b7959fbe75
commit
866f388e49
|
@ -8,10 +8,10 @@ writeconfig 0
|
|||
# CORE SEARCH PATH OPTIONS
|
||||
#
|
||||
homepath /var/config/mame
|
||||
rompath /home/deck/retrodeck/roms/arcade
|
||||
rompath RETRODECKROMSDIR
|
||||
hashpath /app/share/mame/hash
|
||||
samplepath /app/share/mame/samples
|
||||
artpath $HOME/retrodeck/downloaded_media/arcade/screenshots/
|
||||
artpath RETRODECKHOMEDIR/downloaded_media/arcade/screenshots/
|
||||
ctrlrpath /app/share/mame/ctrlr
|
||||
inipath /var/config/mame
|
||||
fontpath /app/bin/
|
||||
|
|
|
@ -9,7 +9,7 @@ pcbs_directory pcb
|
|||
flyers_directory flyers
|
||||
titles_directory titles
|
||||
ends_directory ends
|
||||
marquees_directory marquees;$HOME/retrodeck/downloaded_media/arcade/marquees
|
||||
marquees_directory marquees;RETRODECKHOMEDIR/downloaded_media/arcade/marquees
|
||||
artwork_preview_directory "artwork preview;artpreview"
|
||||
bosses_directory bosses
|
||||
logos_directory logo
|
||||
|
@ -19,7 +19,7 @@ gameover_directory gameover
|
|||
howto_directory howto
|
||||
select_directory select
|
||||
icons_directory icons
|
||||
covers_directory covers;$HOME/retrodeck/downloaded_media/arcade/covers
|
||||
covers_directory covers;RETRODECKHOMEDIR/downloaded_media/arcade/covers
|
||||
ui_path ui
|
||||
|
||||
#
|
||||
|
|
|
@ -709,6 +709,8 @@ prepare_emulator() {
|
|||
|
||||
mkdir -p "/var/config/mame"
|
||||
cp -fvr "$emuconfigs/mame/**" "/var/config/mame"
|
||||
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/*.ini"
|
||||
sed -i 's#RETRODECKHOMESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue