Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cxong/find_steam_game

Header-only cross platform C library for finding games installed from platforms like steam
https://github.com/cxong/find_steam_game

c cross-platform game-dev gog hacktoberfest header-only library steam

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# find_steam_game

[![CMake](https://github.com/cxong/find_steam_game/actions/workflows/cmake.yml/badge.svg)](https://github.com/cxong/find_steam_game/actions/workflows/cmake.yml)

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

## Usage

```c
#include

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