game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
steam_integration.h File Reference
#include "game.h"
#include <chrono>
#include <filesystem>
#include <future>
#include <map>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for steam_integration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ACFParser
 Parser for Steam's KeyValues format ACF manifest files. More...
struct  CachyOSGameConfig
 CachyOS-specific gaming configuration options. More...
struct  ParsedSteamLaunchOptions
 Parsed components from Steam launch options string. More...
class  SteamCDN
 Helper class for discovering and accessing Steam game images. More...
class  SteamDownloadMonitor
 Monitors Steam download/install progress for games. More...
struct  SteamDownloadProgress
 Real-time download/installation progress for a Steam game. More...
struct  SteamGame
 Metadata for a Steam game parsed from appmanifest ACF file. More...
struct  SteamGameUpdateInfo
 Information about a game's update status. More...
class  SteamLaunchBuilder
 Builds Steam game launch commands with CachyOS optimizations. More...
class  SteamLibraryScanner
 Scans Steam installations to discover games. More...
struct  SteamLibraryScanner::SteamPlaytimeData
 Steam playtime and usage statistics from localconfig.vdf. More...
class  SteamUpdateMonitor
 Monitors all Steam games for update availability. More...

Namespaces

namespace  SteamStateFlags
 Steam StateFlags bitfield values from appmanifest ACF files.

Enumerations

enum class  ProtonVersion {
  ProtonCachyOSSLR , ProtonCachyOS , ProtonExperimental , Proton9 ,
  Proton8 , ProtonGE , SystemDefault , NativeLinux
}
 Available Proton compatibility layer versions. More...

Functions

std::string getProtonVersionCommand (ProtonVersion version)
 Get command/path for Proton version.
const char * getProtonVersionName (ProtonVersion version)
 Get human-readable name for Proton version.
std::string SteamStateFlags::getStateDescription (uint32_t flags)
 Get human-readable state description.
bool SteamStateFlags::isDownloading (uint32_t flags)
 Check if a game is currently downloading or updating.
bool SteamStateFlags::isFullyInstalled (uint32_t flags)
 Check if a game is fully installed.
bool SteamStateFlags::needsUpdate (uint32_t flags)
 Check if a game needs an update.

Variables

constexpr uint32_t SteamStateFlags::Downloading = 1024
 Currently downloading.
constexpr uint32_t SteamStateFlags::FullyInstalled = 4
 Game is fully installed and playable.
constexpr uint32_t SteamStateFlags::Preallocating = 64
 Pre-allocating disk space.
constexpr uint32_t SteamStateFlags::Reconfiguring = 65536
 Reconfiguring after update.
constexpr uint32_t SteamStateFlags::Staging = 2048
 Staging files after download.
constexpr uint32_t SteamStateFlags::Uninstalling = 131072
 Being uninstalled.
constexpr uint32_t SteamStateFlags::UpdateRequired = 2
 Update available (not yet started).
constexpr uint32_t SteamStateFlags::UpdateStarted = 1026
 Update in progress (Downloading | UpdateRequired).

Enumeration Type Documentation

◆ ProtonVersion

enum class ProtonVersion
strong

Available Proton compatibility layer versions.

Enumerator
ProtonCachyOSSLR 

proton-cachyos-slr (recommended for anti-cheat)

ProtonCachyOS 

proton-cachyos (native, no SLR)

ProtonExperimental 

Official Proton Experimental.

Proton9 

Official Proton 9.0.

Proton8 

Official Proton 8.0.

ProtonGE 

Proton GE (community).

SystemDefault 

Use Steam's default selection.

NativeLinux 

Native Linux build (no Proton).

Definition at line 127 of file steam_integration.h.

Function Documentation

◆ getProtonVersionCommand()

std::string getProtonVersionCommand ( ProtonVersion version)

Get command/path for Proton version.

Definition at line 357 of file steam_integration.cpp.

References NativeLinux, Proton8, Proton9, ProtonCachyOS, ProtonCachyOSSLR, ProtonExperimental, ProtonGE, and SystemDefault.

◆ getProtonVersionName()

const char * getProtonVersionName ( ProtonVersion version)

Get human-readable name for Proton version.

Definition at line 332 of file steam_integration.cpp.

References NativeLinux, Proton8, Proton9, ProtonCachyOS, ProtonCachyOSSLR, ProtonExperimental, ProtonGE, and SystemDefault.