game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
LaunchInfo Struct Reference

Information about optimizations and settings applied during game launch. More...

#include <game.h>

Public Member Functions

std::string getSummary (bool detailed=false) const
 Generate a human-readable summary of applied optimizations.

Public Attributes

bool amdAntiLag = false
 AMD Anti-Lag enabled.
std::vector< std::string > appliedFixes
 e.g., "WINE_SIMULATE_WRITECOPY=1"
int customEnvVars = 0
 Number of custom environment variables.
bool gameMode = false
 GameMode enabled.
bool gamePerformance = false
 game-performance enabled
bool gamescope = false
 Gamescope compositor enabled.
std::string gamescopeMode
 Gamescope mode info (e.g., "1920x1080@144 FSR").
std::string gpuVendor
 "AMD", "NVIDIA", "Intel"
bool mangoHud = false
 MangoHud enabled.
bool nvidiaNvapi = false
 NVIDIA NVAPI enabled.
std::string runner
 Runner used: "Wine", "Proton", "Native".
std::string runnerVersion
 Version: wine-cachyos, UMU-Proton, etc.
std::string syncMethod
 "Fsync", "Esync", or "None"
bool vkBasalt = false
 VkBasalt enabled.
std::string winePrefix
 Wine prefix path used.

Detailed Description

Information about optimizations and settings applied during game launch.

Captures what was actually applied when launching a game, useful for displaying to the user so they know what's running.

Definition at line 267 of file game.h.

Member Function Documentation

◆ getSummary()

std::string LaunchInfo::getSummary ( bool detailed = false) const
inline

Generate a human-readable summary of applied optimizations.

Parameters
detailedIf true, include all details; if false, just key items
Returns
Summary string suitable for display

Definition at line 301 of file game.h.

References amdAntiLag, appliedFixes, gameMode, gamePerformance, gamescope, gamescopeMode, mangoHud, nvidiaNvapi, runner, runnerVersion, syncMethod, and vkBasalt.

Member Data Documentation

◆ amdAntiLag

bool LaunchInfo::amdAntiLag = false

AMD Anti-Lag enabled.

Definition at line 279 of file game.h.

Referenced by getSummary().

◆ appliedFixes

std::vector<std::string> LaunchInfo::appliedFixes

e.g., "WINE_SIMULATE_WRITECOPY=1"

Definition at line 291 of file game.h.

Referenced by getSummary().

◆ customEnvVars

int LaunchInfo::customEnvVars = 0

Number of custom environment variables.

Definition at line 294 of file game.h.

◆ gameMode

bool LaunchInfo::gameMode = false

GameMode enabled.

Definition at line 284 of file game.h.

Referenced by getSummary().

◆ gamePerformance

bool LaunchInfo::gamePerformance = false

game-performance enabled

Definition at line 285 of file game.h.

Referenced by getSummary().

◆ gamescope

bool LaunchInfo::gamescope = false

Gamescope compositor enabled.

Definition at line 287 of file game.h.

Referenced by getSummary().

◆ gamescopeMode

std::string LaunchInfo::gamescopeMode

Gamescope mode info (e.g., "1920x1080@144 FSR").

Definition at line 288 of file game.h.

Referenced by getSummary().

◆ gpuVendor

std::string LaunchInfo::gpuVendor

"AMD", "NVIDIA", "Intel"

Definition at line 278 of file game.h.

◆ mangoHud

bool LaunchInfo::mangoHud = false

MangoHud enabled.

Definition at line 283 of file game.h.

Referenced by getSummary().

◆ nvidiaNvapi

bool LaunchInfo::nvidiaNvapi = false

NVIDIA NVAPI enabled.

Definition at line 280 of file game.h.

Referenced by getSummary().

◆ runner

std::string LaunchInfo::runner

Runner used: "Wine", "Proton", "Native".

Definition at line 270 of file game.h.

Referenced by getSummary().

◆ runnerVersion

std::string LaunchInfo::runnerVersion

Version: wine-cachyos, UMU-Proton, etc.

Definition at line 271 of file game.h.

Referenced by getSummary().

◆ syncMethod

std::string LaunchInfo::syncMethod

"Fsync", "Esync", or "None"

Definition at line 275 of file game.h.

Referenced by getSummary().

◆ vkBasalt

bool LaunchInfo::vkBasalt = false

VkBasalt enabled.

Definition at line 286 of file game.h.

Referenced by getSummary().

◆ winePrefix

std::string LaunchInfo::winePrefix

Wine prefix path used.

Definition at line 272 of file game.h.


The documentation for this struct was generated from the following file: