CLauncher is a modern, high-performance, native C++20 / Qt 6 Minecraft launcher. Designed as a native rewrite and evolution of LightLauncher, it eliminates Python runtime dependencies, delivering near-instantaneous startup times, minimal memory consumption, and rock-solid stability across Linux and Windows.
-
🚀 Native Performance & Lightweight Footprint:
- Pure C++23 with Qt 6 Widgets and Network stack.
- Zero Python runtime or interpreter overhead.
- Rapid UI responsiveness, instant cold start, and optimized memory usage.
-
🎮 Full Minecraft Lifecycle Support:
- Mojang Manifest V2 Integration: Asynchronous query and caching of official releases, snapshots, and legacy beta/alpha versions.
- Automated Dependency & Asset Downloader: Multi-threaded parallel asset, library, and
client.jardownloads with hash integrity verification and OS/architecture native rule evaluation. - Modular Launch Engine: Classpath assembly with multi-version compatibility checks, native library extraction, customizable JVM arguments (
-Xmx,-Xms, custom GC/flags), and real-time game process supervision.
-
🧩 Native Mod Management & Modrinth Browser:
- Mod Manager: Full-featured manager for
.minecraft/mods/. Displays mod display name, version, loader badge, and file size by inspecting in-memory ZIP central directories (fabric.mod.json,quilt.mod.json,META-INF/mods.toml,META-INF/neoforge.mods.toml,mcmod.info). - Interactive Toggling: Toggle mods on the fly by renaming between
.jarand.jar.disabled, with bulk "Enable All" / "Disable All" and individual deletion. - Modrinth v2 Browser: Search and browse thousands of mods directly from Modrinth with loader filters (Fabric, Forge, NeoForge, Quilt) and version matching. Includes 1-click download directly into the active mods directory with live download progress.
- Mod Manager: Full-featured manager for
-
🧶 Native Modloader Installation:
- Fabric Installer: Connects to the official Fabric Meta API (
meta.fabricmc.net), resolves stable/compatible loader versions for any Minecraft release, and automatically installs atomic version JSON profiles.
- Fabric Installer: Connects to the official Fabric Meta API (
-
☕ Smart Java Detection & Adoptium Downloader:
- Local Runtime Scanner: Detects local JRE/JDK installations (Java 8, Java 17, Java 21+) on Linux (
/usr/lib/jvm,PATH) and Windows (Registry, Program Files) with version compatibility matching. - Adoptium Temurin Downloader: Automatically queries Adoptium v3 API to download, extract, and configure portable JRE environments into
runtime/when no compatible system Java is detected.
- Local Runtime Scanner: Detects local JRE/JDK installations (Java 8, Java 17, Java 21+) on Linux (
-
💬 Native Discord Rich Presence (RPC):
- High-performance, pure C++ IPC via
QLocalSocketconnecting to Discord daemon sockets ($XDG_RUNTIME_DIR/discord-ipc-0..9on Linux,\\.\pipe\discord-ipc-0..9on Windows). - Displays real-time playing status, current Minecraft version, and session elapsed time with zero third-party library overhead.
- High-performance, pure C++ IPC via
-
👤 Skin & Avatar System:
- Fetches player skins from Ely.by and Mojang with local disk caching.
- Dynamically extracts 8x8 face rects, composites the outer helmet/hat layer, and scales antialiased avatar previews displayed directly alongside the nickname selector.
- Offline default Steve fallback when disconnected or unskinned.
-
🩺 Intelligent Crash Log Analyzer:
- Automatically parses game exit codes,
crash-reports/*.txt, andlatest.log. - Diagnoses OutOfMemoryError, outdated GPU drivers (OpenGL/GLFW error 65542), incompatible Java runtime versions, missing mod dependencies, and Mixin errors.
- Displays structured diagnoses with clear root causes, actionable troubleshooting recommendations, and error snippet previews.
- Automatically parses game exit codes,
-
🎨 Modern Dark Interface & Optimizations:
- Sleek glassmorphism theme with custom QSS stylesheet.
- Nickname regex validation (
^[a-zA-Z0-9_]{3,16}$) and quick nickname selector. - Cached background rendering eliminating unnecessary CPU repainting.
- Action dock with quick access pills for Mods, Catalog, Settings, Console, and
.minecraftdirectory. - Auto-updating launcher check via GitHub Releases API.
-
📊 Integrated Console & Playtime Tracking:
- Live stdout/stderr log viewer capturing game output and launcher debug events.
- Accurate tracking of total game playtime stored safely using atomic
QSaveFile.
CLauncher/
├── CLauncher.pro # qmake6 project specification (Qt6 + ZLIB)
├── CMakeLists.txt # Modern CMake build configuration
├── BUILD.md # Detailed cross-platform compilation guide
├── README.md # Project overview and documentation
├── install.ps1 # Automated Windows PowerShell installer
├── install.bat # Windows double-click batch launcher
├── install.sh # Automated Linux shell installer
├── resources/
│ ├── resources.qrc # Qt Resource bundle
│ ├── style.qss # Custom dark theme stylesheet
│ ├── background.png # Launcher header/background art
│ ├── folder.png # UI icon for folder access
│ ├── github.png # UI icon for GitHub link
│ ├── mclovin.ico # Application icon (multi-resolution ICO)
│ └── clauncher.png # High-resolution 256x256 application icon
└── src/
├── main.cpp # Application entry point and logging setup
├── core/ # Core utilities and diagnostic subsystems
│ ├── Constants.h # File paths, URLs, version defaults
│ ├── Settings.h/.cpp # Atomic JSON-backed configuration manager
│ ├── Logger.h/.cpp # Thread-safe logging subsystem
│ ├── Utils.h/.cpp # System information, offline UUID, and path helpers
│ ├── PlaytimeTracker.h/.cpp # Playtime tracking subsystem with atomic persistence
│ ├── CrashAnalyzer.h/.cpp # Automated crash diagnosis & log analyzer
│ └── Updater.h/.cpp # GitHub Releases update checker & downloader
├── mc/ # Minecraft game engine and network services
│ ├── VersionManifest.h/.cpp # Mojang version metadata parser & fetcher
│ ├── Downloader.h/.cpp # Parallel asset and library download engine
│ ├── JavaManager.h/.cpp # Local JRE scanner and version compatibility
│ ├── GameLauncher.h/.cpp# Classpath builder and process supervisor
│ ├── DiscordRpc.h/.cpp # Native Discord Rich Presence IPC client
│ ├── SkinManager.h/.cpp # Ely.by/Mojang skin fetcher & avatar renderer
│ ├── ModloaderInstaller.h/.cpp # Fabric loader installer via Fabric Meta API
│ ├── JavaDownloader.h/.cpp # Adoptium Temurin portable JRE downloader
│ ├── ModManager.h/.cpp # Local mods inspector, toggler, and manager
│ ├── ModBrowser.h/.cpp # Modrinth v2 API client and mod downloader
│ ├── Account.h # Account data model (Offline, Ely.by, Microsoft)
│ └── AccountManager.h/.cpp # Account persistence, active account, and Ely.by auth
└── ui/ # Graphical user interface
├── MainWindow.h/.cpp # Main launcher dashboard with action dock
├── AccountManagerDialog.h/.cpp # TLauncher-style 2-pane account manager
├── SettingsDialog.h/.cpp # Settings dialog (RAM, Java, game directory, theme)
├── ConsoleWindow.h/.cpp # Real-time game log viewer with export & syntax coloring
├── ModManagerDialog.h/.cpp # Installed mods manager dialog
├── ModBrowserDialog.h/.cpp # Modrinth mod catalog browser dialog
└── SkinPreviewWidget.h/.cpp # Live 2D player avatar preview widget
Automated single-command installers are available for both Windows and Linux. They automatically download the latest verified release from GitHub, install the executable, configure application icons and desktop shortcuts, and set up system PATH integration.
Open Windows PowerShell (or Windows Terminal) and paste:
irm https://raw.githubusercontent.com/RanoGames/CLauncher/master/install.ps1 | iexAutomatically downloads the latest release, installs into %LOCALAPPDATA%\Programs\CLauncher, creates Desktop/Start Menu shortcuts, and adds the installation directory to your User PATH.
If you have cloned or downloaded the repository:
- Double-click
install.batin Windows Explorer. - The installer automatically elevates execution policy and runs the automated setup.
To build directly from source using MSVC/CMake without manual setup:
powershell -ExecutionPolicy Bypass -File install.ps1 -BuildOpen your terminal and run:
curl -fsSL https://raw.githubusercontent.com/RanoGames/CLauncher/master/install.sh | bashInstalls the executable to ~/.local/bin/clauncher, installs the .desktop launcher entry with 256x256 icons, and prompts to launch.
To automatically clone and compile from source using CMake/Ninja or qmake6:
curl -fsSL https://raw.githubusercontent.com/RanoGames/CLauncher/master/install.sh | bash -s -- --buildOr if running locally from the repository:
chmod +x install.sh
./install.sh --build| Option | Description |
|---|---|
-b, --build |
Clone and compile from source locally |
-p, --prefix <DIR> |
Custom install directory prefix (default: ~/.local) |
--dry-run |
Simulate installation steps without modifying disk |
--no-desktop |
Skip .desktop menu entry and icon creation |
--no-launch |
Do not prompt to run CLauncher after installation |
Ensure qt6-base-dev, zlib, and build tools are installed:
# Ubuntu / Debian
sudo apt install -y build-essential qt6-base-dev qt6-base-dev-tools zlib1g-dev
# Arch Linux
sudo pacman -Syu base-devel qt6-base zlib
# Build with qmake6
qmake6 CLauncher.pro
make -j$(nproc)
# Run
./CLauncher- Open
CLauncher.proorCMakeLists.txtin Qt Creator with the Qt 6 MSVC 2022 or MinGW 64-bit kit. - Hit Build & Run (
Ctrl + R). - For standalone distribution, run
windeployqt --release CLauncher.exeto package all required Qt runtime DLLs.
📖 For comprehensive instructions, MSVC command prompt workflows, MinGW steps, and cross-compilation guides, see BUILD.md.
- Launch the Application: Run
./CLauncher(Linux) orCLauncher.exe(Windows). - Set your Nickname: Enter your player username in the top input field.
- Select Version: Choose your desired Minecraft version from the dropdown menu (e.g.,
1.20.4). - Configure Settings (Optional):
- Click the gear icon to adjust allocated RAM (default: 2048 MB).
- Configure a specific Java version if not using auto-detection.
- Click Play: CLauncher will automatically download necessary assets, libraries, and launch Minecraft. The Console Window can be opened at any time to inspect live game logs.
This project is licensed under the MIT License. See LICENSE for details.