|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Parsed configuration for a Lutris-managed game. More...
#include <lutris_config.h>
Public Member Functions | |
| std::string | getEffectiveWinePath () const |
| Get the effective wine path to use. | |
| std::string | getFullExecutablePath () const |
| Get the full path to the executable. | |
| bool | isValid () const |
| Check if config is valid and usable. | |
Public Attributes | |
| std::string | arch |
| Wine architecture: "win32" or "win64". | |
| std::string | arguments |
| Command line arguments (optional). | |
| std::string | customWinePath |
| Custom wine path from runner config. | |
| std::map< std::string, std::string > | dllOverrides |
| std::map< std::string, std::string > | environmentVariables |
| std::vector< std::string > | excludeProcesses |
| std::string | exe |
| Relative path to executable (from prefix). | |
| std::string | gameSlug |
| Game slug from lutris.net. | |
| std::string | name |
| Game display name. | |
| std::string | prefix |
| Wine prefix path. | |
| std::string | slug |
| Game slug (unique identifier). | |
| std::string | winePath |
| Full path to wine executable. | |
| std::string | wineVersion |
| Wine version name (e.g., "Proton - Experimental"). | |
| std::string | workingDir |
| Working directory (optional). | |
Parsed configuration for a Lutris-managed game.
Contains all the settings needed to launch a game the same way Lutris would launch it.
Definition at line 40 of file lutris_config.h.
| std::string LutrisGameConfig::getEffectiveWinePath | ( | ) | const |
Get the effective wine path to use.
Definition at line 30 of file lutris_config.cpp.
References customWinePath, and winePath.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::getFullExecutablePath | ( | ) | const |
Get the full path to the executable.
Definition at line 21 of file lutris_config.cpp.
Referenced by LutrisConfigParser::findConfigForExecutable().
|
inline |
Check if config is valid and usable.
Definition at line 72 of file lutris_config.h.
Referenced by LutrisConfigParser::findConfigForExecutable(), and LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::arch |
Wine architecture: "win32" or "win64".
Definition at line 50 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::arguments |
Command line arguments (optional).
Definition at line 52 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::customWinePath |
Custom wine path from runner config.
Definition at line 57 of file lutris_config.h.
Referenced by getEffectiveWinePath(), and LutrisConfigParser::parseConfigFile().
| std::map<std::string, std::string> LutrisGameConfig::dllOverrides |
Definition at line 63 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::map<std::string, std::string> LutrisGameConfig::environmentVariables |
Definition at line 60 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::vector<std::string> LutrisGameConfig::excludeProcesses |
Definition at line 66 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::exe |
Relative path to executable (from prefix).
Definition at line 48 of file lutris_config.h.
Referenced by getFullExecutablePath(), isValid(), and LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::gameSlug |
Game slug from lutris.net.
Definition at line 45 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::name |
Game display name.
Definition at line 43 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::prefix |
Wine prefix path.
Definition at line 49 of file lutris_config.h.
Referenced by getFullExecutablePath(), isValid(), and LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::slug |
Game slug (unique identifier).
Definition at line 44 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::winePath |
Full path to wine executable.
Definition at line 56 of file lutris_config.h.
Referenced by getEffectiveWinePath().
| std::string LutrisGameConfig::wineVersion |
Wine version name (e.g., "Proton - Experimental").
Definition at line 55 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().
| std::string LutrisGameConfig::workingDir |
Working directory (optional).
Definition at line 51 of file lutris_config.h.
Referenced by LutrisConfigParser::parseConfigFile().