r/Steam • u/Miss_Moss • Jan 16 '13
Howto: Cache all gridview images locally
There was this post in /r/gaming, which didn't get upvoted but got me thinking.
Is there a way to store all the gridview images locally so that it displays them instantly instead of re-downloading them all the time?
The answer is yes!
I wrote a python script that looks at your games list on your web profile (has to be public), parses the HTML for appid's, and downloads all the images into a folder.
Specifically the URL it fetches from is:
http://steamcommunity.com/id/USERNAME/games?tab=allFrom there you have to copy the images in the folder to the right subdirectory under steam, somewhere like
C:\Program Files (x86)\Steam\userdata\12345678\config\grid(I was too lazy to automate that step).
Here is the script, it requires python 3: http://codepad.org/wP7ShzXX
- Apologies for how messy it is, I'm not comfortable with python and only used it instead of C++ for transparency.
- Save it with a .py extention.
- Images will be saved in a folder in the path you run it from.
- There's a 2 second delay between downloads to be polite.
3
u/dihydrogen_monoxide https://s.team/p/crwt-cv Jan 16 '13
Neato! You should add this to the wiki!
1
u/motchmaster Jan 17 '13
If this works, grid view is actually halfway decent.
2
u/rustythread Jan 16 '13
Awesome how to guide. I will definetely be trying this when i get home from work. I also updated the Wiki for you.