#[1.0.2] Discord Rich Presence broken on Linux

44 messages · Page 1 of 1 (latest)

foggy hinge
#

It displays like this...
EndeavourOS, kernel 6.19.10.

Tried looking for it on the registered games section on Discord and this was the only (and automatic) option

lofty wigeonBOT
#

Thank you for reporting this bug! Our team will review your report soon.
Feel free to add more details in follow-up messages — we're also scanning for duplicate reports automatically now.
📨 There are currently 22 reports awaiting team review. Due to the high volume, it may take a little longer for us to get to yours.

📋 Log files help us investigate issues. You can find yours here:
Linux: ~/.config/unity3d/tobspr Games/shapez 2/Player.log

💾 Savegame files (.spz2) are very helpful if relevant to the issue!
Export via Main Menu → Play → click the download icon on the relevant savegame.
You can also find them here:
Linux: $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/

#
✅ No Duplicates Found

I was not able to find any duplicates. Either this is a new bug or there might be more info required. Mods can run /check-duplicates at any time to find out more.

edgy vortex
#

As far as I know, there is no Rich Presence / game status support for any platform. This is just what Discord does for all Linux games

#

E.g. here's an example of autodetected osu! with Rich Presence turned off:

foggy hinge
edgy vortex
#

This is also auto-detection, but on Windows. Discord can provide more information for Steam games on Windows via IGDB, but how they do it is unknown to me (this type is was exclusive to Steam games)

#

Discord is also in the middle of a big change regarding handling of game detection and social features. There are now game profiles, so expect things to break on both Windows and Linux 🙃

foggy hinge
#

And for other Linux native games with no rich presence, it shows up with a minimal implementation for me, see Factorio for instance

#

And for games running via proton with no rich presence at all (like VRChat) it also shows a minimal implementation like that

edgy vortex
# foggy hinge And for other Linux native games with no rich presence, it shows up with a minim...

I suspect these are based on crowdsourced information on both Windows and Linux. Factorio is a popular game so they likely know the binary name. It's also factorio instead of something more complicated like shapez 2.x86_64 - easier to detect in a platform-agnostic way. For Proton I'm pretty sure they just use the .exe name (I guess Proton sets it as argv[0] or thread name IIRC, it is visible in htop at least)

#

I think I've seen shapez (1) autodetected correctly on Linux, but it's really hit or miss

foggy hinge
edgy vortex
foggy hinge
#

at least the official steam version, when I package and run the CE it doesn't get detected

sly imp
#

i made a mod that adds rich presence
but it needs some manual setup because of native libraries

edgy vortex
#

Pretty sure the detection is up to Discord and IGDB

foggy hinge
#

unless they add a custom rich presence themselves, I'm guessing

edgy vortex
#

Yes, custom RPC is the way to go (but good luck with Flatpak Steam, lmao)

foggy hinge
#

I have only ever dived into Discord bot development, never incorporating it into an application

#

So I can't be sure

#

maybe i should try

edgy vortex
#

It's all private APIs and closed source SDKs. They have been reverse engineered though and libraries are now provided for various programming language

sly imp
#

looks like this
#⚙️mod-creation message

foggy hinge
#

is it on the workshop?

sly imp
#

no

#

since i had issues with the discord api

#

i can show you how to set it up

#

then build the mod and it should work

#

if not, tell me and i'll fix it

foggy hinge
#

It's okay, I'll just wait and see if the devs say anything, thank you though!

cunning dove
#

Hi Rikai! Checking the portal, it looks like we can't update that either. You can report the incorrect name on discord in the settings > activity settings > registered games.

foggy hinge
cunning dove
#

Hmm, I'll forward over this screenshot. It's weird to me it isn't even in recognized list.

foggy hinge
#

Hmm wait, it doesn't seem to be the reason, I have some recognized games that also don't have the report feature

#

I wonder what's causing the report button to be missing

cunning dove
#

I'm marking this as not a bug for the game. Thank you for the report, but it appears we can't control this at the moment.