Edit: Everyone is asking for the code, so here it is. Keep in mind, this code assumes a few things:
- You’d need to specify the virtual environment path for Python.
- You’d need to specify the directory for which the games are located.
- You’d have to put a “game_info” file in each game’s root directory.
- You’d need to have steamcmd installed.
- The format of the game_info file is like this (I use CS.RIN.RU):
build: 17601020
steamid: 548430
csrinru: https://cs.rin.ru/forum/viewtopic.php?f=10&t=81377
Hope I’m not breaking any rules. This is my first post on Lemmy. I tried to post on garbage-ass Reddit but apparently being a new user means you can’t do fuck-all. So, I’m gonna try to make Lemmy a home.
Anyway, I pirate games. Mostly because I’m broke, and somewhat because I hate spending money on a game and then hating it 15 minutes into it. But anyway…that’s neither here nor there.
The entire purpose of this post is just to share this neat little thing I created. I’m not promoting it – it isn’t released. I just wanna share nerdy shit with other people.
The issue that I was having is that I figured, over time, my pirated game collection will get quite big. It will become increasingly more time-intensive to check back to the piracy forums for updated pirated versions of the game.
So I came up with a solution. Whenever I download a new pirated game, I will create a file called “game_info” in the directory which will include three little bits of data.
- The build number of the pirated game
- The Steam App ID
- The link to the forum topic about that game from the piracy site I go to.
I wrote a script that will scan my games directory for each game_info file. It will then use steamcmd to check SteamDB for the latest patches released and compare that to the current build number in the game_info file. Obviously if they don’t match – there’s an update. And it will inform me. This way I can quickly check if there are any updates available for a game, then I can go to the piracy forum and check to see if anyone has released the updated version yet.
I thought it was cool. Anyway, just thought I’d share some nerdy shit.
Feel free to degrade me.
Thank you so much!!