Android 2.7.0 Beta

Subforum for discussion and help with ScummVM's Android port

Moderator: ScummVM Team

Vardion
Posts: 3
Joined: Thu Nov 05, 2020 12:01 pm

Re: Android 2.7.0 Beta

Post by Vardion »

Praetorian wrote: Sun Mar 05, 2023 5:27 pm So we *have* to use SAF for file access (...).
I understand that SAF is slow, especially when a lot of files are involved. It might be a suitable workaround to offer an option to copy the needed files into ScummVM's own directory (using SAF) and then use regular file access on the copied files. VCMI does this.
This breaks sharing of game files with other apps, but apart from some retro system emulators (Amiga etc.) there probably aren't any other apps needing the game files, so hey can be deleted after importing to ScummVM.
nozomi
Posts: 42
Joined: Tue Nov 01, 2005 9:28 pm

Re: Android 2.7.0 Beta

Post by nozomi »

Tested the 2.7.0 beta release 2 and found it does not work on Android 4.3, where the previous release of ScummVM 2.6.1 did work.

Any chance of a release for older versions of Andoid? Looking at this thread, it seem to be a lot about file access and permissions for newer versions of Android, I'd be saddened to see that cause an end of support for older versions.

Also...with the changes to the Broken Sword detection, did the required data files also change? I previously only copied the required files off the CD's but now it's not detected at all. I assume if I recopied all the files from the CD's it will work, but just wanted to know if there was indeed a change to the required files needed.
User avatar
Praetorian
ScummVM Developer
Posts: 649
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Android 2.7.0 Beta

Post by Praetorian »

nozomi wrote: Wed Mar 08, 2023 4:19 pm Tested the 2.7.0 beta release 2 and found it does not work on Android 4.3, where the previous release of ScummVM 2.6.1 did work.

Any chance of a release for older versions of Andoid? Looking at this thread, it seem to be a lot about file access and permissions for newer versions of Android, I'd be saddened to see that cause an end of support for older versions.
Edit: Sorry my bad, I thought wrong. We indeed raised the minimum SDK requirement to 19 (Android 4.4). As of yet I am not sure if this change was mandated by the Play Store or the updated version of NDK we're using...
nozomi wrote: Wed Mar 08, 2023 4:19 pm Also...with the changes to the Broken Sword detection, did the required data files also change? I previously only copied the required files off the CD's but now it's not detected at all. I assume if I recopied all the files from the CD's it will work, but just wanted to know if there was indeed a change to the required files needed.
According to our wiki update here:
https://wiki.scummvm.org/index.php?titl ... data_files
the folder structure from the CDs has to be maintained now, and not flattened, ie. not all files in one directory, but maintain the folders and subfolders as on the CDs.
There are a few more notes on that wiki page; hopefully they will help.
User avatar
Praetorian
ScummVM Developer
Posts: 649
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Android 2.7.0 Beta

Post by Praetorian »

nozomi wrote: Wed Mar 08, 2023 4:19 pm Tested the 2.7.0 beta release 2 and found it does not work on Android 4.3, where the previous release of ScummVM 2.6.1 did work.

Any chance of a release for older versions of Andoid? Looking at this thread, it seem to be a lot about file access and permissions for newer versions of Android, I'd be saddened to see that cause an end of support for older versions.
The new beta, uploaded yesterday and labeled 2.7.0.2 (beta 3), should restore support for Android 4.3 (actually it restores support all the way back to 4.1 but I have few ways to actually test there are no issues on these older devices).

Please, could you test and verify that it works for you?
mike_vectra_a
Posts: 2
Joined: Thu Dec 28, 2017 4:44 am

Re: Android 2.7.0 Beta

Post by mike_vectra_a »

Hello,

I have updated to 2.7.0.2 on my Fire HD8 from 2015 (Android 5.1) and now I became on every game: Error running game: Path not a directory.
When I want to Add the game again, I cant choice <Add a new Folder>, because these option isnt here.
So I cant play or add any game. Is there a workaround for this problem?

On 2.7.0.1 everything works fine.

Thank you very much.
User avatar
Praetorian
ScummVM Developer
Posts: 649
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Android 2.7.0 Beta

Post by Praetorian »

mike_vectra_a wrote: Sun Mar 12, 2023 11:13 am Hello,

I have updated to 2.7.0.2 on my Fire HD8 from 2015 (Android 5.1) and now I became on every game: Error running game: Path not a directory.
When I want to Add the game again, I cant choice <Add a new Folder>, because these option isnt here.
So I cant play or add any game. Is there a workaround for this problem?

On 2.7.0.1 everything works fine.

Thank you very much.
Hello, in this new beta we removed the SAF feature from some early Android OS versions (before Android 7.0 Nougat), because they lack support for some SAF functionality and in addition SAF is really slow in some cases, so if your device can do without it, it is preferrable to do away with it.

So on Android 5.1, you should be able to allow access to external storage (ScummVM would ask you on first launch) and then use the old way to point to your games. Sorry about the inconvenience, but the change is for the better (performance and feature-support-wise).
nozomi
Posts: 42
Joined: Tue Nov 01, 2005 9:28 pm

Re: Android 2.7.0 Beta

Post by nozomi »

I tested the new release on an Android 4.3 device and it now works great. Thank you.
Post Reply