|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Parser for Steam's KeyValues format ACF manifest files. More...
#include <steam_integration.h>
Static Public Member Functions | |
| static std::string | detectProtonVersion (uint32_t appId, const std::filesystem::path &libraryPath) |
| Detect Proton version for a Steam game from appmanifest UserConfig. | |
| static std::optional< SteamGame > | parseManifest (const std::filesystem::path &acfFilePath, const std::filesystem::path &libraryPath) |
| Parse ACF file to extract game metadata. | |
Parser for Steam's KeyValues format ACF manifest files.
ACF files use a simple key-value format:
Definition at line 327 of file steam_integration.h.
|
static |
Detect Proton version for a Steam game from appmanifest UserConfig.
| appId | Steam App ID |
| libraryPath | Steam library root path |
Definition at line 891 of file steam_integration.cpp.
References readVdfContent().
|
static |
Parse ACF file to extract game metadata.
| acfFilePath | Path to appmanifest_\<AppID\>.acf. |
| libraryPath | Path to the parent steamapps directory; used to resolve the installdir field into an absolute install path on the returned SteamGame. |
Definition at line 720 of file steam_integration.cpp.
References SteamGame::appId, SteamGame::bytesDownloaded, SteamGame::bytesStaged, SteamGame::bytesToDownload, SteamGame::bytesToStage, Logger::error(), SteamGame::gamePath, SteamGame::installDir, SteamGame::isDownloading, SteamGame::isProtonGame, SteamGame::isUpdatePending, SteamGame::lastUpdated, SteamGame::libraryPath, SteamGame::name, SteamGame::protonVersion, readVdfContent(), SteamGame::sizeOnDisk, SteamGame::stateFlags, and SteamGame::steamBuildId.