Closed Theo47 closed 7 years ago
These are some great suggestions. I will do my best to implement them. Thank you for taking the time to provide your input. It is very valuable to me, especially during these early stages of development.
Just to clarify some things:
Took a look at the code and turns out it is more complex than what i thought when i suggested it.
It reads from the "Licenses" section of localconfig.vdf. But that contains package ids not game ids. A package may contain more than 1 games as well as dlcs. You can take a look at 340 and 49800 to better see what that means.
It then reads from steam/appcache/packageinfo.vdf using a binary reader to get the packageid to gameid conversions.
Finally it filters out all dlcs. I think it does so by reading from a third local file to get the app type of each gameid but i didn't actually check.
I guess reading from https://steamcommunity.com/id/user_name/games would be easier to implement.
I may consider following that same process, in order to keep as much work done offline as possible. However, that may be more of a long term goal since I have already determined how to parse the steamcommunity games page and have added logic to my development branch to skip over "Downloadable Content" titles whenever I am parsing the store page for them.
If there is a way to determine whether a game is downloadable content offline, I may look into that. I have plans to do a little research on all the Steam .vdf files to determine what their potential usefulness may be to this project.
This issue is solved as of v0.5.0 97d799fc1298671cf43530dd9dec8506c62b31e4 The sharedconfig.vdf file and steam url name can be loaded from a preferences file The following options have been removed completely: --key, --id, --output, --birthdate
Some recommendations to minimize the number of options the user needs to provide.