Skip to content

Header-only cross platform C library for finding games installed from platforms like steam

License

Notifications You must be signed in to change notification settings

cxong/find_steam_game

Repository files navigation

find_steam_game

CMake

Cross platform single-header C library for finding games installed from platforms like steam

Usage

#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

Support

Store Windows Linux macOS
Steam
GOG ✔ (game id) ✔ (app name)
  • macOS GOG doesn't support custom installation locations; it only looks at /Applications

Resources

GOG Game ID List: https://gogapidocs.readthedocs.io/en/latest/gameslist.html