How aeka0/overlord works
Overlord is a VR mod that adapts the Modern Warfare 2 Campaign Remastered client for tracked, stereoscopic play. The principal workflow is to launch the game with the VR client, acquire headset/controller input, adapt campaign interactions, and render the result for the headset. The graph also includes the desktop launcher, runtime diagnostics, and documented interaction and comfort features. Some links describe README-level capabilities; unsampled implementation details are not asserted.
Main entry points: engine_stereo_renderer.cpp Stereo renderer · equipment_runtime.cpp Weapon and equipment handling · App.tsx Launcher UI · main.cpp Client entry
Components 23
Launch and setup
- Launcher UI
src/launcher-ui/src/App.tsx - Settings and languages
src/launcher-ui/src/useSettings.ts - Launch services
src/client/launcher/services.cpp
VR runtime
- Client entry
src/client/main.cpp - Component loader
src/client/loader/component_loader.hpp - Game client
src/client/game/game.hpp - Controller tracking
src/client/component/vr/gameplay/controller_component.cpp
Campaign adaptations
- Weapon and equipment handling
src/client/component/vr/gameplay/equipment_runtime.cpp - Physical reloading
src/client/component/vr/gameplay/break_action_runtime.cpp - World interactions
src/client/component/vr/gameplay/grenade_runtime.cpp - Campaign adaptations
src/client/component/vr/gameplay/campaign/scripted_sequences.cpp - Comfort and assistance
src/client/component/vr/gameplay/aim_assist.cpp
Rendering and diagnostics
- Stereo renderer
src/client/component/vr/engine_stereo_renderer.cpp - Stereo render owner
src/client/component/vr/engine_stereo_owner_pass.cpp - GPU census
src/client/component/vr/engine_stereo_gpu_census.cpp - Stereo execution
src/client/component/vr/engine_stereo_execution.hpp - Output merger
src/client/component/vr/engine_stereo_output_merger.hpp - Backend probe
src/client/component/vr/engine_backend_probe.hpp - VR diagnostics
src/client/component/vr/diagnostics.cpp - Scene surface storage
src/client/component/scene_surface_storage.cpp
Other components
- Player
- SteamVR runtime
- VR headset
Connections 25
- Player → Launcher UI: configures and launches
README.md - Launcher UI → Settings and languages: edits settings
src/launcher-ui/src/App.tsx - Launcher UI → Launch services: requests launch
- Launch services → Client entry: starts client
- Client entry → Component loader: loads components
src/client/main.cpp - Client entry → Game client: initializes game
src/client/main.cpp - Player → SteamVR runtime: uses runtime
README.md - SteamVR runtime → Controller tracking: provides tracking
README.md - SteamVR runtime → VR headset: drives headset
README.md - Controller tracking → Weapon and equipment handling: drives interactions
- Game client → Weapon and equipment handling: supplies campaign logic
README.md - Weapon and equipment handling → Physical reloading: adapts weapon handling
README.md - Weapon and equipment handling → World interactions: adapts equipment
README.md - Weapon and equipment handling → Campaign adaptations: adapts story sequences
README.md - Settings and languages → Comfort and assistance: configures options
README.md - Game client → Stereo renderer: renders campaign
README.md - Stereo renderer → Stereo render owner: coordinates stereo pass
src/client/component/vr/engine_stereo_renderer.cpp - Stereo renderer → Backend probe: probes backend
src/client/component/vr/engine_stereo_renderer.cpp - Stereo renderer → Stereo execution: uses execution
src/client/component/vr/engine_stereo_renderer.cpp - Stereo renderer → Output merger: checks bindings
src/client/component/vr/engine_stereo_renderer.cpp - Stereo render owner → GPU census: uses census
src/client/component/vr/engine_stereo_owner_pass.cpp - GPU census → Backend probe: uses backend probe
src/client/component/vr/engine_stereo_gpu_census.cpp - Stereo render owner → VR diagnostics: records diagnostics
src/client/component/vr/engine_stereo_owner_pass.cpp - Component loader → Scene surface storage: registers component
src/client/component/scene_surface_storage.cpp - Stereo renderer → VR headset: presents stereo view
README.md