SplitScreen-Me / splitscreenme-nucleus

Nucleus Co-op is an application that starts multiple instances of a game for split-screen multiplayer gaming!
https://www.splitscreen.me/docs/what-is-splitscreen-me
GNU General Public License v3.0
856 stars 50 forks source link

✨ CLI Support #44

Open mikebarrett19 opened 1 year ago

mikebarrett19 commented 1 year ago

I have searched through the issues and didn't find my problem.

Problem

Similar problem to #21 I just want to click a button in Playnite and have splitscreen launch for whatever game. So I figure best bet is to write a little extension for Nucleus-Playnite in PowerShell. But I cannot find any information on running from CLI.

Possible Solution

Documentation on how current exes are called? I might be able to hack something as is. Or just a full CLI implementation: Able to launch games from CLI (probably StartGame.exe with #21 ini file?) (vertical/horizontal)-splitscreen flag? (launch 2 player splitscreen with a default config (guess controller assignment ig?)) Able to install games and handlers from CLI (direct install game, search game, unpack handler, and ideally search handler too) Able to check installed games and handlers from CLI Hypothetically with those commands you could use nucleus without ever having to open it graphically. (or in my case just opening playnite graphically) bonus config set command, but changing the config file is fine

Additional information

I'm a bashhead so PowerShell is a bit new to me, I could very well be missing something. I saw something about running C# in PowerShell but I don't think that was the right path. Thanks!