mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
SCUMMVM: adding assets (ScummVM.zip)
This commit is contained in:
parent
be12d0c4f4
commit
af801753cb
BIN
emu-configs/retroarch/ScummVM.zip
Normal file
BIN
emu-configs/retroarch/ScummVM.zip
Normal file
Binary file not shown.
|
@ -315,6 +315,12 @@ post_update() {
|
|||
mv -r "/var/data/mame/assets/samples/"* "$bios_folder/mame-sa/samples"
|
||||
set_setting_value "$mameconf" "samplepath" "$bios_folder/mame-sa/samples" "mame"
|
||||
|
||||
log i "Installing the missing ScummVM assets and renaming \"$mods_folder/RetroArch/ScummVM/themes\" into \"theme\""
|
||||
mv -f "$mods_folder/RetroArch/ScummVM/themes" "$mods_folder/RetroArch/ScummVM/theme"
|
||||
unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM"
|
||||
unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM"
|
||||
set_setting_value "$ra_scummvm_conf" "themepath" "$mods_folder/RetroArch/ScummVM/theme" "libretro_scummvm" "scummvm"
|
||||
|
||||
log d "Verifying with user if they want to reset Ryujinx"
|
||||
if [[ "$(configurator_generic_question_dialog "RetroDECK 0.8.1b Ryujinx Reset" "In RetroDECK 0.8.0b the Ryujinx emulator was not properly initialized for upgrading users.\nThis would cause Ryujinx to not work properly.\n\nWould you like to reset Ryujinx to default RetroDECK settings now?\n\nIf you have made your own changes to the Ryujinx config, you can decline this reset.")" == "true" ]]; then
|
||||
log d "User agreed to Ryujinx reset"
|
||||
|
|
|
@ -108,11 +108,11 @@ prepare_component() {
|
|||
# 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"
|
||||
unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM"
|
||||
unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM"
|
||||
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" "themepath" "$mods_folder/RetroArch/ScummVM/theme" "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
|
||||
|
|
Loading…
Reference in a new issue