How maes773/universal-game-launcher works
UGL is a local Windows game launcher: users import a game folder or Steam library, manage the resulting library and achievements, then launch a selected game. The documented architecture puts Slint behind the Core application layer, which coordinates persistence and integrations. The graph preserves the README’s import, launch, icon, settings, and periodic achievement capabilities. Some implementation links rely on the SOURCE INDEX or README because the relevant source was not excerpted; uncertain runtime wiring is omitted.
Main entry points: application.rs Core application · mod.rs SQLite database · main.rs App shell · process_manager.rs Game launcher
Components 25
User interface
- Slint window
crates/ugl-app/ui/main.slint - App shell
crates/ugl-app/src/main.rs
Core coordination
- Core application
crates/ugl-core/src/application.rs - Domain types
crates/ugl-core/src/domain.rs - Game launcher
crates/ugl-core/src/process_manager.rs
Library and storage
- Game registry
crates/ugl-core/src/registry.rs - SQLite database
crates/ugl-core/src/database/mod.rs - Schema migrations
crates/ugl-core/src/database/migrations.rs - User settings
crates/ugl-core/src/settings.rs - Achievement store
crates/ugl-core/src/achievement_engine.rs
Game integrations
- Folder import
crates/ugl-core/src/integrations/manual.rs - Steam library scan
crates/ugl-core/src/integrations/steam.rs - VDF parser
crates/ugl-core/src/integrations/vdf.rs - Steam achievement reader
crates/ugl-core/src/integrations/steam_achievements.rs - Binary KeyValues
crates/ugl-core/src/integrations/binary_kv.rs
Runtime support
- Directory watcher
crates/ugl-core/src/watcher.rs - Game icons
crates/ugl-core/src/icons.rs - Windows icon extraction
crates/ugl-app/src/game_icons.rs - PNG utilities
crates/ugl-core/src/png.rs - Network utilities
crates/ugl-core/src/net.rs - Diagnostics logging
crates/ugl-core/src/diagnostics.rs - Data paths
crates/ugl-core/src/paths.rs
Other components
- Player
- Steam client
- Local game files
Connections 25
- Player → Slint window: uses
README.md - Slint window → App shell: dispatches
README.md - App shell → Core application: calls
README.md - Core application → Game registry: coordinates
crates/ugl-core/src/application.rs - Core application → SQLite database: opens
crates/ugl-core/src/application.rs - Core application → User settings: reads and writes
crates/ugl-core/src/application.rs - Core application → Folder import: imports
crates/ugl-core/src/application.rs - Core application → Steam library scan: imports
crates/ugl-core/src/application.rs - Steam library scan → VDF parser: parses with
crates/ugl-core/src/integrations/steam.rs - Core application → Steam achievement reader: refreshes
crates/ugl-core/src/application.rs - Steam achievement reader → Binary KeyValues: parses with
crates/ugl-core/src/integrations/steam_achievements.rs - Core application → Achievement store: stores and lists
crates/ugl-core/src/application.rs - Achievement store → SQLite database: writes records
crates/ugl-core/src/achievement_engine.rs - Game registry → SQLite database: queries and updates
crates/ugl-core/src/registry.rs - SQLite database → Schema migrations: runs
crates/ugl-core/src/database/mod.rs - Core application → Game launcher: launches games
crates/ugl-core/src/application.rs - Game launcher → Local game files: starts executable
README.md - Game launcher → Steam client: opens Steam URI
README.md - Core application → Directory watcher: refreshes periodically
README.md - Core application → Game icons: manages icons
crates/ugl-core/src/application.rs - Game icons → PNG utilities: uses
crates/ugl-core/src/icons.rs - App shell → Windows icon extraction: extracts icons
README.md - Core application → Domain types: uses types
crates/ugl-core/src/application.rs - Core application → Diagnostics logging: logs events
crates/ugl-core/src/application.rs - Steam achievement reader → Network utilities: uses utilities
crates/ugl-core/src/integrations/steam_achievements.rs