pegasus-frontend icon indicating copy to clipboard operation
pegasus-frontend copied to clipboard

Android Metadata Generator: Dolphin launch issues

Open nicjansma opened this issue 1 year ago • 1 comments

The issue

On the Android Metadata Generator page, if you choose GameCube / Wii (Dolphin), it generates this:

collection: GameCube / Wii
shortname: gc
extensions: ciso, dff, dol, elf, gcm, gcz, iso, m3u, rvz, tgc, wad, wbfs
launch: am start
  -n org.dolphinemu.dolphinemu/.ui.main.MainActivity
  -a android.intent.action.VIEW
  -e AutoStartFile "{file.path}"
  --activity-clear-task
  --activity-clear-top
  --activity-no-history

However, Dolphin's MainActivity doesn't allow .VIEW intents, so the launch fails with ActivityNotFoundException.

Launching without the -a android.intent.action.VIEW component works.

Additionally, the docs list using the .AppLinkActivity, but I couldn't get that to work. I think it needs a dolphin:// scheme for it to match. So I think just the .MainActivity without .VIEW is the way to go.

PS, is there a repository for the metadata generator? I couldn't find one.

System info

Android 13 on a Ayn Odin 2

Pegasus version

Built from latest source and deployed as APK

nicjansma avatar Nov 21 '23 03:11 nicjansma

Sorry for the late reply! The standalone commands on the site are submitted by the community, so it is possible that things get outdated or incorrect. If you know a better launch command, let me know here or on Discord.

mmatyas avatar Dec 05 '23 17:12 mmatyas