devmiyax / yabause

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

File path/access error through frontend in Android 11+ #983

Open Slim08 opened 1 year ago

Slim08 commented 1 year ago

Access through Daijisho frontend results in error. Reportedly earlier Android versions up to Android 10 don't have this issue after changing {file.path} to {file.uri}.

Android 12 Yaba Sanshiro 2 v1.12.1-PRO Daijisho frontend v1.4.62 Rom storage location: external SD card

Frontend argument:

-n org.devmiyax.yabasanshioro2.pro/org.uoyabause.android.Yabause
 -a android.intent.action.VIEW
 -e org.uoyabause.android.FileNameEx {file.uri}                   ### changed from {file.path} originally
  --activity-clear-task
  --activity-clear-top
  --activity-no-history

Screenshot_1_Yaba Sanshiro 2 Pro Screenshot_2_Yaba Sanshiro 2 Pro Screenshot_3_Yaba Sanshiro 2 Pro

DjFIL007 commented 1 year ago

Confirming same issue.

Anbernic RG405M (Unisoc T618) Gamma OS (LineageOS 19-20230611-UNOFFICIAL-arm_bgN / Android Version 12) Daijisho Launcher (1.4.63 - 395) Yaba Sanshiro 2 Pro (1.12.3-PRO) ROM directory Internal Storage

Thanks for any attention to this issue.

SSevenTwo commented 1 year ago

Same issue on Samsung S22 Ultra Android 13 on Yaba Sanshiro 2 Pro 1.13.0-PRO. Daijisho 1.4.67. Roms are on internal storage.

Everything works fine when using the app directly.

jnanam commented 10 months ago

I have the issue where Yaba Sanshiro 2 exits with no error message. I am using a Ugoos AM8 so it is based on Android 11, and it has scoped storage.