A Python-based tool that fetches client icons for all games and applications in your Steam library directly from Steam. Useful for restoring original Steam shortcut icons on your desktop.
My tool DO NOT SCRAPE from SteamDB as that is against SteamDB rules stated here. Instead it fetches the icon directly from Steam's CDN URL, the only contribution that SteamDB had to do with this project is for me to understand the structure of how Steam store their clienticon in their url.
- SteamCMD (must be added to your PATH)
- Python or Miniconda
- Python dependencies listed in
requirements.txt
- Download SteamCMD.
- Add the
SteamCMD
folder path to your system's environment variable (PATH
).
Install dependencies using pip
:
pip install -r requirements.txt
-
Register your Steam Web API Key from: https://steamcommunity.com/dev/apikey
(Any domain name is acceptable.) -
Obtain your Steam64 ID from: https://steamid.xyz
- Modify
get_owned_app_ids.py
to include your Steam Web API Key and Steam64 ID. - Generate your owned app IDs by running:
python get_owned_app_ids.py
- This will create or overwrite
owned_app_ids.txt
.
- Copy contents from
owned_app_ids.txt
intoapp_ids.txt
. - Run the main scraper script:
python main.py
(The download process may take several minutes depending on your library size.)
After downloading is complete:
- Copy all downloaded icons from the scraper's output folder into your Steam icons folder. Default Steam directory:
C:\Program Files (x86)\Steam\steam\games
- Your desktop shortcuts should now correctly display their original icons.
If shortcuts are still missing icons:
-
Run the provided registry script
url.reg
.
(May resolve common registry-related icon issues.) -
Delete your icon cache and restart Explorer:
- Press
Win + R
to open the Run dialog. - Paste the following path and press Enter:
%localappdata%
- Locate and delete the file
IconCache.db
. - Open Task Manager (
Ctrl + Shift + Esc
), findexplorer.exe
under the Processes tab, select it, and click Restart.
- Press