EmuDeck
EmuDeck copied to clipboard
[Bug Report] Migration does not work to custom directory
Prerequisite Steps
- [X] I have searched existing issues
- [X] This issue is not a duplicate of an existing one
- [X] I have checked the EmuDeck Wiki
- [X] I have read the Troubleshooting Page on the EmuDeck Wiki
What distro are you running?
ChimeraOS
Which SteamOS Branch are you using?
Stable
What happened?
It took way too quick and now "says Migrated to Valid/Emulation"
I picked the new drive under /run and it's saying "Custom Directory > Valid" as the selection. Now my install is all screwed up and it's in this "Valid" spot.
[gamer@chimeraos EmuDeck]$ ls -la ~/Valid
total 0
drwxr-xr-x 1 gamer gamer 82 Feb 25 14:59 .
drwxr-xr-x 1 gamer gamer 2126 Feb 25 15:04 ..
drwxr-xr-x 1 gamer gamer 636 Feb 23 16:57 bios
drwxr-xr-x 1 gamer gamer 32 Feb 25 14:59 Emulation
drwxr-xr-x 1 gamer gamer 80 Feb 23 16:23 hdpacks
drwxr-xr-x 1 gamer gamer 2476 Feb 23 16:03 roms
drwx------ 1 gamer gamer 0 Feb 25 14:55 saves
drwx------ 1 gamer gamer 0 Feb 25 14:55 storage
drwx------ 1 gamer gamer 0 Feb 25 14:55 tools
Drive:
/dev/nvme1n1 3.6T 2.1M 3.4T 1% /run/media/gamer/data-1
To try and get around this, moving the folders manually and finding in the deployed config where "Valid" is, and swap it to the new dir.
Relevant log output
No response
As a temporary fix, I did:
Migration_init(){
destination=$1
echo "Destination is $destination"
emulationPath="/home/gamer/Valid"
#File Size on target
neededSpace=$(du -s "$emulationPath" | awk '{print $1}')
neededSpaceInHuman=$(du -sh "$emulationPath" | awk '{print $1}')
Then:
source ~/.config/EmuDeck/backend/functions/all.sh
Migration_init /run/media/gamer/data-1
Destination is /run/media/gamer/data-1
Old value emulationPath=Valid/Emulation/
[...]
That didn't fully work though, sot once I rsync'd my stuff, I did a reinstall (full, uninstalled EmuDeck, then opened the app image), and when I did select my new drive, it came up fine.