lutris / agora

Public discussion space for the community
11 stars 0 forks source link

Use icons in Discord presence #43

Open ObserverOfTime opened 5 years ago

ObserverOfTime commented 5 years ago

The Discord presence doesn't show any icons at the moment. I think that the default app should show the Lutris logo as large_image and the runner as small_image.

As far as I'm aware, it's not possible to show the game icon since the app has to contain all the art assets which isn't feasible in the case of Lutris. However, the large_image and small_image values could be exposed as settings. That way, users can create a new app, configure Lutris to use its client ID, upload icons for whichever games and runners they want, and set their corresponding values.

ghost commented 4 years ago

May it would be possible to extend the current lutris install scripts to allow accessing the storage location of said icons from within the wine bottle, I mean the games provide the icons anyways so why shouldn't you just copy them from the bottle to a sub dir and have lutris display them, in this way you can avoid the trouble of having to have every icon downloaded manually.

ObserverOfTime commented 4 years ago

Lutris isn't responsible for displaying them, Discord is and local icons are not supported.

ghost commented 4 years ago

Ok, but how are icons normally displayed within discord's rich persistence?