devmiyax / yabause

Yabause is a Sega Saturn emulator and took over as Yaba Sanshiro
http://www.uoyabause.org
GNU General Public License v2.0
212 stars 35 forks source link

Arc Browser SAF Proxy #822

Open devmiyax opened 2 years ago

devmiyax commented 2 years ago

Hello.

Sorry my English, I contact you because I'm a Arc Browser user.

Arc Browser works as frontend and due to Android 11 changed some things about how apps can access storage, which breaks the way emulators and frontends used to access roms and talk to each other.

Arc Browser developer made a helper App to deal with this new situation, it's called SAF Proxy , you can check it here, https://arcbrowser.com/safproxy and it's planned to be implemented on new Arc Browser versions.

According to Arc Browser developer what SAF Proxy does is basically it receives a traditional file:// URI from the frontend (as well as some other metadata like which component to start) and then turns that into a proper SAF-compatible content:// URI (complete with permissions and everything). Then it just starts the emulator component and send that URI as data in the intent. So the emulator basically gets started with an intent with the data set to something like this: content://com.android.externalstorage.documents/tree/primary%3Aroms%2FGC/document/primary%3Aroms%2FGC%2FGameOrWhatever.iso"

I wish it would implemented compatibility with this method or you try to contact him to find a way to make it work.

Thanks in advance.

chrisasma103 commented 2 years ago

This may be kinda redundant, but I'd like to second this. I'm new to Arc Browser, and I was at one point able to get every system up and running without issue. Now, with the latest Yaba Sanshiro 2 Pro update, Sega Saturn has stopped working. I love the app, so it would be fantastic if I could get it to work once more with Arc Browser. Again, thank you so much for working on this project. You're doing great work.

eskay993 commented 2 years ago

I would love to see this too. I can't get Yaba to work with any Android frontend on Android 10 or higher. Tried DIG, Launchbox and Arc on Android 10, 11 and 12 on different devices.. As asoon as the frontend launches Yaba, Yaba crashes and closes. Works fine on Android 9 however.

Not sure if SAF Proxy is the fix, but getting Yaba to work with frontends on Android 10+ would be amazing.

This has been reported on the Launchbox forums as well. The devs there are responsive and supportive as well and I'm sure cna help if contacted and needed :)