0e4ef622/wine-discord-ipc-bridge
Acerca de
Permite usar Discord Rich Presence en juegos que se ejecutan con Wine.
Juegos y emulaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalWine Discord IPC Bridge
This program enables other programs which are running under Wine to send Rich Presence data to a Linux Discord client.
This is mainly a proof-of-concept, demonstrating that this is possible, the code itself is a mish-mash of copy-paste from Microsoft docs and linux-discord-rpc.dll.
The way it works is simply by bridging the gap between Windows named pipes
(\\.\pipe\discord-ipc-0) and Unix domain sockets
(/run/user/{userid}/discord-ipc-0).
Compiling
winegcc main.c -o winediscordipcbridge
Usage (Wine)
Start the bridge first by doing wine winediscordipcbridge.exe.so, wait for it
to start listening to the pipe, and then launch your program/game. The two
programs need to be running under the same wineprefix.
Usage (Steam Proton)
Download
winediscordipcbridge-steam.shand place it in the same directory aswinediscordipcbridge.exe. Usechmod +xto make it executable if necessary.In the game's settings on Steam, edit "Launch Options" to
/path/to/winediscordipcbridge-steam.sh %command%. You will have to do this for every game that supports Rich Presence.
This currently starts the bridge in the background to act as a 'debugger' before the game starts and opens up the folder the Linux Discord socket lives in to be read/write. This worked for Deep Rock Galactic, hopefully the timing of the bridge works correctly for other games.
The bridge should automatically stop once the connecting program terminates, although it'll keep running if nothing ever connects.
I've personally tested this with osu! on both 32-bit and 64-bit wineprefixes, and Muse Dash using the script to launch from Steam with Proton Experimental.
https://github.com/truckersmp-cli/truckersmp-cli also reported success.
Related Projects
- https://github.com/Techno-coder/macOS-wine-bridge (fork)
- https://github.com/EnderIce2/rpc-bridge (alternative implementation)
- https://github.com/openglfreak/winestreamproxy (alternative implementation)
Explorar proyectos relacionados
Cargando…