Skip to content

OptiLord v0.7.0 — Generalized Sun Shadow Reuse, CommandList Caching & PIP Scope Optimization

Pre-release
Pre-release

Choose a tag to compare

@Technoidvr Technoidvr released this 27 Nov 15:39

OptiLord 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 from v0.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), and v0.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 hardcoded 2048px / 3 configured / 2 active / transparent_enabled == 0 / main_target == 26 / auxiliary exclusions that prevented sun_shadow_reuse from firing when shadow settings or scenes differed. Now supports {512, 1024, 2048, 4096} tiles, {2, 3, 4} configured cascades (1..configured active), main targets {26, 27}, optional transparent sun-shadow targets {28, 29} under dual watched-resource tracking, static-only end >= begin passes, and auxiliary scope views.
  • Granular Telemetry Counters (diagnostics/owner_status.cpp): Extended sun_shadow_reuse: diagnostics with skipped_aux, reject(contract/cache/delegated/tex/post_left/mismatch), and last(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 ID3D11CommandList Playback (hidden_area_mask.hpp, texture_blit.{hpp,cpp}): Cached recorded deferred command lists per eye (context, dsv, width, height, revision) in hidden_area_mask and per (source, destination, width, height, format) in texture_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}): Added validation_scope reused within synchronous owner views to avoid redundant K32QueryWorkingSetEx kernel syscalls across dynamic-index geometry boundaries while retaining per-call SEH bounds protection and strict read/write promotion guards.
  • Idle draw_stub Bypass & Cached Source Device Check (engine_stereo_execution.{hpp,cpp}, engine_stereo_draw_indexed.cpp, native_render_session.cpp): Bypassed _ReturnAddress() and observer bookkeeping in draw_stub() when no draw observer or transaction is active (needs_draw_indexed_observation()), and skipped redundant texture_uses_device() COM queries in copy_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): Increased native_render_session::pair_count from 2 to 3 to prevent admit_pair slot starvation during pipelined OpenXR capture, and updated take_view_family_for_frontend() so already-completed (0x3u) families are never re-issued when no successor is queued (reducing wasted frontend_pair_unavailable mono 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 (93 settings total). Setting Thermal only uses 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 in Full PIP mode, 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)

  1. Exit the game and close MSI Afterburner / RivaTuner.
  2. Download and run OptiLord-v0.7.0-Setup.exe below.
  3. 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 fresh v0.7.0 files, while never touching game files (MW2CR.exe, Data/, main/) or campaign saves (players2/). Includes OptiLord-Uninstall.exe registered under Windows Apps (HKCU).

Option 2: Manual Archive (OptiLord-v0.7.0.7z)

  1. Close MW2CR and MSI Afterburner / RivaTuner.
  2. Download OptiLord-v0.7.0.7z below and extract all contents directly into your MW2CR root folder (beside MW2CR.exe), overwriting existing mod files.
  3. Power on your VR headset and controllers (OpenXR recommended), launch overlord.exe, open VR Settings → Basics → Performance (for heavy outdoor levels / CPU-limited rigs, consider vr_renderScale 80%–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