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

Add android games / Joiplay games

Open AlanDunaway opened this issue 7 months ago • 5 comments

Hey. So, I tried Pegasus android earlier today and it seems to add all installed apps to its list. Will there be a way to manually add android games? I have some games made specifically for android.

Also, is it possible to add Joiplay games to Pegasus like a normal emulator?

AlanDunaway avatar Apr 04 '25 19:04 AlanDunaway

Hi! You can manually add Android games through metadata files, similarly to other platforms. The details are documented here: https://pegasus-frontend.org/docs/user-guide/platform-android/

I'm not familiar with Joiplay, but if the games have files ,and the app opens those files, then it should be possible, yes.

mmatyas avatar Apr 05 '25 15:04 mmatyas

Hi! You can manually add Android games through metadata files, similarly to other platforms. The details are documented here: https://pegasus-frontend.org/docs/user-guide/platform-android/

Any way to remove the apps in Pegasus and only add the android games via this procedure you mentioned? Or simply remove non-game apps by deleting them manually from Pegasus?

I'm not familiar with Joiplay, but if the games have files ,and the app opens those files, then it should be possible, yes.

Well, it runs RPG Maker and Tyranobuilder games, but it uses the Windows exe those engines export. If there is a way to add them to Pegasus and open them with Joiplay, it would be nice.

Anyway, thanks for the reply and the link.

AlanDunaway avatar Apr 05 '25 22:04 AlanDunaway

Any way to remove the apps in Pegasus and only add the android games via this procedure you mentioned? Or simply remove non-game apps by deleting them manually from Pegasus?

You can simply turn off the Android source under Settings -> Enable/disable data sources, then it will use only your metadata file.

Well, it runs RPG Maker and Tyranobuilder games, but it uses the Windows exe those engines export. If there is a way to add them to Pegasus and open them with Joiplay, it would be nice.

If the app supports file opening, or some form of external launching, then yeah, sounds possible. How this works depends on the app, Pegasus will merely call the app with the provided parameters. The documentation lists the most common scenarios for app launching.

mmatyas avatar Apr 06 '25 08:04 mmatyas

The problem with the docs is that it only has examples for emulation, which I think would work for Joiplay, but not for a normal android game.

AlanDunaway avatar Apr 06 '25 17:04 AlanDunaway

I think this should work for a regular game:

am start --user 0 -n com.package.name/com.package.name.ActivityName

I agree, this could be added to the documentation. As for Joiplay, try the "Open a file with a specific app" section. Note that what apps support depend on the app itself.

mmatyas avatar Apr 12 '25 17:04 mmatyas