Repository navigation
OptiLord v0.7.0 — Generalized Sun Shadow Reuse, CommandList Caching & PIP Scope Optimization
Pre-releaseOptiLord v0.7.0 — Generalized Sun Shadow Reuse, CommandList Caching, Triple-Buffered Ring & PIP Scope Optimization
OptiLord is an independently versioned community performance fork (v0.1.0 → v0.7.0) maintained by TechnoidVR for Call of Duty: Modern Warfare 2 Campaign Remastered VR, built on Overlord VR Beta 8.
Huge thanks to Aeka0, original creator of Overlord VR, for the foundational VR mod.
SteamVR compatibility note: To keep existing SteamVR profiles, manifests, and bindings working seamlessly, the game executable remains named
overlord.exe(application_key: "overlord",overlord.vrmanifest). Includes everything fromv0.6.0(dual shoulder holsters, trigger-zone fixes & multi-zone hover haptics),v0.5.0(clean 1-click installer & uninstaller),v0.4.0(lock-free CPU frame pacing),v0.3.0(GPU Render Scale, FidelityFX CAS, OpenXR Hidden Area Mesh),v0.2.0(dense-scene CPU hot-path fixes), andv0.1.0(streaming anti-stutter & Phases 1–4).
What's New in v0.7.0
Generalized Sun Shadow Reuse & Diagnostics
- Unblocked Multi-Resolution, Cascade, Transparent & Auxiliary Sun Shadow Reuse (
engine_stereo_sun_shadow.{hpp,cpp},engine_stereo_owner_pass.{hpp,cpp}): Removed hardcoded2048px/3 configured/2 active/transparent_enabled == 0/main_target == 26/auxiliaryexclusions that preventedsun_shadow_reusefrom firing when shadow settings or scenes differed. Now supports{512, 1024, 2048, 4096}tiles,{2, 3, 4}configured cascades (1..configuredactive), main targets{26, 27}, optional transparent sun-shadow targets{28, 29}under dual watched-resource tracking, static-onlyend >= beginpasses, and auxiliary scope views. - Granular Telemetry Counters (
diagnostics/owner_status.cpp): Extendedsun_shadow_reuse:diagnostics withskipped_aux,reject(contract/cache/delegated/tex/post_left/mismatch), andlast(tile/cfg/act/main/trans/tr_en/cache)fields so diagnostics show live hit rate and exact rejection reasons immediately.
DX11 CommandList Caching & CPU Hot-Path Relief
- Cached
ID3D11CommandListPlayback (hidden_area_mask.hpp,texture_blit.{hpp,cpp}): Cached recorded deferred command lists per eye(context, dsv, width, height, revision)inhidden_area_maskand per(source, destination, width, height, format)intexture_blit(updating the 32-byte shader constant buffer only when parameters change), removing per-frame COM descriptor queries and driver command-list compilations. - Scoped Dynamic-Arena Validation (
engine_stereo_dynamic_arena.{hpp,cpp},engine_stereo_owner_pass.{hpp,cpp}): Addedvalidation_scopereused within synchronous owner views to avoid redundantK32QueryWorkingSetExkernel syscalls across dynamic-index geometry boundaries while retaining per-call SEH bounds protection and strict read/write promotion guards. - Idle
draw_stubBypass & Cached Source Device Check (engine_stereo_execution.{hpp,cpp},engine_stereo_draw_indexed.cpp,native_render_session.cpp): Bypassed_ReturnAddress()and observer bookkeeping indraw_stub()when no draw observer or transaction is active (needs_draw_indexed_observation()), and skipped redundanttexture_uses_device()COM queries incopy_eye()for already-cached sources.
Triple-Buffered Stereo Ring & PIP Scope Cost Reduction
- Triple-Buffered Copy Ring & Stale-Family Fix (
native_render_session.hpp,engine_stereo_bridge.cpp): Increasednative_render_session::pair_countfrom2to3to preventadmit_pairslot starvation during pipelined OpenXR capture, and updatedtake_view_family_for_frontend()so already-completed (0x3u) families are never re-issued when no successor is queued (reducing wastedfrontend_pair_unavailablemono frames). vr_scopeRenderMode(on/thermal_only/off) & Effect Stripping (settings.hpp,gameplay/optic_runtime.cpp,native_post_aa.cpp,engine_stereo_owner_pass.cpp): Exposed Scope PIP rendering in VR Settings → Basics → Performance across all 9 launcher languages (93settings total). SettingThermal onlyuses lightweight same-eye magnified lens zoom for standard optical scopes while keeping full independent PIP rendering for thermal scopes — recommended on CPU-limited systems. Even inFull PIPmode, glass auxiliary scope views now skip redundant Post-AA (native_post_aa.cpp) and SSR (thermal_scene::ssr_offset = 0).
Option 1 (Recommended): 1-Click Installer (OptiLord-v0.7.0-Setup.exe)
- Exit the game and close MSI Afterburner / RivaTuner.
- Download and run
OptiLord-v0.7.0-Setup.exebelow. - Auto-Detection & Clean Upgrade: Automatically locates MW2CR, removes stale/obsolete Overlord & OptiLord binaries (
overlord.exe,overlord.pdb,release-info.json,h2-mod/,steamvr/,vr_input/, etc.) before extracting freshv0.7.0files, while never touching game files (MW2CR.exe,Data/,main/) or campaign saves (players2/). IncludesOptiLord-Uninstall.exeregistered under Windows Apps (HKCU).
Option 2: Manual Archive (OptiLord-v0.7.0.7z)
- Close MW2CR and MSI Afterburner / RivaTuner.
- Download
OptiLord-v0.7.0.7zbelow and extract all contents directly into your MW2CR root folder (besideMW2CR.exe), overwriting existing mod files. - Power on your VR headset and controllers (OpenXR recommended), launch
overlord.exe, open VR Settings → Basics → Performance (for heavy outdoor levels / CPU-limited rigs, considervr_renderScale80%–90% +vr_scopeRenderMode=Thermal only), keep debug probes off for normal play, and click Singleplayer.
Checksums
| Asset | Size | SHA-256 |
|---|---|---|
OptiLord-v0.7.0-Setup.exe |
64,764,819 bytes (125 payload files) |
907610D05209959D27EC74A9E8291CBDF0366822DF29BE726D7B0F75D72C173A |
OptiLord-v0.7.0.7z |
45,228,064 bytes (125 files) |
E6B115E5B0330898149E3502E0C267991B6E9DAE7AE918CEBAC76BD15A6869BB |