#14270 closed defect (fixed)

ANDROID: SAF "Unable to Access the globally set save path!" at startup

Reported by: LukasThyWalls Owned by: antoniou79
Priority: normal Component: Port: Android
Version: Keywords: SAF, Android, Saves, SDCard, Cloud, Sync
Cc: Game:




Using the Android version 2.7.0 BETA from Google Play.

Using Android 10 (MIUI 12) Xiaomi Mi 9 Lite.

I have set in the SDcard like "<SDcard>/Juegos/ScummVM/" with three subfolders: "Juegos" (Games), "Saves" and "Xtra".


Using as explained the new SAF feature, i selected that "<SDcard>/Juegos/ScummVM/" to be accessed by ScummVM, and selected the Xtra folder, and most important the Save folder, and added two games as usual.

Everything worked, i can save and load files stored in "<SDcard>/Juegos/ScummVM/Saves", is using assets from the Xtra folder, and the games can be played.


However, every time i start up ScummVM again it shows a message: "Save Path Error: Unable to access the globally set save path! Please revert to default from ScummVM Options" (Screenshot attached).

In Paths, the Save path is changed to default internal path ("/data/user/0/org.scummvm.scummvm/files/saves"). Obviously, the games don't found my saves that are in the SDcard save path.

But i can change the save path again to the SDcard one at any moment and it works again normally (my saves are shown in the games, and i can save and load from there). But in the next restart is put to the default again.


Also, i noticed the Cloud saves fail to synchronise with the SDcard save path (it shows a message), but i can't be properly tested because everytime i restart ScummVM it defaults the Save path to the default internal path and the sync doesn't fail using that.
To be noted, i can save and load from games, so access to the path at those moment is possible from ScummVM.

Attachments (1)

ScummVM270BetaAndroid_UnableToAccessSAF.jpg (438.7 KB ) - added by LukasThyWalls 15 months ago.

Download all attachments as: .zip

Change History (3)

comment:1 by antoniou79, 15 months ago

We've pushed a fix for this on the development builds (2.8git) and backported to the 2.7 branch, so next beta build (or official 2.7.x release build) will get it.

The Cloud synchronization is indeed related, but I am not sure if it's 100% resolved by it. It seems there's something else that may also interfere with proper synchronization, save file deletion in particular. We're aware of that and will be working on a fix in the following days.

comment:2 by LukasThyWalls, 15 months ago

Owner: set to antoniou79
Resolution: fixed
Status: newclosed

I tested the ScummVM stable Future 2.7.x a2e41825 Android (ARM 64 bits) from BuildBot (with your fix) and everything seems to work fine now. Including the Cloud saves.

So, i marked this as fixed and i hope the 2.7 BETA from Play Store is updated soon.

Note: See TracTickets for help on using tickets.