Page 1 of 1

Steam Game Randomizer

Posted: Fri Oct 04, 2019 11:53 pm
by Baggef
I found myself with a lot of un-played games in my library so I made this, essentially all it does is go through all the names of the folders in your steamapps' common directory. So it's a glorified randomizer, I will be adding to it and updating the UI over time. You can add groups, like First person shooter, yet to play, favorite, etc. I'm planning on adding a text file importer.

Also, if anyone knows how to go through the names of the games in a person's library and not just those that are downloaded, launch games from the randomizer, and other improvements, I would love to hear it.

GitHub/Source Code: https://github.com/Baggef/SteamRandomizer

Re: Steam Game Randomizer

Posted: Tue Dec 03, 2019 2:59 pm
by sophusweidemann
You can use the steam:// [1] uri protocol to do lots of stuff in steam. In your case you will want to use steam://launch/appid.
I'm not sure about the capabilites of löve in terms of third party http requests, but if you're able to use the steam rest api you can check out the GetOwnedGames [2] method (requires relatively lax steam privacy settings from the user).

[1] https://developer.valvesoftware.com/wik ... r_protocol
[2] https://developer.valvesoftware.com/wik ... 28v0001.29

Re: Steam Game Randomizer

Posted: Sun Dec 08, 2019 4:08 pm
by prytz
This seems to be geared towards Windows, the Game Directory it is scanning doesn't exist on Linux.

Re: Steam Game Randomizer

Posted: Sat Dec 21, 2019 7:32 pm
by ivan
You could rewrite this by using my humble Steamworks FFI binding (see the ISteamApp interface):
https://love2d.org/forums/viewtopic.php?f=5&t=87917
But that would require platform-specific binaries (provided by Valve) plus the Steam client installed and running.