punk icon indicating copy to clipboard operation
punk copied to clipboard

Launch games from Punk

Open dragnu5 opened this issue 8 years ago • 4 comments

If we could launch games and view our library directly from Punk that would be great.

Launching part should be fairly easy using 'steam://rungameid/"id"'

dragnu5 avatar Oct 24 '16 10:10 dragnu5

I could probably make it so that you can launch a game if you have Steam and the game installed if you had this in mind.

But managing game library on my own would be a tremendous task.

scholtzm avatar Oct 24 '16 10:10 scholtzm

If users are signing in with Steam, you can get a listing of their owned games and take it from there, here's a discontinued app I was working on - SteamRoller

Edit: Of course their library will have to be public.

CyrisXD avatar Oct 24 '16 22:10 CyrisXD

Thanks for chipping in. Personally, I'd like to avoid using the WebAPI for now since that would require users to provide their own API keys and this is probably not necessary. Punk can most likely retrieve this information from the Steam network itself.

The only thing that worries me is that calling steam://run/<AppID> launches Steam which will cause the user to get logged in twice on the same machine and this might cause some weird behaviour. :-)

scholtzm avatar Oct 25 '16 06:10 scholtzm

@scholtzm Maybe that would be okay...

  • If the user's status is set to offline in the Punk client after launch then resources could be freed for the Steam client,
  • Or, if instead the Punk client could somehow replace the Steam client while in-game, that would be preferred. =)

xmwx38 avatar Oct 28 '17 23:10 xmwx38