Repository navigation
OptiLord v0.2.0 — Dense-Scene CPU Hot-Path Optimizations (Operation Wolverines)
Pre-release
Pre-release
OptiLord v0.2.0 — Dense-Scene CPU Hot-Path Optimizations (Operation Wolverines)
OptiLord is an independently versioned community performance fork for Call of Duty: Modern Warfare 2 Campaign Remastered VR, built on Overlord VR Beta 8 by Aeka0.
Newer release available: Check the Releases page for
v0.3.0+, which adds GPU Render Scale (vr_renderScale), AMD FidelityFX CAS sharpening (vr_sharpening), and OpenXR Hidden Area Mesh (vr_hiddenAreaMesh).
Key Changes in v0.2.0
Built on top of everything in v0.1.0, this release targets per-draw and per-target CPU overhead in crowded outdoor/urban missions such as Wolverines! and Exodus:
- Lock-Free Target Selection & Post-Bootstrap Probe Bypass (
src/client/component/vr/engine_stereo_renderer.cpp):- Removed
d3d11::get_device_snapshot()(avoidingd3d11::graphics_mutexacquisition and 3× COMAddRef/Releasepairs on everyR_SetRenderTarget) and unusedget_current_binding()frombackend_target_select_probe_stub, passingowner_pass->context.Get()and0directly tonote_target_selection(). - Bypassed
h2_query_publish_probe_stubandrecord_h2_query_resultonceengine_stereo_execution::bootstrap_complete()returnstrue.
- Removed
- Avoided
OMGetRenderTargetson ~95% of Non-Display Targets (src/client/component/vr/engine_stereo_owner_pass.cpp):- Moved
OMGetRenderTargetsinside thetarget_index < native_display_contract::target_countbranch ofnote_target_selection(), sparing ~95% of intermediate non-display target switches per eye.
- Moved
- 8-Entry Lock-Free Negative Ring for Sun-Shadow Views (
src/client/component/vr/engine_stereo_sun_shadow.cpp):- Replaced the single-entry negative cache with an 8-entry lock-free
non_matching_viewsring shared acrossdsv_matches_watched()andwrite_view()(reset cleanly inwatch()/unwatch()), eliminating repeatedGetResource()eviction churn when multiple non-sun targets alternate.
- Replaced the single-entry negative cache with an 8-entry lock-free
- Conditional HUD Capture Arming on
DrawIndexed(src/client/component/vr/native_hud_capture.cpp,src/client/component/vr/engine_stereo_draw_indexed.cpp):- Removed permanent
copy_drawregistration inpost_unpack(); armedcopy_drawexclusively aroundnative_hud_capture::handle()and checkedcopy_observerfirst indraw_stub(), short-circuiting 99.9% of 3D worldDrawIndexedcalls.
- Removed permanent
- Streamlined Per-Eye Resource Isolation (
src/client/component/vr/engine_stereo_eye_resources.cpp):- Streamlined
active_isolated_eye()(singleGetCurrentThreadId()call, thread-local checks before cross-core atomics). - Factored
rewrite_admitted_view_synced()sorewrite_admitted_view_batch()validatessync_foreign_caches_on_owner()andforeign_cache_current()once before iterating slots (while preservingwatched_resourcesfromv0.1.0).
- Streamlined
- Version Bump & Test Alignment:
- Bumped
version.jsonto0.2.0([0, 2, 0, 0]) and alignedtests/ui_script_modules_tests.cppwithOptiLord.
- Bumped
Quick Install (5 Steps)
- Ensure you have a complete, legal installation of Call of Duty: Modern Warfare 2 Campaign Remastered (exit the game and close MSI Afterburner / RivaTuner).
- Download
OptiLord-v0.2.0.7zbelow. - Extract all files directly into your MW2CR root folder (beside
MW2CR.exe, keepingoverlord.exe,openxr_loader.dll,overlord.vrmanifest,h2-mod/,steamvr/,vr_input/). - Wake your VR headset and both controllers (OpenXR recommended; OpenVR backup available in VR Settings).
- Launch
overlord.exe, disable risky game settings (Shader Preloading, SSAA, shadow caches), and click Singleplayer.
Archive Checksum (OptiLord-v0.2.0.7z)
- Size:
45,321,532bytes (124 files) - SHA-256:
24E5969B5634A14F4BAC0EF5B0229B29401CFD643ACDA4BEAECA67D05981C4D6