How northmind/crucible works
Crucible is a Linux launcher for Windows games using UMU and Proton. The main workflow is adding a game through the desktop UI, saving its per-game configuration, then launching it with resolved settings and a prepared environment. Separate branches cover Proton runner management, artwork lookup, desktop shortcuts, and application appearance/preferences. The README documents capabilities such as wrappers, environment variables, DLL overrides, and Steam artwork. Some backend connections are supported by the SOURCE INDEX rather than full excerpts; uncertain UI-to-JavaScript wiring is omitted.
Main entry points: main_window.py Desktop window · managers.py Game manager · web_bridge.py Web bridge · proton_manager.py Proton manager
Components 20
Desktop interface
- Application entry
python/crucible/__main__.py - Desktop window
python/crucible/ui/main_window.py - Web bridge
python/crucible/ui/web_bridge.py - Settings bridge
python/crucible/ui/web_bridge_settings.py - UI bridge
python/crucible/ui/web_bridge_ui.py
Game library
- Game manager
python/crucible/core/managers.py - Game records
python/crucible/core/managers.py - Desktop shortcuts
python/crucible/core/desktop_shortcuts.py
Launch runtime
- Game launcher
python/crucible/core/launcher.py - Launch environment
python/crucible/core/launch_env.py - Process control
python/crucible/core/process_control.py
Runner management
- Proton manager
python/crucible/core/proton_manager.py - Background workers
python/crucible/core/workers.py - Archive utilities
python/crucible/core/tar_utils.py
Artwork and preferences
- Artwork manager
python/crucible/ui/artwork_manager.py - Artwork fetcher
python/crucible/ui/artwork_fetcher.py - Steam lookup
python/crucible/ui/steam_api.py - App preferences
python/crucible/ui/app_settings.py - Theme system
python/crucible/ui/theme_system.py
Other components
- User
Connections 25
- User → Desktop window: uses
- User → Application entry: launches
python/crucible/__main__.py - Application entry → Desktop window: opens
python/crucible/__main__.py - Desktop window → Web bridge: registers
python/crucible/ui/main_window.py - Desktop window → Web bridge: adds dropped games
python/crucible/ui/main_window.py - Web bridge → Game manager: adds games
python/crucible/ui/web_bridge.py - Web bridge → Artwork manager: requests artwork
python/crucible/ui/web_bridge.py - Web bridge → Proton manager: manages runners
python/crucible/ui/web_bridge.py - Settings bridge → Game manager: updates settings
python/crucible/ui/web_bridge_settings.py - Settings bridge → Proton manager: manages runners
python/crucible/ui/web_bridge_settings.py - UI bridge → Game manager: reads game data
python/crucible/ui/web_bridge_ui.py - UI bridge → Theme system: updates theme
python/crucible/ui/web_bridge_ui.py - Game manager → Game records: reads and writes
python/crucible/core/managers.py - Application entry → Game manager: scans and launches
python/crucible/__main__.py - Game manager → Game launcher: delegates launch
python/crucible/core/managers.py - Game launcher → Launch environment: prepares environment
python/crucible/core/launcher.py - Game launcher → Process control: controls process
python/crucible/core/launcher.py - Game launcher → Desktop shortcuts: uses shortcuts
python/crucible/core/launcher.py - Proton manager → Background workers: downloads with
python/crucible/core/proton_manager.py - Proton manager → Archive utilities: uses archive tools
python/crucible/core/proton_manager.py - Artwork manager → Artwork fetcher: fetches artwork
python/crucible/ui/artwork_manager.py - Artwork fetcher → Steam lookup: looks up Steam data
python/crucible/ui/artwork_fetcher.py - Desktop window → Proton manager: initializes runners
python/crucible/ui/main_window.py - Desktop window → App preferences: reads preferences
python/crucible/ui/main_window.py - App preferences → Theme system: uses settings store
python/crucible/ui/app_settings.py