SteamDB Game Adder
This skill allows you to quickly find the executable name for a game on SteamDB and add it to the GAME_PATHS list in config.py.
Usage
When the user provides a game name (or an image of a game that you have identified), follow these steps:
- •
Search SteamDB:
- •Use the
search_webtool with the query:site:steamdb.info [game name] config. - •Look for a result that points to the Configuration page (URL ending in
/config/). If not found directly, find the AppID page and navigate to/config/.
- •Use the
- •
Extract Executable Name:
- •Visit the SteamDB Configuration page using
read_url_content(orread_browser_pageif needed). - •Look for the
Executablefield orlaunch/0/executablesection. - •Extract the executable filename (e.g.,
game.exe,Binaries\Win64\game.exe). - •If the path is long (e.g.,
Binaries/Win64/game.exe), extract just the filename (e.g.,game.exe) unless the user specifies otherwise. TheProcessSimulatorusually expects the relative path like.\game.exe.
- •Visit the SteamDB Configuration page using
- •
Update
config.py:- •Read
c:\Users\MeteorV\Downloads\ProcessSimulator\config.pyto check existing entries. - •Append the new executable to the
GAME_PATHSlist. - •Format:
r".\filename.exe",(usingrstring and.\prefix is recommended). - •Do not enable the game by default (leave it in the list).
- •Use
multi_replace_file_contentorreplace_file_contentto insert the new line inside theGAME_PATHSlist comprehension or definition.
- •Read
Example
User Input: "Add 'Wuthering Waves' to config"
- •Search:
site:steamdb.info Wuthering Waves config-> Findshttps://steamdb.info/app/3564740/config/ - •Extract: Page shows
Executable: Wuthering Waves.exe(orLauncher.exe). Let's say foundwwm.exe. - •Update:
python
# config.py GAME_PATHS = [ r".\existing_game.exe", r".\wwm.exe", # Added ]