Lemuroid icon indicating copy to clipboard operation
Lemuroid copied to clipboard

Choose saved game directory

Open trymeouteh opened this issue 3 years ago • 11 comments

Please allow us to choose a directory for every console on where the saved games files are stored. I cannot find a directory it saves to which tells me the app does not save the games nor can you import your saved games by copying and pasting a saved game file.

trymeouteh avatar Jan 03 '21 02:01 trymeouteh

Especially important now that syncing subdirectories of Android/data isn't doable with Android 11.

anthonyajumelles avatar Jan 07 '21 23:01 anthonyajumelles

Version 1.9.0 brought save sync via Google Drive. Although technically different, which is a similar, albeit different feature.

The main problem in implementing this is that cores, such as PPSSPP or MelonDS, need full file access to the saves directory (because they write and read files on their own).

In order to be accessible, this directory has to be private, and since it's private it's not seen by external applications (such as Syncthing).

The only solution I can think of would be having an external and an internal saves directory and a background task to keep them in sync, which frankly is a bit dangerous.

Swordfish90 avatar Jan 27 '21 20:01 Swordfish90

@Swordfish90 what prevents Lemuroid from being able to select save file directory in the same way that PPSSPP through RetroArch can? Don't you need to provide file access anyway when selecting a directory to scan for games?

Maybe a compromise could be putting save files in the same directory as the roms themselves.

anthonyajumelles avatar Jan 27 '21 23:01 anthonyajumelles

@anthonyajumelles both PPSSPP and RetroArch require full access to the sdcard, and once you have it you can do as you please. Now from Android 12, applications can no longer do so, but instead, have to use Scoped Storage (long explanation) which basically includes a folder-picker and exposes the file-system of those directories in a DB like fashion.

Lemuroid already uses this new API, but cores can't and that's why we have to copy game files into the cache directory.

Maybe in the future, we might be able to get Scoped Storage to work well with Libretro VFS, but I have doubts this is going to happen soon.

Swordfish90 avatar Jan 28 '21 20:01 Swordfish90

Screenshot_2021-03-07-20-32-07-43 Screenshot_2021-03-07-20-30-57-00

shabbirmahmud avatar Mar 08 '21 10:03 shabbirmahmud

On my Samsung Galaxy, syncthing cannot access android/data/ . It would be convenient to have .sav files stored in a different directory.

sybenx avatar Mar 16 '21 14:03 sybenx

Would like to choose the directory so I can use syncthing to backup my saves

trymeouteh avatar Jan 12 '22 01:01 trymeouteh

Making the Google Drive sync location accessible as a Google Drive folder would help. Currently have to use janky methods on my phone to work around this issue.

sybenx avatar May 14 '22 17:05 sybenx

RetroArch allows us to choose read/write location IIRC. Why can't Lemuroid? Also, at least being able to "read from"/"write to" content directory (as i have already granted access to this location) would already be a lotta help! @Swordfish90 is it possible?

RetroArch allows for Write Saves to Content Directory RetroArch allows for save all save files to specified directory

Geezgus avatar Sep 03 '23 15:09 Geezgus

Seconding this. Accessing your save files is an essential feature of any emulator. Frankly pretty laughable that Lemuroid doesn't have this but the options are pretty bare bones in general. I really like this emulator but I'm definitely not gonna play anything on it if my saves are gonna be held hostage.

ProphetOfDuality avatar Jan 19 '24 23:01 ProphetOfDuality

For what I know Android/data can be reached with file explorer on pc. Still this is annoying. I was trying to find an alternative for pizzaboy emulator and while retroarc interface sucks, and this lemuroid is better on that end, the fact that I need a pc just to transfer my saves is a no for me.

federicorosso1993 avatar Mar 11 '24 10:03 federicorosso1993