Piotrekol / StreamCompanion

osu! information extractor, ranging from selected map info to live play data
MIT License
369 stars 59 forks source link

Feature request : CLI mode? #136

Open minhducsun2002 opened 4 years ago

minhducsun2002 commented 4 years ago

First of all, thank you for your work on this.

I would like to request a CLI mode where you can run SC as a TCP/WS server without GUI, dispatching events like map changes, hit count changes, etc.

Use case I play osu! in Wine, and the method we usually use for showing osu! RPC data in Discord on Linux (using [`rpc-wine`](https://github.com/Marc3842h/rpc-wine/)) has been broken for months now. Recently, I found that SC works even in Wine, and it has options to dispatch events through WS, effectively allowing the possibility to run a small server interpreting those events & piping them to Discord. Since the GUI in this case is unnecessary, I think there should be an option to toggle it off.
Piotrekol commented 4 years ago

You can sorta achieve this by removing scGui.dll from Plugins folder after configuring everything in SC as you see fit(however SC will still display misc message boxes, like ingame overlay message or error window). I doubt that true CLI mode will happen at any point.