Cross platform single-header C library for finding games installed from platforms like steam
#include <find_steam_game.h>
char buf[4096];
fsg_get_steam_game_path(buf, "Wolfenstein 3D");
printf("Steam: %s found at %s\n", "Wolfenstein 3D", buf);
// Prints: Steam: Wolfenstein 3D found at c:/program files (x86)/steam/SteamApps/common/Wolfenstein 3D
Store | Windows | Linux | macOS |
---|---|---|---|
Steam | ✔ | ✔ | ✔ |
GOG | ✔ (game id) | ❌ | ✔ (app name) |
- macOS GOG doesn't support custom installation locations; it only looks at
/Applications
GOG Game ID List: https://gogapidocs.readthedocs.io/en/latest/gameslist.html