Skip to content

WIP: Discord rpc

Jan-Jaap Korpershoek requested to merge JJK/SRB2:discord into next

A port of the SRB2Kart discord rpc implementation KartKrew/Kart-Public!207 (merged) I also ported all subsequent changes to discord stuff I could find in the srb2 kart repository. Using git log 1aca163d125be59ed5a43ac0aa048517a409b918..kart/master -G discord -i where kart is my upstream for srb2 kart.

It compiles and everything seems to work. The SRB2 UI works as well.

I didn't put much effort into the discord APP though, since I don't use rich presence myself.

I'm just putting this here so others can find it and improve it.

Build

Use cmake to build. In cmake-gui the discord presence option can be checked to build with the rich presence.

TODO

  • Better discord application, add assets, images, etc.
  • Find out what the non-ported AddIWAD function in d_main.c is for.
  • Possibly do some renaming of "Zone" to "ZONE", I didn't port that everywhere
  • Find out what the discord_gfx.wad is used for.
Edited by Jan-Jaap Korpershoek

Merge request reports

Loading