How bingjian-remix/chert-wpf works
Chert Launcher is a Windows WPF Minecraft launcher backed by a shared core library. Its main player workflow is choosing or installing a game version, downloading required files, configuring an account and profile, then launching and monitoring the game. The README also describes mod management, recommendations, crash repair, and utility features; these are represented as major subsystems where the tree supports them. Evidence is limited to the supplied README and sampled files/SOURCE INDEX, so unsampled feature links are omitted rather than inferred.
Main entry points: LauncherService.cs Launcher service · ModManager.cs Mod management · RecommendationEngine.cs Recommendations · MainWindow.xaml.cs WPF interface
Components 29
Desktop app
- WPF interface
src/Chert.App/MainWindow.xaml.cs - App startup
src/Chert.App/App.xaml.cs
Game lifecycle
- Launcher service
src/Chert.App/Services/LauncherService.cs - Download clients
src/Chert.Core/Download/IDownloader.cs - Modrinth client
src/Chert.Core/Download/ModrinthClient.cs - Version installers
src/Chert.Core/Installers - Version merger
src/Chert.Core/Launcher/VersionMerger.cs - Version metadata
src/Chert.Core/Models/VersionJson.cs - Game launcher
src/Chert.Core/Launcher/GameLauncher.cs - Account authentication
src/Chert.Core/Auth - Crash repair
src/Chert.Core/Launcher/CrashRepairEngine.cs
Mods and discovery
- Mod management
src/Chert.Core/Mods/ModManager.cs - Mod records
src/Chert.Core/Mods/ModEntry.cs - Recommendations
src/Chert.Core/Recommend/RecommendationEngine.cs - Local mod rules
src/Chert.Core/Recommend/RuleEngine.cs - Popular ranking
src/Chert.Core/Recommend/HotRanking.cs
Player tools
- Player toolbox
src/Chert.Core/Toolbox - LAN sharing
src/Chert.Core/Lan - AI assistant
src/Chert.Core/Ai/Assistant.cs
Shared platform
- Profiles and accounts
src/Chert.Core/Profiles/LauncherProfile.cs - Profile persistence
src/Chert.Core/Profiles/ProfileStore.cs - Localization
src/Chert.Core/Localization/LocaleManager.cs - Theme preferences
src/Chert.Core/Theme/ThemeManager.cs - Game paths
src/Chert.Core/Utils/PathEx.cs - Self updater
src/Chert.Core/Update/LauncherUpdater.cs
Other components
- Player
- Minecraft files
- Modrinth service
- Java runtime
Connections 26
- Player → WPF interface: uses
- WPF interface → Launcher service: requests installs
- App startup → Launcher service: initializes
src/Chert.App/App.xaml.cs - App startup → Profile persistence: loads profiles
src/Chert.App/App.xaml.cs - App startup → Profiles and accounts: uses settings
src/Chert.App/App.xaml.cs - Launcher service → Download clients: uses downloader
src/Chert.App/Services/LauncherService.cs - Launcher service → Modrinth client: requests modpacks
src/Chert.App/Services/LauncherService.cs - Launcher service → Version installers: dispatches installs
src/Chert.App/Services/LauncherService.cs - Launcher service → Version merger: merges versions
src/Chert.App/Services/LauncherService.cs - Launcher service → Version metadata: reads metadata
src/Chert.App/Services/LauncherService.cs - Launcher service → Profile persistence: saves profile
src/Chert.App/Services/LauncherService.cs - Launcher service → Minecraft files: downloads files
- Game launcher → Java runtime: starts game
- Mod management → Mod records: produces records
src/Chert.Core/Mods/ModManager.cs - Mod management → Modrinth client: checks updates
src/Chert.Core/Mods/ModManager.cs - Mod management → Download clients: downloads updates
src/Chert.Core/Mods/ModManager.cs - Recommendations → Mod management: scans installed mods
src/Chert.Core/Recommend/RecommendationEngine.cs - Recommendations → Local mod rules: evaluates rules
src/Chert.Core/Recommend/RecommendationEngine.cs - Recommendations → Popular ranking: gets rankings
src/Chert.Core/Recommend/RecommendationEngine.cs - Recommendations → Profiles and accounts: filters preferences
src/Chert.Core/Recommend/RecommendationEngine.cs - Local mod rules → Mod records: examines mods
src/Chert.Core/Recommend/RuleEngine.cs - Crash repair → Mod management: checks mod issues
src/Chert.Core/Launcher/CrashRepairEngine.cs - Crash repair → Profiles and accounts: reads repair policy
src/Chert.Core/Launcher/CrashRepairEngine.cs - Theme preferences → WPF interface: notifies theme changes
- Localization → WPF interface: provides translations
- Game paths → Minecraft files: resolves locations
src/Chert.Core/Utils/PathEx.cs