PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

Discord-rpc integration #11

Open mgerhardy opened 3 years ago

mgerhardy commented 3 years ago

This is a deprecated api - but the new one isn't GPL compatible. It still works in a lot of games and would be very cool to organize games and so on. Example here:

https://github.com/discord/discord-rpc https://github.com/discord/discord-rpc/blob/master/examples/send-presence/send-presence.c

robo9k commented 3 years ago

According to https://discord.com/developers/docs/game-sdk/sdk-starter-guide#get-set-up (Game SDK, not RPC) one needs to register an application to use it with Discord. I've created a "PadWorld Entertainment" Discord team and invited some of us. Also created an support issue to ask whether they do have a database entry for WoP already (even though I doubt it, but doc says to do so): https://support-dev.discord.com/hc/en-us/requests/12821224

robo9k commented 3 years ago

On another note I wonder if it would be possible to sidestep the whole licensing issue by having a separate launcher / interceptor app that communicates with Discord. One could probably just look at the unencrypted Quake 3 network packets with libpcap

codemasher commented 3 years ago

On another note I wonder if it would be possible to sidestep the whole licensing issue by having a separate launcher / interceptor app that communicates with Discord. One could probably just look at the unencrypted Quake 3 network packets with libpcap

Which makes me wonder if we could sidestep the Steamworks SDK licensing issue in the same way.

[...] decide that what the Steamworks SDK does is just a communication with a service that does not invoke the copyleft requirement of the GPL.

robo9k commented 3 years ago

Which makes me wonder if we could sidestep the Steamworks SDK licensing issue in the same way.

This should probably be its own separate issue. I haven't looked into Steam yet, but does distributing a game require linking against the Steamworks SDK at all? Generally speaking a separate process/program does not get infected by the viralness of GPL, but IANAL.