mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-03-06 14:27:48 +00:00
Move PPSSPP saves/states to correct locations
This commit is contained in:
parent
bec4b18bab
commit
c3a4e752b2
|
@ -1762,9 +1762,14 @@ prepare_emulator() {
|
||||||
cp -fv "$emuconfigs/ppssppsdl/"* /var/config/ppsspp/PSP/SYSTEM/
|
cp -fv "$emuconfigs/ppssppsdl/"* /var/config/ppsspp/PSP/SYSTEM/
|
||||||
set_setting_value "$ppssppconf" "CurrentDirectory" "$roms_folder/psp" "ppsspp" "General"
|
set_setting_value "$ppssppconf" "CurrentDirectory" "$roms_folder/psp" "ppsspp" "General"
|
||||||
fi
|
fi
|
||||||
|
# Shared actions
|
||||||
|
dir_prep "$saves_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/SAVEDATA"
|
||||||
|
dir_prep "$states_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/PPSSPP_STATE"
|
||||||
fi
|
fi
|
||||||
if [[ "$action" == "postmove" ]]; then # Run only post-move commands
|
if [[ "$action" == "postmove" ]]; then # Run only post-move commands
|
||||||
set_setting_value "$ppssppconf" "CurrentDirectory" "$roms_folder/psp" "ppsspp" "General"
|
set_setting_value "$ppssppconf" "CurrentDirectory" "$roms_folder/psp" "ppsspp" "General"
|
||||||
|
dir_prep "$saves_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/SAVEDATA"
|
||||||
|
dir_prep "$states_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/PPSSPP_STATE"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,7 @@ post_update() {
|
||||||
# - Move Duckstation saves and states to new locations
|
# - Move Duckstation saves and states to new locations
|
||||||
# - Clean up legacy tools files (Configurator is now accessible through the main ES-DE menu)
|
# - Clean up legacy tools files (Configurator is now accessible through the main ES-DE menu)
|
||||||
# - Move Dolphin and Primehack save folder names
|
# - Move Dolphin and Primehack save folder names
|
||||||
|
# - Move PPSSPP saves/states to appropriate folders
|
||||||
|
|
||||||
update_rd_conf # Expand retrodeck.cfg to latest template
|
update_rd_conf # Expand retrodeck.cfg to latest template
|
||||||
set_setting_value $rd_conf "screenshots_folder" "$rdhome/screenshots"
|
set_setting_value $rd_conf "screenshots_folder" "$rdhome/screenshots"
|
||||||
|
@ -163,6 +164,9 @@ post_update() {
|
||||||
dir_prep "$saves_folder/gc/primehack/EU" "/var/data/primehack/GC/EUR"
|
dir_prep "$saves_folder/gc/primehack/EU" "/var/data/primehack/GC/EUR"
|
||||||
dir_prep "$saves_folder/gc/primehack/US" "/var/data/primehack/GC/USA"
|
dir_prep "$saves_folder/gc/primehack/US" "/var/data/primehack/GC/USA"
|
||||||
dir_prep "$saves_folder/gc/primehack/JP" "/var/data/primehack/GC/JAP"
|
dir_prep "$saves_folder/gc/primehack/JP" "/var/data/primehack/GC/JAP"
|
||||||
|
|
||||||
|
dir_prep "$saves_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/SAVEDATA"
|
||||||
|
dir_prep "$states_folder/PSP/PPSSPP-SA" "/var/config/ppsspp/PSP/PPSSPP_STATE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The following commands are run every time.
|
# The following commands are run every time.
|
||||||
|
|
Loading…
Reference in a new issue