How itsjuztin/cabspan works
CabSpan is a Windows desktop tool for configuring ATS/ETS2 multi-monitor driving and switching back to single-screen mode. The main workflow is to scan displays, choose driving monitors and steering-wheel placement, tune bezel/angle settings, then apply the setup to game configuration; users can also restore the original configuration. Separate branches provide Steam pre-launch automation, borderless window spanning, updates, and diagnostics. The graph follows README behavior and visible source-index references; some subsystem internals were not sampled, so uncertain connections are omitted.
Main entry points: MainWindow.xaml.cs Setup dashboard · AutoLaunchHandler.cs Steam pre-launch · ProfileStore.cs Profile persistence · MonitorScanner.cs Monitor discovery
Components 22
Desktop experience
- Setup dashboard
MainWindow.xaml.cs - Guided setup
GuidedSetupWindow.xaml.cs - Quick start
QuickStartWindow.xaml.cs
Display configuration
- Rig profile
Models/CabSpanProfile.cs - Profile persistence
Services/ProfileStore.cs - Monitor discovery
Services/MonitorScanner.cs - Display hardware names
Services/DisplayHardwareInterop.cs - Monitor map
Services/MonitorCanvasRenderer.cs - SII generation
Services/SiiGenerator.cs - Game config and restore
Services/ConfigManager.cs - ATS / ETS2 config
Launch and updates
- Steam pre-launch
Services/AutoLaunchHandler.cs - Borderless spanner
Services/BorderlessSpanner.cs - Release checker
Services/UpdateCheckerService.cs - Update coordinator
Services/UpdateCoordinator.cs - Self-update installer
Services/SelfUpdateInstaller.cs
Diagnostics
- Bug report window
BugReportWindow.xaml.cs - Bug report service
Services/BugReportService.cs - Error logging
Services/ErrorLogger.cs - Discord reporting
Services/DiscordErrorReporter.cs
Other components
- Driver
- GitHub releases
Connections 30
- Driver → Setup dashboard: configures
README.md - Setup dashboard → Monitor discovery: scans displays
MainWindow.xaml.cs - Setup dashboard → Monitor map: renders map
MainWindow.xaml.cs - Setup dashboard → Profile persistence: loads and saves
MainWindow.xaml.cs - Setup dashboard → SII generation: generates setup
MainWindow.xaml.cs - Setup dashboard → Game config and restore: applies or restores
README.md - Profile persistence → Monitor discovery: initializes from
Services/ProfileStore.cs - Monitor discovery → Display hardware names: resolves names
Services/MonitorScanner.cs - Game config and restore → ATS / ETS2 config: writes configuration
Services/ConfigManager.cs - Guided setup → Monitor discovery: scans displays
GuidedSetupWindow.xaml.cs - Guided setup → Monitor map: renders map
GuidedSetupWindow.xaml.cs - Guided setup → Profile persistence: saves profile
GuidedSetupWindow.xaml.cs - Driver → Guided setup: starts setup
README.md - Driver → Quick start: opens help
- Quick start → Steam pre-launch: shows launch option
QuickStartWindow.xaml.cs - Steam pre-launch → Profile persistence: loads profile
Services/AutoLaunchHandler.cs - Steam pre-launch → Game config and restore: checks active mode
Services/AutoLaunchHandler.cs - Steam pre-launch → Monitor discovery: checks displays
Services/AutoLaunchHandler.cs - Steam pre-launch → Borderless spanner: spans game window
Services/AutoLaunchHandler.cs - Setup dashboard → Borderless spanner: controls spanning
MainWindow.xaml.cs - Setup dashboard → Update coordinator: coordinates updates
MainWindow.xaml.cs - Update coordinator → Profile persistence: loads profile
Services/UpdateCoordinator.cs - Update coordinator → Release checker: checks releases
Services/UpdateCoordinator.cs - Update coordinator → Self-update installer: installs update
Services/UpdateCoordinator.cs - Release checker → GitHub releases: fetches releases
Services/UpdateCheckerService.cs - Self-update installer → GitHub releases: downloads asset
- Driver → Bug report window: reports issue
README.md - Bug report window → Bug report service: submits report
BugReportWindow.xaml.cs - Bug report service → Discord reporting: posts report
Services/BugReportService.cs - Error logging → Discord reporting: dispatches alert
Services/ErrorLogger.cs