kra-mo / cartridges

A GTK4 + Libadwaita game launcher
GNU General Public License v3.0
652 stars 35 forks source link

Ryujinx/ emulators support #37

Open radical4ever opened 1 year ago

radical4ever commented 1 year ago

Is your feature request related to a problem? Please describe. No, not at all its just a request, or more likely a question

Describe the solution you'd like i want to play my ryujinx games directly trough here whitouth going in the app to open the game gile

Additional context probably this could be applied to other emulators as well, but i leave this to you if there's a way to make this happen, btw this app is so cool, i never though having my games spread out of all my pc and having them on 1 app to instantly launch them makes the experience more comfortable, keep going with this proyect!

v3ceban commented 1 year ago

You can launch almost anything that opens from the Terminal in the Cartridges app.

Here's how I added Ryujinx games to my library:

  1. Click on add game button in the top left corner or press Ctrl+N
  2. Enter the command to open a game in Ryujinx. If you installed it with a flatpack it's gonna be something like this: flatpak run org.ryujinx.Ryujinx "path/to/your/game.nsp"
  3. Add a title, developer, and box cover art, to make it look good
  4. To make it smoother, set "Start Games in Fullscreen Mode" option in Ryujinx

It works the same with Wine/Proton games. You'll just need to replace the first part with the location of your wine script. I assume you can also do it with Yuzu, Retroarch, PPSSPP, and other emulators as well.

Hope this helps

radical4ever commented 1 year ago

Hi!, thanks for aswering im trying this asap i get home

radical4ever commented 1 year ago

You can launch almost anything that opens from the Terminal in the Cartridges app.

Here's how I added Ryujinx games to my library:

  1. Click on add game button in the top left corner or press Ctrl+N
  2. Enter the command to open a game in Ryujinx. If you installed it with a flatpack it's gonna be something like this: flatpak run org.ryujinx.Ryujinx "path/to/your/game.nsp"
  3. Add a title, developer, and box cover art, to make it look good
  4. To make it smoother, set "Start Games in Fullscreen Mode" option in Ryujinx

It works the same with Wine/Proton games. You'll just need to replace the first part with the location of your wine script. I assume you can also do it with Yuzu, Retroarch, PPSSPP, and other emulators as well.

Hope this helps

This worked like a charm. Thank you so much!!

GeoffreyCoulaud commented 1 year ago

I've got some free time, I'll look into adding to Cartridges the sources that I already supported on Gali, which means:

The case of Retroarch is quite different, since so many variants are available and I don't know if it supports a custom URL scheme to start games. If it doesn't, there are many variants to support.

RilicTheFox commented 1 year ago

I've made a really basic Retroarch importer on my own fork here: https://github.com/RilicTheFox/cartridges I did this as a way for me to practice some Python after a while, so it probably has some issues! I'm also new to developing for Flatpak and GTK apps in general. I know that the preferences page doesn't show the path yet, so I may need some help on that. Let me know if this is any good, or if it needs improvements!

kra-mo commented 1 year ago

@GeoffreyCoulaud

GeoffreyCoulaud commented 1 year ago

@RilicTheFox you can open a draft PR and I'll guide you through the changes that may be necessary to get it merged :)