Steam Game Randomizer

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Baggef
Prole
Posts: 20
Joined: Fri Aug 23, 2019 7:30 pm
Location: USA
Contact:

Steam Game Randomizer

Post 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
Attachments
steamSuggestion.love
(10.68 KiB) Downloaded 310 times
gaeem defelpmint is maiy pashin
Itch: Freakman
sophusweidemann
Prole
Posts: 1
Joined: Tue Dec 03, 2019 2:54 pm

Re: Steam Game Randomizer

Post 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
User avatar
prytz
Prole
Posts: 1
Joined: Sun Dec 08, 2019 3:48 pm
Location: Stockholm, Sweden
Contact:

Re: Steam Game Randomizer

Post by prytz »

This seems to be geared towards Windows, the Game Directory it is scanning doesn't exist on Linux.
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Steam Game Randomizer

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests