mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
SCUMMVM_LIBRETRO: added missing folders and config
This commit is contained in:
parent
b862374617
commit
c815e38acf
30
emu-configs/retroarch/scummvm.ini
Normal file
30
emu-configs/retroarch/scummvm.ini
Normal file
|
@ -0,0 +1,30 @@
|
|||
[scummvm]
|
||||
libretro_hooks_clear=false
|
||||
iconspath=
|
||||
mute=false
|
||||
speech_volume=192
|
||||
native_mt32=false
|
||||
mt32_device=null
|
||||
libretro_playlist_version=0
|
||||
savepath=
|
||||
confirm_exit=false
|
||||
gui_use_game_language=false
|
||||
extrapath=
|
||||
gui_scale=100
|
||||
gui_return_to_launcher_at_exit=false
|
||||
gui_disable_fixed_font_scaling=false
|
||||
fullscreen=true
|
||||
gui_browser_show_hidden=false
|
||||
browser_lastpath=
|
||||
libretro_playlist_path=/var/config/retroarch/playlists
|
||||
themepath=
|
||||
sfx_volume=192
|
||||
music_volume=192
|
||||
autosave_period=300
|
||||
gm_device=auto
|
||||
music_driver=auto
|
||||
opl_driver=auto
|
||||
speech_mute=false
|
||||
gui_language=en
|
||||
libretro_hooks_location=0
|
||||
|
|
@ -68,6 +68,7 @@ es_settings="/var/config/ES-DE/settings/es_settings.xml"
|
|||
|
||||
raconf="/var/config/retroarch/retroarch.cfg"
|
||||
ra_core_conf="/var/config/retroarch/retroarch-core-options.cfg"
|
||||
ra_scummvm_conf="/var/config/retroarch/system/scummvm.ini"
|
||||
|
||||
# CEMU config files
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ set_setting_value() {
|
|||
|
||||
case $4 in
|
||||
|
||||
"retrodeck" | "melonds" )
|
||||
"retrodeck" | "melonds" | "scummvm_libretro" )
|
||||
if [[ -z $current_section_name ]]; then
|
||||
sed -i 's^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1"
|
||||
else
|
||||
|
|
|
@ -88,6 +88,18 @@ prepare_component() {
|
|||
set_setting_value "$raconf" "savestate_directory" "$states_folder" "retroarch"
|
||||
set_setting_value "$raconf" "screenshot_directory" "$screenshots_folder" "retroarch"
|
||||
set_setting_value "$raconf" "log_dir" "$logs_folder" "retroarch"
|
||||
set_setting_value "$raconf" "rgui_browser_directory" $roms_folder "retroarch"
|
||||
|
||||
# Specific Settings for ScummVM core
|
||||
cp -fv "$emuconfigs/retroarch/scummvm.ini" "$ra_scummvm_conf"
|
||||
create_dir $mods_folder/RetroArch/ScummVM/icons
|
||||
create_dir $mods_folder/RetroArch/ScummVM/extra
|
||||
create_dir $mods_folder/RetroArch/ScummVM/themes
|
||||
set_setting_value "$ra_scummvm_conf" "iconspath" "$mods_folder/RetroArch/ScummVM/icons" "scummvm_libretro" "scummvm"
|
||||
set_setting_value "$ra_scummvm_conf" "extrapath" "$mods_folder/RetroArch/ScummVM/extra" "scummvm_libretro" "scummvm"
|
||||
set_setting_value "$ra_scummvm_conf" "themepath" "$mods_folder/RetroArch/ScummVM/themes" "scummvm_libretro" "scummvm"
|
||||
set_setting_value "$ra_scummvm_conf" "savepath" "$saves_folder/scummvm" "scummvm_libretro" "scummvm"
|
||||
set_setting_value "$ra_scummvm_conf" "browser_lastpath" "$roms_folder/scummvm" "scummvm_libretro" "scummvm"
|
||||
fi
|
||||
# Shared actions
|
||||
|
||||
|
|
Loading…
Reference in a new issue