Android Q and big changes to storing games

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7338
    adminadmin
    Keymaster

    Hi people,

    **this change will be present in android 10 (Q), however is disabled by default. Since android 11 will be reality and we must adopt to this time**

    I like to write this topic, because google brings very critical change to storage management. Applications will lost access to files located on internal storage. The only visible folder will be “Downloads”, we must move folder with games here. Google calls it “Scoped directory” and it’s not all.

    In Scoped directory are blocked all standard (and very fast) file operations which dosbox uses, instead, google provides own – a very slow solution. This solution now works for games located on sdcard, so you can compare performance of both locations. Just now it affects all modify operations like write file, delete file, move or rename file. Reading was not affected, just now I don’t know in which stage is reading on q, will update this post if I will have more information.

    Performance degradation is drastically reduced, loading times are increased and vary per game. For example, Realms of Arkania 3 starts 50 seconds instead 33 seconds (without skipping intros). Saving games is longer, if game needs perform file write/delete/move/rename then whole emulator feels it.

    Google offers “Private folder” like a solution, this folder is not restricted (yet). Unfortunately, its whole content is deleted during application uninstallation/reinstallation. It means, data must be somehow backuped over time if we wont lost game progress.

    Read :
    Scoped Directory docs

    Android Q Storage Access Framework Scoped Storage on Xda

    #7342
    Al exAl ex
    Keymaster

    Google heading down the Apple road…

    One obvious solution of course: NEVER uninstall Magic Dosbox again.😇 But why on earth do they have to plague is with this bs? 😤

    #7759
    Islander
    Participant

    Can Magic DOSBox sync the files with Dropbox?

    #7802
    adminadmin
    Keymaster

    No, but syncing can be done with external apps

    #7803
    Al exAl ex
    Keymaster

    Check out Automate, or Tasker. Both can do pretty much anything.

    #8386
    mikelit
    Participant

    So the only solution for now is to stay on Android 10?
    No good solution for Android 11 yet?

    Will rooting the device help to solve this problem?

    #8387
    adminadmin
    Keymaster

    Just now google moved this stupidity to next year (android 12). Seems, google is still not clear what to do. In january should be introduced new permissions and we will see. In worst case we must copy our games to private application folder and games will work like before. However will be deleted by system if application will be uninstalled. This is worst case.

    #8388
    mikelit
    Participant

    Thanks for prompt response.
    Do you know if there will be an access to this private folder via other apps? To sync with cloud for example?
    I am using MetaCtrl’s AutoSync to get a great cross-device experience with your great MagicDosBox

    #8390
    adminadmin
    Keymaster

    From what i tried, private folder will not be accessible, for none 3rd party app. Every app must create own way how to get data there and out. At least it was this way when i was debugging it

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.