devmiyax / yabause

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

Can't read Game Library Folder [Android 11 bug] #819

Open samosaphile opened 2 years ago

samosaphile commented 2 years ago

So haven't used this emu in awhile as I never got it to work. But I believe the issue is this: setting the game ROMs folder to anything but Android/data/org.devmiyax.yabasanshioro2.pro/files/yabause/games path will result in the emu not being able to read any content. Seems like a permission problem on modern android versions (11+). Would appreciate if this could be fixed so that we can use any path of our choosing as I prefer not to use this path.

samosaphile commented 2 years ago

Ok, closing this issue. Seems it really was a scoped storage issue and this just how modern android is. I ended up going back to an ancient build of this version (before scoped storage was even introduced in android) and everything worked fine. Then went back to latest version. The time it takes to extract / install your games, is very slow. No wonder I thought it was broken as I probably kept force closing the process before it completely (you really need to wait like 10 min).

Confusing as duck as even tho I've been on android 11 for awhile never saw an issue like this. Apparently, only new installed apps with scoped storage capability force this. If you're updating an existing app from before the scoped storage era. It lets you continue doing old way(?) Could be wrong tho.

devmiyax commented 2 years ago

By analyzing AetherSX2, I found a way to select Folder.