SCUMMVM_LIBRETRO: fixed some paths and naming

This commit is contained in:
XargonWan 2024-03-07 15:04:12 +01:00
parent 166724eef4
commit debce8f279
2 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ set_setting_value() {
case $4 in
"retrodeck" | "melonds" | "scummvm_libretro" )
"retrodeck" | "melonds" | "libretro_scummvm" )
if [[ -z $current_section_name ]]; then
sed -i 's^\^'"$setting_name_to_change"'=.*^'"$setting_name_to_change"'='"$setting_value_to_change"'^' "$1"
else

View file

@ -88,18 +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"
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"
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" "libretro_scummvm" "scummvm"
set_setting_value "$ra_scummvm_conf" "extrapath" "$mods_folder/RetroArch/ScummVM/extra" "libretro_scummvm" "scummvm"
set_setting_value "$ra_scummvm_conf" "themepath" "$mods_folder/RetroArch/ScummVM/themes" "libretro_scummvm" "scummvm"
set_setting_value "$ra_scummvm_conf" "savepath" "$saves_folder/scummvm" "libretro_scummvm" "scummvm"
set_setting_value "$ra_scummvm_conf" "browser_lastpath" "$roms_folder/scummvm" "libretro_scummvm" "scummvm"
fi
# Shared actions