game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
Game Launcher

pipeline status coverage [License: MIT](LICENSE) C++17 Qt 6.8 LTS Conduct: Contributor Covenant 2.1

Status: Released — v1.1.0 tagged 2026-05-04 (current), v1.0.0 tagged 2026-05-03. Day-to-day on Arch / CachyOS is the primary supported platform; cross-platform Windows support is experimental (see the win-qt-* presets). New work continues on develop; see CHANGELOG.md for the per-release breakdown.

A modern game launcher for Linux with Steam integration, Proton/Wine support, Lutris compatibility, and CachyOS optimizations. Built with Qt 6.8 LTS and a clean MVC architecture.

Documentation

For users

Guide Description
Installation System requirements, build from source, PKGBUILD, optional dependencies
Getting Started First launch, wizard, adding games, library organization
Steam Integration Library import, Proton, SteamGridDB, ProtonDB, update monitoring
Wine & Proton Runners, Wine prefixes, UMU-Launcher, environment variables
Configuration Themes, performance tools, API keys, Terminal & HA panels
Troubleshooting Common issues, launch failures, build errors, diagnostics

For contributors

Doc Description
ARCHITECTURE.md Layered design, thread model, persistence, end-to-end launch flow, key invariants
CONTRIBUTING.md Build / test / lint / format workflow, branching model, commit conventions
SECURITY.md Threat model and how to report a vulnerability privately
CODE_OF_CONDUCT.md Contributor Covenant 2.1
CHANGELOG.md Release history (Keep a Changelog format)

Features

  • Game Library Management - Add, organize, and launch games from various sources
  • Steam Integration - Import Steam games, detect Proton versions, fetch cover art
  • Multiple Runners - Support for Native, Wine, Proton, UMU-Launcher, Lutris, DOSBox, and ScummVM
  • Lutris Compatibility - Import and run Lutris installer scripts
  • ProtonDB Integration - Fetch compatibility ratings and recommended tweaks
  • HLTB Integration - How Long To Beat completion times in the details panel
  • Cover Art - Automatic fetching from SteamGridDB with local caching
  • Performance Tools - MangoHud, GameMode, Gamescope, vkBasalt integration
  • Advanced Features - NTSync/Fsync detection, sched-ext scheduler support, shader cache management
  • Game Tracking - Monitor running games, track playtime
  • Collections - Organize games into custom collections
  • Cloud Saves - Backup and restore game saves via local or rclone backends
  • Wine Prefix Snapshots - Save and restore Wine prefix states
  • Embedded Terminal - Optional built-in terminal panel (requires qtermwidget)
  • Home Assistant Panel - Embedded Home Assistant dashboard browser

Building

For full installation instructions including distro-specific steps and optional dependencies, see docs/installation.md.

Quick Start — Arch Linux / CachyOS

# Clone the repository
git clone https://gitlab.com/lee.ellington/game_launcher.git
cd game_launcher
# Build and install via PKGBUILD (recommended)
makepkg -si

Quick Start — Build from Source

# Install dependencies (Arch)
sudo pacman -S cmake ninja gcc qt6-base qt6-webengine qt6-tools sqlite openssl curl nlohmann-json util-linux-libs
# Build
cmake --preset qt-release
cmake --build --preset qt-release
# Run
./out/build/qt-release/gamelauncher_qt

CMake Presets

Preset Generator Build Type Description
qt-debug Ninja Debug Debug symbols, no optimisation
qt-release Ninja Release Optimised build for daily use
qt-debug-make Unix Makefiles Debug Fallback for systems without Ninja
qt-release-make Unix Makefiles Release Fallback for systems without Ninja
win-qt-debug Ninja Debug Windows build via vcpkg (experimental)
win-qt-release Ninja Release Windows build via vcpkg (experimental)

Project Structure

game_launcher/
├── core/ # UI-agnostic business logic (gamelauncher_core)
│ ├── include/ # Public headers
│ │ ├── controllers/ # Coordinators between models/services and UI
│ │ ├── models/ # Data classes (Game, GameLibrary, FrameMetrics, …)
│ │ ├── services/ # Abstract Qt-bridge interfaces + concrete services
│ │ │ # (ProtonDB, SteamGridDB, GameDatabase, HLTB, …)
│ │ ├── integrations/ # Third-party adapters (Steam, GOG, Lutris, UMU, Wine)
│ │ ├── util/ # Cross-cutting helpers (logger, atomic_write,
│ │ │ # safe_enum_cast, lru_cache, shell_utils, …)
│ │ └── platform/ # Platform abstraction headers
│ └── src/ # Mirrors include/<x>/ for every <x>
│ └── platform/{linux,windows}/ # POSIX / Win32 wrappers
├── ui/qt/ # Qt 6 frontend (gamelauncher_qt[_debug])
│ ├── managers/ # Composition managers (DetailsPanel, Toolbar,
│ │ # Sidebar, MenuBar, ContextMenu, GameAction,
│ │ # GameThumbnailCache)
│ ├── dialogs/ # All *_dialog.{h,cpp}, first_run_wizard, shortcut_cheatsheet
│ ├── widgets/ # Custom widgets, list models, delegates
│ ├── services/ # Qt implementations of core service interfaces
│ ├── shortcuts_controller.{h,cpp} # Keyboard shortcuts + command-palette registration
│ └── command_palette.{h,cpp} # Global Ctrl-P palette
├── tests/ # GoogleTest suite (449 tests)
├── docs/ # End-user documentation (Markdown)
├── cmake/ # CMake helper modules + .desktop template
├── scripts/ # Install / fresh-install / Windows setup helpers
├── resources/ # Icons, fonts, .desktop template
├── data/ # Bundled JSON (game_fixes.json)
├── translations/ # Qt .ts translation source files
├── .gitlab/ # GitLab issue + merge-request templates
├── ARCHITECTURE.md # Layered design, thread model, invariants
├── CONTRIBUTING.md # Build / test / lint / format workflow
├── SECURITY.md # Vulnerability disclosure policy
├── CHANGELOG.md # Release history (Keep a Changelog 1.1.0)
├── CODE_OF_CONDUCT.md # Contributor Covenant 2.1
├── CMakeLists.txt # Top-level build
├── CMakePresets.json # Build / test presets
├── PKGBUILD # Arch / CachyOS package recipe
└── .gitlab-ci.yml # CI: build + test + lint + ASan + Renovate

Architecture

The application follows a clean Model-View-Controller (MVC) architecture:

Core Library (gamelauncher_core)

  • Zero UI dependencies - Can be used with any frontend
  • Controllers - GameLibraryController, LaunchController, SettingsController
  • Services - Abstract interfaces (INotificationService, IImageService) implemented by Qt
  • Models - Game, GameLibrary, GameProcess, SteamIntegration, etc.

Qt UI Layer

The Qt UI implements the abstract service interfaces:

This design allows:

  • Clean separation between business logic and UI
  • Easy addition of new frontends (GTK, terminal, etc.)
  • Unit testing without UI dependencies

Where the launcher stores data

User data follows the XDG Base Directory Specification.

Location Contents
~/.local/share/gamelauncher/games.db SQLite database — game library, collections, statistics
~/.config/gamelauncher/settings.json App settings, theme, default runner, panel/gaming-layout preferences
~/.local/state/gamelauncher/window-state.json Window geometry, panel visibility, last view mode
~/.local/state/gamelauncher/logs/ Log files
~/.cache/gamelauncher/ Cover art and SteamGridDB image cache
~/.local/state/gamelauncher/ Logs, MangoHud per-launch configs and CSV captures (when log isolation is enabled in settings — recommended default)

Development

The full developer onboarding (build / test / lint / format / commit conventions / how to add a test) lives in CONTRIBUTING.md. Short version:

cmake --preset qt-debug
cmake --build out/build/qt-debug --parallel # build
ctest --preset qt-debug --output-on-failure # 449 tests
cmake --build out/build/qt-debug --target format # clang-format
cmake --build out/build/qt-debug --target tidy # clang-tidy (read-only)
cmake --build out/build/qt-debug --target docs # Doxygen API docs (requires doxygen + graphviz)
# Code coverage (gcovr; requires `pacman -S gcovr`):
cmake --preset qt-debug -DENABLE_COVERAGE=ON
cmake --build out/build/qt-debug --parallel
ctest --preset qt-debug
cmake --build out/build/qt-debug --target coverage-html # → out/build/qt-debug/coverage-html/index.html

VSCode users: open the repo, accept the recommended-extensions prompt (CMake Tools, C++ TestMate, clangd), and copy .vscode/settings.json.example → .vscode/settings.json. The Testing panel will then auto-populate with every individual TEST() case as a separately-runnable entry.

Contributing

See CONTRIBUTING.md for the full workflow.

Short version:

  1. Fork or branch off develop.
  2. Make your change. Run the lint + test gauntlet before submitting:
    cmake --build out/build/qt-debug --target format
    cmake --build out/build/qt-debug --target tidy
    ctest --preset qt-debug --output-on-failure
  3. Open a merge request against develop.

Please review the Code of Conduct before contributing. Security issues should follow the private channels in SECURITY.md, not public issues.

License

Licensed under the [MIT License](LICENSE).

Acknowledgments