Retroarch: Enable Discord's Rich Presence in RetroArch

Created on 17 Nov 2017  路  12Comments  路  Source: libretro/RetroArch

Description

Well, yesterday Discord messenger launched its brand new Rich Presence API which allows users to send more detailed data about what they're playing (instead of the very simple MSN-like "Playing [game name]" used before) plus some naughty things like embedded/connected netplay, spectate and other data transmissions.

image

The game would be detected in a way like how retroachivements detect what game is running and set up its proper achivements.

More about Rich Presence

The full features possible with rich presence API are described here and here (thanks @RobLoach for the link).

EDIT: Here is a more detailed documentation, for developers. And a guide for users/players is here.

It would be awesome if retroarch could have support of this! Thanks in advance

enhancement prs welcome

Most helpful comment

Rich Presence also allows you to host, join and spectate matches for games that have the integration. If someone were to implement this into Retroarch, it would be pretty revolutionary.

All 12 comments

I agree, this could be something that is very nice to have. If you were to add it, 1 could be the icon of RetroArch. 2 could be the icon of the emulator you are using (or you could swap 1 and 2). 3 could display the name of the ROM you are using. And 5, 6, 7, 8 and 9 could display Netplay stats. I don't know how this could be worked into RetroArch and it's just and idea for something that could be cool.

Rich Presence also allows you to host, join and spectate matches for games that have the integration. If someone were to implement this into Retroarch, it would be pretty revolutionary.

Has this been worked on?

Good question! Discord itself added support for some games (and non-games software like Spotify); and the ones still without (like Minecraft) already have some mod to add RP too.

@fr500 Think we could have it as HAVE_DISCORD, and bring in the dependencies during the build process? We should avoid having it on Buildbot, at least until its proven. Could even run it on a fork WIP.

It looks like Dolphin has an active pull request for this feature: https://github.com/dolphin-emu/dolphin/pull/6983

Dolphin recently had Rich Presence support officially merged.
https://dolphin-emu.org/download/dev/2cfdf89898c4689884fbffb1c693ec24a7083f66/?nocr=true

Is this still being worked on or nah?

We need somebody pushing it forward.

Was that the final piece needed, or is there a bit more needed?

Closing this since it has been merged already

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blackman91 picture blackman91  路  3Comments

orbea picture orbea  路  3Comments

meepingsnesroms picture meepingsnesroms  路  4Comments

ghost picture ghost  路  3Comments

wrldwzrd89 picture wrldwzrd89  路  3Comments