ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.99k stars 1.05k forks source link

Discord support #1473

Open innosflew opened 6 years ago

innosflew commented 6 years ago

Feature Request

I confirm:

Description

When I play a game with Steam Play in Discord instead of displaying the title of the game on the members list and on my user profile it either says "wine64-preloader" or "wine-preloader" or "proton" or "wineserver". I've tried adding the game manually in the user settings under the game activity tab but I can't see it's process on the drop down menu. I've checked this on both Ubuntu and Manjaro Linux. I'm not sure if this a problem with Steam Play or Discord, but if it's a problem with Steam Play would it be possible to add support for Discord game activity and for Discord Rich Presence?

Entryhazard commented 6 years ago

Also the icons of the games are not shown properly. Kinda related... captura de tela de 2018-09-15 19-14-41

Might depend on distribution and desktop environment, both on Antergos and Manjaro KDE the icons showed properly to me: immagine

alvarlagerlof commented 6 years ago

Here is the same ticket on the discord feedback forum. Please upvote.

https://feedback.discordapp.com/forums/326712-discord-dream-land/suggestions/35263276-integrate-with-steam-s-proton

MuchiMuchiPink commented 6 years ago

Weird, Definitely works for me on Arch + i3.

alvarlagerlof commented 6 years ago

@jvschiavo This has now become two topics in one issue, could you bring your thing about the icons to a new one?

jvschiavo commented 6 years ago

@jvschiavo This has now become two topics in one issue, could you bring your thing about the icons to a new one?

Sure, here it is: #1502

Baguettedood commented 5 years ago

I'll second this. With games beginning to use Discord's Rich Presence as well as their Game SDK, it'd be nice to have these games better supported in Proton.

ptkato commented 5 years ago

Here is the same ticket on the discord feedback forum. Please upvote.

https://feedback.discordapp.com/forums/326712-discord-dream-land/suggestions/35263276-integrate-with-steam-s-proton

Your link just redirects me to https://support.discordapp.com/hc/en-us/community/topics

martinpl commented 5 years ago

If you run Discord after running game, it will detect game.

raiscan commented 5 years ago

Just writing to say this is currently still an issue with Proton + Discord using Ubuntu 19.04; Discord detects Proton 4.x as wine64-preloader.

Jhackler commented 4 years ago

so if game launches fast enough you get actual game if not it says pre-loader unless you reboot discord it looks like if discord could ignore wine preloader and just wait a second longer and check again lol

TogarUshindi commented 4 years ago

Still seems to be an issue today with Ubuntu 19.10. I get different variations: wine64-preloader wine-preloader wineserver proton

A couple others too, but I removed them manually. (Why? I don't know. I know they'll be back.)

h8672 commented 4 years ago

@kisak-valve to me it seems duplicate, though it gave me some ideas. Wonder if you could just build https://github.com/discordapp/discord-rpc and use it as wine-rpc as it's MIT lisenced? Althought deprecated thanks to discords game sdk, maybe it could work still. What if game uses discords game sdk and then you would need sdk.dll instead of rpc.dll? Then rpc-wine could account both situations?

TogarUshindi commented 4 years ago

I'm just wondering where the problem is, and which piece of software is causing it.

0e4ef622 commented 4 years ago

This might be of interest to some people here, I wrote a simple program that should allow Discord Rich Presence to work even on games that use GameSDK.

leandiez commented 3 years ago

This might be of interest to some people here, I wrote a simple program that should allow Discord Rich Presence to work even on games that use GameSDK.

This looks very interesting. Anyone have any idea how can be this implemented in Proton as a script or something like that?

selurvedu commented 3 years ago

@leandiez this fork by @koukuno intalls itself as a service in a Wine prefix, so the bridge is automatically started and stopped when you run something in Wine. It works for me and I'm happy with it. I have not tested it with Proton though, but it should be more or less compatible.

leandiez commented 3 years ago

@selurvedu Thank you, I will take a look. Anyway I found like @MartinPL that if I run Discord after launching the game, the name is showed correctly. That behavior is supposed to be normal?

Maybe running Discord on Wine through Proton or Lutris can be another solution but I think the best (and the reason for this ISSUE) would be trying to implement a native script for Proton.

nfp0 commented 2 years ago

I'm also having this problem. Any update on this? It's been 2 years and this feature has 74 upvotes now.

leandiez commented 2 years ago

This Issue is not even assigned, so I doubt someday will be implemented. Right now the team must be focusing on the Steam Deck build

nfp0 commented 2 years ago

@leandiez This issue probably also affects the Steam Deck.

ThisNekoGuy commented 2 years ago

This issue is also related to not being able to accept Steam game invites from Discord; example:

I'm not exactly sure why this occurs, if the game is owned and playable with Proton, but it's a nuisance having to explain to friends why it doesn't "just work."

jarrard commented 2 years ago

Not sure if proton can resolve this. It seems a script plugin for Discord might be best solution which looks at pid processes and anything that is Game.exe or Game.? whatever and assigns the proper activity.

hideki2k02 commented 1 year ago

This might be of interest to some people here, I wrote a simple program that should allow Discord Rich Presence to work even on games that use GameSDK.

Can confirm 0e4ef622's script still works (Dont forget to chmod +x the .sh file), this should be implemented as a workaround while Discord does not implement this...

RokeJulianLockhart commented 1 year ago

@alvarlagerlof, https://github.com/ValveSoftware/Proton/issues/1473#issuecomment-421658729 links to a dead page:

image

gregorywaynepower commented 1 year ago

If anyone has gone down this path, there's a Proof of Concept that makes Discord compatible with Proton/Wine users. https://github.com/0e4ef622/wine-discord-ipc-bridge