bryanmr / steamy_cats Goto Github PK
View Code? Open in Web Editor NEWA Steam Game Category Sorter Written in Bash
License: GNU General Public License v3.0
A Steam Game Category Sorter Written in Bash
License: GNU General Public License v3.0
My steam profile redirects to /id/<Username>. This means an -L
flag should be added to line 28 to follow the redirect.
EDIT: I fixed it. Waiting on the PR to be accepted.
Tested on:
Problem: cut gives an error when running the script. Error: "cut: invalid field range". I'm unsure which line in particular is the issue, but manually editing Line 613 to OUR_CONFIG="$HOME/.steam/steam/userdata/$WHICHSTEAM/7/remote/sharedconfig.vdf
seems to complete (at least with passing the user flag).
Tried:
Output:
Possible users to make Steam categories for:
1 : [LINUX]
2 : \<Username\>
Enter the number for the user you want to use. Answer: 2
We are using: :: users
cut: invalid field range
Try 'cut --help' for more information.
Our config file is: /7/remote/sharedconfig.vdf
cp: cannot stat '/7/remote/sharedconfig.vdf': No such file or directory
We can't find the config file.
This is important, so we are quitting.
Command line passed user number: 98177731
We are using: :: users
cut: invalid field range
Try 'cut --help' for more information.
Our config file is: /7/remote/sharedconfig.vdf
cp: cannot stat '/7/remote/sharedconfig.vdf': No such file or directory
We can't find the config file.
This is important, so we are quitting.
When a tools section is present, it confuses the logic. This causes the script to fail.
Tested on:
Problem: My steam username is "[Linux] <Username>". Due to how the script is written, if I run the script with no arguments it lists two usernames: "[Linux]" and "<Username>".
Tried:
grep -B3 "<Username>" ~/.steam/steam/config/loginusers.vdf | head -n1 | cut -d\" -f2
Not Tried:
It appears something broke and downloads are no longer working
The script fails and gives a negative number when in offline mode. Easiest way to recreate is to comment out line 28. I'm getting -1 after successfully running the script, but before got -35. When I was researching I thought lines 19-24 were suspicious.
Error:
Our config file is: /home/rider/.steam/steam/userdata/98177731/7/remote/sharedconfig.vdf
Downloading your community profile, if public, and then getting full list of games you own
Is your community profile private?
We can only process games in local configs, which is not complete.
As a workaround, you can add all games to a group and restart Steam, then we can process them.
Begin processing -1 lines of configuration in /home/rider/.steam/steam/userdata/98177731/7/remote/sharedconfig.vdf
Gathering the list of files to download from Steam now!
Downloading files for these game IDs:
JSON API had best detection for if Linux was native, currently missing it on a large number of games because of having to move away from the API.
On the latest build, even if the script can see my usernumber and pull down the Community Page, it'll run in offline mode.
I'll get some output a little later.
Everything should be moved to Steam store frontend since the rate limit for the API backend is really obnoxious. Seems to be 200 downloads every 5 minutes.
Script will say "Downloading files for these game IDs: { {"
This doesn't seem to affect the effectiveness of the script, but could cause confusion.
Adult only downloads are blocked since there is no login. Need an alternate way to get tags.
Steamy Cats should display ProtonDB average rating
Downloads should be batched, 10 a second
Should run in parallel for most commands.
May need more experimentation on some faster methods to create and process the files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.