boppreh / steamgrid

Downloads images to fill your Steam grid view
MIT License
674 stars 42 forks source link

How to obtain appIDs for usage with --appids? #112

Open Unknow0059 opened 2 years ago

Unknow0059 commented 2 years ago

Append --appids <appid1,appid2> to only process the specified appID(s) This is a flag I can use. How do I get the appIDs to use with it?

kmicki commented 2 years ago

Open a steam website for a game and appid is in the url:

image

For non-steam games there's good approach. I think you would have to parse [Steam folder]/userdata/[user ID]/config/shortcuts.vfd file.

Unknow0059 commented 1 year ago

The values in [Steam folder]/userdata/[user ID]/config/shortcuts.vfd don't appear like appids.

There are values Steam\userdata\[user ID]]\760\screenshots.vdf which appear like appids, but those give a 404 error when used with this flag.

The names of the folders in Steam\steamapps\shadercache\ and the files in Steam\steamapps\librarycache\ and the files in Steam\userdata\120534083\config\grid\ contain appids.

For the penultimate, you can confirm they refer to a particular game by checking against the store page id, or by observing the achievements within the file.

For the latter, you can confirm by adding a custom logo or hero to the game. That custom element will then be copied inside this folder, named after the appid. That value doesn't work with the flag, either.

If you use -nonsteamonly, you get appids for your nonsteam games listead as part of the output stream, however, if you feed those into -appids, a 404 error is given. There is only one "Logo found from backup", because it finds the logo I manually added.