GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Verified Commit 0df45a59 authored by digitalLumberjack's avatar digitalLumberjack
Browse files

feat(ppsspp): migration of ppsspp saves in new directory in share/save

- related to #1773
parent 79cbbda6
......@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- Fix controler #2 in swanstation (#1730)
- Bump mupen64plus Glide64MK2 (#1766)
- Fix dreamcast overlay offset rpi3 (#1695)
- Migrate PPSSPP saves to new directory (#1773)
## [7.2.2-Beta3]
- Fix mupen64plus resolution (standalone)
......
......@@ -12,7 +12,7 @@ as release notes for end user on a Recalbox upgrade.
- Make mupen64plus + RICE working on RPi4
- Fix ratio issues in Dolphin & Supermodel3
- Switch PUAE to A600 instead of A500PLUS for amiga600 system
- Fix PSP save path (share/saves/PSP)
- PSP (ppsspp) saves are now in (share/saves/PSP)
- Fix controler #2 configuration in swanstation
- Fix sound issue on boot video
- Audio is working on Sound Open Firmware audio adapters
......
......@@ -15,6 +15,7 @@ Pour les pending features, elles ne seront activées que si les beta testeurs le
- [X] While ES is stopped, create a file in /tmp/upgradefailed and check if the error message is displayed when starting ES
## [7.2.2]
- [X] Test ppsspp saves are copied in share on upgrade (#1773)
- [ ] Test standalone mupen64plus on rpi and odroidxu4 boards (#1712)
- [ ] Test libretro-parallel-n64 with default conf on rpi and odroidxu4 boards (#1712)
- [ ] Test mupen64plus rice with default conf on odroidgo2 and odroidxu4 boards (#1712)
......
......@@ -103,3 +103,15 @@ done
mount -o remount,ro /
### Migration 6 [20210617165703]
### Copy all psp saves to the new directory : see https://gitlab.com/recalbox/recalbox/-/issues/1773
PSPSAVEDIR="/recalbox/share/saves/psp/ppsspp/PSP/"
mkdir -p "${PSPSAVEDIR}"
for SAVE_DIR in "SAVEDATA" "PPSSPP_STATE"; do
if [ ! -z "$(ls -A /recalbox/share/system/configs/ppsspp/PSP/${SAVE_DIR}/)" ]; then
recallog "MIGRATION of PPSSPP saves from /recalbox/share/system/configs/ppsspp/PSP/${SAVE_DIR}/ to /recalbox/share/saves/psp/ppsspp/PSP/"
cp -r "/recalbox/share/system/configs/ppsspp/PSP/${SAVE_DIR}/" "${PSPSAVEDIR}" && \
rm -rf "/recalbox/share/system/configs/ppsspp/PSP/${SAVE_DIR}/"
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment