244 std::map<std::string, std::string>& envVars,
245 std::vector<std::string>& command)
const;
264 std::vector<UMUGameInfo>
searchGames(
const std::string& query,
265 std::optional<UMUStore> store = std::nullopt)
const;
325 bool createPrefix(
const std::string& prefixPath,
const std::string& protonPath =
"");
335 bool runWinetricks(
const std::string& prefixPath,
const std::vector<std::string>& verbs,
336 const std::string& protonPath =
"",
359 std::unique_ptr<Impl> impl_;
bool hasProtonUpdates() const
Check if Proton updates are available.
std::vector< UMUProtonVersion > getAvailableProtonVersions() const
Get available Proton versions for UMU.
bool downloadUMUProton(const ProgressCallback &progressCallback=nullptr)
Download latest UMU-Proton.
bool createPrefix(const std::string &prefixPath, const std::string &protonPath="")
Create a new Wine prefix via umu-run.
void refreshProtonVersions()
Refresh the list of available Proton versions.
bool runWinetricks(const std::string &prefixPath, const std::vector< std::string > &verbs, const std::string &protonPath="", const ProgressCallback &progressCallback=nullptr)
Run winetricks verbs in a prefix via umu.
std::string suggestGameId(const std::string &gameName, UMUStore store=UMUStore::None) const
Get suggested GAMEID for a game name.
UMUGameInfo lookupGame(const std::string &gameId) const
Look up a game in the umu database.
bool isAvailable() const
Check if umu-run is available on the system.
bool prefixExists(const std::string &prefixPath) const
Check if a Wine prefix exists.
static UMUStore storeFromString(const std::string &str)
Parse store identifier from string.
std::string buildLaunchCommand(const UMULaunchConfig &config) const
Build the full launch command for umu-run.
bool downloadGEProton(const ProgressCallback &progressCallback=nullptr)
Download latest GE-Proton for UMU.
static std::string storeToString(UMUStore store)
Get store identifier string from enum.
UMULauncher & operator=(const UMULauncher &)=delete
std::vector< UMUGameInfo > searchGames(const std::string &query, std::optional< UMUStore > store=std::nullopt) const
Search for games in the umu database.
std::function< void(int percent, const std::string &status)> ProgressCallback
std::string getDefaultPrefixPath(const std::string &gameId) const
Get the default Wine prefix path for a GAMEID.
std::string getUMURunPath() const
Get path to umu-run binary.
UMULauncher(const UMULauncher &)=delete
UMUInstallStatus getInstallStatus() const
Get detailed installation status.
void buildLaunchComponents(const UMULaunchConfig &config, std::map< std::string, std::string > &envVars, std::vector< std::string > &command) const
Build launch command as separate components.
Information about a game from the umu database.
std::string store
Store identifier.
bool found
Whether game was found in database.
std::string gameId
umu game ID (e.g., "umu-dauntless")
std::string title
Game title.
std::vector< std::string > fixes
List of fixes applied.
Status of UMU installation on the system.
std::string umuRunPath
Path to umu-run binary.
std::string runtimePath
Path to Steam Runtime (~/.local/share/umu).
bool hasGEProton
Is GE-Proton available.
bool hasUMUProton
Is UMU-Proton available.
std::string version
UMU version string.
std::vector< UMUProtonVersion > availableProton
Available Proton versions.
bool isInstalled
Is umu-run available.
Configuration for launching a game via umu-run.
UMUStore store
Storefront for store-specific fixes.
UMUProtonPath protonPathMode
std::string winePrefix
WINEPREFIX path (empty = default at $HOME/Games/umu/GAMEID).
bool enableProtonLog
Enable Proton verbose logging.
std::string protonVerb
PROTON_VERB (e.g., "runinprefix" for multi-game prefix).
std::map< std::string, std::string > environmentVariables
std::string gameId
GAMEID for umu database lookup (e.g., "umu-dauntless").
std::vector< std::string > arguments
Arguments to pass to the executable.
std::string customProtonPath
Custom Proton path when mode is Custom.
std::string customStore
Custom store name when store is Custom.
std::string executable
Path to game executable.
bool enableUMULog
Enable UMU debug logging.
Information about an available Proton version.
bool isUMUProton
Is official UMU-Proton build.
bool isGEProton
Is GloriousEggroll build.
bool isSystemProton
Is system/Steam Proton.
std::string version
Parsed version number.
std::string name
Version name (e.g., "GE-Proton9-20").
std::string path
Full path to the Proton directory.
std::string umuStoreName(UMUStore store)
Get human-readable store name.
UMUStore
Storefront identifiers for game fixes lookup.
@ Ubisoft
Ubisoft Connect.
@ Steam
Steam (usually use Steam directly, but for reference).
@ None
No specific store (generic fixes only).
UMUProtonPath
Proton version selection mode for UMU.
@ GEProton
Auto-download latest GE-Proton.
@ Default
Use UMU-Proton (stable Valve Proton with umu patches).
@ Custom
Use custom PROTONPATH specified in customProtonPath.
@ SystemProton
Use system-installed Proton.