Skip to content

Releases

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

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

OptiLord v0.6.0 — Dual Shoulder Holsters, Trigger Zone Fixes & Multi-Zone Hover Haptics

Choose a tag to compare

@Technoidvr Technoidvr released this 27 Nov 14:24

OptiLord v0.6.0 — Dual Shoulder Holsters, Trigger Zone Fixes & Multi-Zone Hover Haptics

OptiLord is an independently versioned community performance fork (v0.1.0 → v0.6.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.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.6.0

Dual Shoulder Holsters (Two Two-Handed / Heavy Weapons)

  • Independent Left & Right Shoulder Slots (left_back + right_back): Replaced the single shared shoulder slot with independent symmetric left (Y = +back_width) and right (Y = -back_width) shoulder volumes meeting cleanly at Y = 0 (weapon_carry.hpp, weapon_holsters.hpp, weapon_carry_grip.hpp, weapon_carry_runtime.cpp, weapon_inventory_snapshot.hpp schema = 2), letting players carry two two-handed / heavy weapons simultaneously (right_waist -> left_waist -> right_back -> left_back -> overflow).
  • Launcher Spacing Setting (vr_holsterBackWidth): Adjustable shoulder holster width (0.10–0.40 m, default 0.20 m, step 0.01 m) in VR Settings → Gameplay → Weapon interaction, localized across all 9 launcher languages.

VR Trigger Zone Fixes, Arbitration & Hysteresis

  • 180° Room-Scale & Downward-Pitch Body Tracking (body_pose.hpp): Replaced frozen eye_reference_ with torso-yaw-rotated torso_eye and downward-pitch clamping (std::max(eye[2], 0.f)) so waist, shoulder, chest, and abdomen holsters remain aligned during physical 180° turns and downward head tilts.
  • Unblocked Body Holstering Near Walls (weapon_carry.hpp, weapon_carry_runtime.cpp): Wall clearance checks no longer block releasing weapons into body holsters when standing close to cover or walls.
  • Waist Distance Sync & vr_supportGripLock Auto-Unlock (hand_interaction/frame.hpp, underbarrel_runtime.cpp, weapon_carry_runtime.cpp): Applied the +0.04 m front-belly/torso bonus uniformly across waist and underbarrel interactions, added automatic waist-entry unlock when vr_supportGripLock is enabled, and unified resolve_holster_draw() / resolve_holster_hit().
  • Tighter Trigger Zones & Priority Arbitration (weapon_carry_runtime.cpp, nightvision.hpp, nightvision_runtime.cpp, body_equipment.hpp, special_equipment_policy.hpp): Assigned Priority 16 to foregrip/control interactions, raised NVG Grip from Priority 11 to 18 (above chest/abdomen Priority 20) with a tighter acquisition() box, reduced chest z half-extents (knife .17f, grenade .14f), and added an interior distance gradient to abdominal_grab_distance_at().
  • Exit Hysteresis (quick_reload_runtime.cpp, world_interaction.cpp): Added +4 cm active dwell exit hysteresis and begin/complete haptic cues to Quick Reload, plus +0.35 m / +8° retention hysteresis on active world use_lease interactions.
  • Multi-Zone Hover Readiness Haptics (holster_feedback.hpp, weapon_feedback.{hpp,cpp}, equipment_runtime.{hpp,cpp}, grenade_runtime.{hpp,cpp}, special_equipment_runtime.{hpp,cpp}): Per-zone zone_hover_feedback latching with +4 cm exit margins and distinct hover_zone readiness pulses across left_waist, right_waist, left_back, right_back, chest_knife, chest_tactical, chest_lethal, abdomen, and ammo_pouch.

Option 1 (Recommended): 1-Click Installer (OptiLord-v0.6.0-Setup.exe)

  1. Exit the game and close MSI Afterburner / RivaTuner.
  2. Download and run OptiLord-v0.6.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.6.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.6.0.7z)

  1. Close MW2CR and MSI Afterburner / RivaTuner.
  2. Download OptiLord-v0.6.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, keep debug probes off for normal gameplay, and click Singleplayer.

Checksums

Asset Size SHA-256
OptiLord-v0.6.0-Setup.exe 64,752,071 bytes (125 payload files) B4C7768F3463C8C2172907BED9B15628396D14F656539A3AE84152BC826ABF53
OptiLord-v0.6.0.7z 45,223,870 bytes (125 files) E5C81F5A1482B925F17DC6713C97532C83FAFE2CECC7A93EECEF8619A985BA46

OptiLord v0.5.0 — Clean 1-Click Installer & Uninstaller

Choose a tag to compare

@Technoidvr Technoidvr released this 26 Nov 18:00

OptiLord v0.5.0 — Clean 1-Click Installer & Uninstaller

OptiLord is an independently versioned community performance fork (v0.1.0 → v0.5.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.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).


Option 1 (Recommended): 1-Click Installer (OptiLord-v0.5.0-Setup.exe)

  1. Exit the game and close MSI Afterburner / RivaTuner.
  2. Download and run OptiLord-v0.5.0-Setup.exe below.
  3. Auto-Detection: Automatically searches for your MW2CR folder across Battle.net (Battle.net.config), Windows Uninstall registry keys, previous OptiLord installs, and standard library folders across all fixed drives (Program Files, Games, Epic, Battle.net, SteamLibrary, etc.), with a custom folder picker (Browse...).
  4. Clean Install & Upgrade: Automatically detects and wipes obsolete/stale Overlord/OptiLord binaries (overlord.exe, overlord.pdb, release-info.json, h2-mod/, steamvr/, vr_input/, etc.) before extracting fresh files so old binaries can never cause stale bugs or stutters.
  5. Saves Protected & Clean Removal: Original game files (MW2CR.exe, Data/, main/) and your campaign saves (players2/) are never touched. Installs a lightweight OptiLord-Uninstall.exe (~625 KB) registered under Windows Apps (HKCU).

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

  1. Close MW2CR and MSI Afterburner / RivaTuner.
  2. Download OptiLord-v0.5.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, disable risky game settings (Shader Preloading, SSAA, shadow caches), keep debug probes off for normal gameplay, and click Singleplayer.

Checksums

Asset Size SHA-256
OptiLord-v0.5.0-Setup.exe 64,742,334 bytes (125 payload files) 842ADC7310EBE2C43EB659AEF38C4822DF288AC70CD773AB0EB3EC7BC2908035
OptiLord-v0.5.0.7z 45,217,230 bytes (125 files) 617F91559AFD63E7100835D32D89526EB248A1BD13BC200AAA695915C0A02538

OptiLord v0.4.0 — CPU Contention & Frame Pacing

Choose a tag to compare

@Technoidvr Technoidvr released this 26 Nov 17:37

OptiLord v0.4.0 — CPU Contention & Frame Pacing

OptiLord is an independently versioned community performance fork (v0.1.0 → v0.2.0 → v0.3.0 → v0.4.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 executable remains named overlord.exe (application_key: "overlord", overlord.vrmanifest).


What's New in v0.4.0

Guided directly by real vr_debugWaitTiming telemetry captures (mapname="arcadia", Meta Quest 3 via VirtualDesktopXR, Ryzen 7 5700X, Radeon RX 9070), this release eliminates critical CPU mutex contention and thread-scheduling stalls on the VR render/present pipeline while keeping everything from v0.3.0 (vr_renderScale, 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):

1. Lock-Free Runtime State & Capture Polling

  • src/client/component/vr/runtime_backend.cpp, openxr_runtime.cpp, openvr_runtime.cpp:
    • Added lock-free desired_enabled_atomic_ and applied_enabled_atomic_ mirrors (synchronized across every state transition and publish_status_locked()) so requested_enabled() and applied_enabled() execute via pure std::memory_order_acquire atomic loads with zero mutex locks.
    • Removed redundant runtime_backend facade/dispatch mutex_ locks on requested_enabled(), applied_enabled(), and poll_capture() (preserving choice_.valid guards).
    • Impact: Eliminates the measured 1.0–4.5 ms (up to 87.5 ms max) CPU stalls where H2's Frontend/Renderer thread (r_end_frame_stub) previously blocked behind xrWaitFrame holding mutex_ on the Present thread.

2. Critical VR Thread Priority Pinning

  • src/client/component/vr/vr_component.cpp:
    • Added boost_critical_vr_thread_priority(), setting THREAD_PRIORITY_ABOVE_NORMAL once per critical thread inside on_present_pre(...) (DXGI Present / D3D11 Backend / OpenXR thread) and on_renderer_frame(...) (H2 Frontend / Scene thread).
    • Reduces Windows scheduler preemption and cross-core jitter under heavy multi-core load.

3. Zero-Observer D3D11 Resource-Ops Fast-Path

  • src/client/component/vr/engine_stereo_resource_ops.cpp:
    • Added record_call_if_no_observers() across all 8 intercepted D3D11 resource stubs (CopySubresourceRegion, CopyResource, UpdateSubresource, CopyStructureCount, ClearUnorderedAccessViewUint, ClearUnorderedAccessViewFloat, GenerateMips, ResolveSubresource).
    • Skips _ReturnAddress() lookups, 80-byte event struct construction, and publish() overhead across 500,000+ D3D11 copy/update calls when active_observer_mask == 0 while keeping exact counters and observer semantics intact.

Quick Install Guide (5 Steps)

  1. Ensure you have a complete, legal installation of Call of Duty: Modern Warfare 2 Campaign Remastered (exit the game and close MSI Afterburner / RivaTuner).
  2. Download OptiLord-v0.4.0.7z below.
  3. Extract all files directly into your MW2CR root directory (beside MW2CR.exe), overwriting existing mod files (overlord.exe, openxr_loader.dll, overlord.vrmanifest, h2-mod/, steamvr/, vr_input/).
  4. Power on your VR headset and wake both controllers (OpenXR is recommended; OpenVR backup is available in VR Settings).
  5. Launch overlord.exe, disable risky settings (Shader Preloading, SSAA, shadow caches), keep debug probes off for normal play (VR Settings > Debug), and click Singleplayer.

Recommended Performance Settings (Wolverines! / Exodus)

Open VR Settings → Basics → Performance in the OptiLord Launcher:

  • Render scale (vr_renderScale): 100% (or 80%–90% if GPU-bound)
  • FidelityFX CAS sharpening (vr_sharpening): 35%–50%
  • Hidden area mesh (vr_hiddenAreaMesh): Enabled (default)

Archive Checksum (OptiLord-v0.4.0.7z)

  • Size: 45,212,978 bytes (125 files)
  • SHA-256: DA0166E0948A890CDDFF63FDF7FAB938810E09091EEC87531AFF728AFDF3CD54

OptiLord v0.3.0 — GPU Render Scale, FidelityFX CAS Sharpening & OpenXR Hidden Area Mesh

Choose a tag to compare

@Technoidvr Technoidvr released this 25 Nov 16:29

OptiLord v0.3.0 — GPU Render Scale, FidelityFX CAS Sharpening & OpenXR Hidden Area Mesh

OptiLord is an independently versioned community performance fork (v0.1.0 → v0.2.0 → v0.3.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 executable remains named overlord.exe (application_key: "overlord", overlord.vrmanifest). All documentation and GitHub release notes from v0.1.0 through v0.3.0 are now standardized in English.


What's New in v0.3.0

Built on top of v0.2.0 (CPU dense-scene optimizations) and v0.1.0 (streaming anti-stutter & Phases 1–4 DX11 optimizations), this release directly tackles GPU pixel-shader cost in dense missions such as Wolverines!:

1. Decoupled VR Render Scale (vr_renderScale, 50% – 120%)

  • Scales the internal 3D stereo scene resolution (scene_width_ × scene_height_, 8-pixel aligned via vr::render_tuning::scale_extent) while keeping the OpenXR/OpenVR compositor swapchains and native VR HUD/menus at 100% native headset crispness.
  • Integrated into openxr_runtime.cpp, openvr_runtime.cpp, engine_scene_resolution, and vr_component.cpp (default 100%, takes effect on restart or vr_reinit).

2. Linear-Space AMD FidelityFX CAS (vr_sharpening, 0% – 100%)

  • Implements 5-tap AMD FidelityFX Contrast Adaptive Sharpening directly inside the texture_blit OpenXR presentation shader (R11G11B10_FLOAT linear space with non-negative output guard).
  • Preserves the zero-shader hardware CopyResource fast-path at 100% render scale + 0% sharpening + dim == 0. When lowering vr_renderScale (e.g. 85%) and setting vr_sharpening around 35%–50%, fine edges, foliage, and sights stay crisp live with zero restart required.

3. OpenXR Hidden Area Mesh (XR_KHR_visibility_mask / vr_hiddenAreaMesh)

  • Queries xrGetVisibilityMaskKHR(XR_VISIBILITY_MASK_TYPE_HIDDEN_TRIANGLE_MESH_KHR) per eye (and handles XR_TYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHR).
  • Pre-stamps the invisible lens corners into each eye's reverse-Z depth buffer (z = 1.0) right after H2's reverse-Z ClearDepthStencilView via a state-restoring marked deferred ID3D11CommandList, allowing Early-Z / Hi-Z to skip fragment shading in peripheral pixels the lenses never show.

4. Launcher UI & 9-Language Localization

  • Added VR Settings → Basics → Performance (vr_renderScale, vr_sharpening, vr_hiddenAreaMesh) with full localized labels and hints across all 9 languages (de, en, es, fr, ja, ko, ru, zh-CN, zh-TW).

Recommended Settings for Heavy Outdoor Missions (Wolverines!)

Open VR Settings → Basics → Performance in the OptiLord Launcher:

  • Render scale (vr_renderScale): 80% – 90% (requires restart / vr_reinit)
  • FidelityFX CAS sharpening (vr_sharpening): 35% – 50% (applies live)
  • Hidden area mesh (vr_hiddenAreaMesh): Enabled (default)

Quick Install Guide (5 Steps)

  1. Ensure you have a complete, legal installation of Call of Duty: Modern Warfare 2 Campaign Remastered (exit the game and close MSI Afterburner / RivaTuner).
  2. Download OptiLord-v0.3.0.7z below.
  3. Extract all files directly into your MW2CR root directory (beside MW2CR.exe), preserving the folder structure (overlord.exe, openxr_loader.dll, overlord.vrmanifest, h2-mod/, steamvr/, vr_input/).
  4. Power on your VR headset and wake both controllers (OpenXR is recommended; OpenVR backup is available in VR Settings).
  5. Launch overlord.exe, disable risky settings (Shader Preloading, SSAA, shadow caches), and click Singleplayer.

Archive Checksum (OptiLord-v0.3.0.7z)

  • Size: 45,211,222 bytes (125 files)
  • SHA-256: 56F18B7140CCF67254BA62DAB3DD7901EF8BB469CD26B60709C160C5A80BD77D

OptiLord v0.2.0 — Dense-Scene CPU Hot-Path Optimizations (Operation Wolverines)

Choose a tag to compare

@Technoidvr Technoidvr released this 25 Nov 08:26

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:

  1. Lock-Free Target Selection & Post-Bootstrap Probe Bypass (src/client/component/vr/engine_stereo_renderer.cpp):
    • Removed d3d11::get_device_snapshot() (avoiding d3d11::graphics_mutex acquisition and 3× COM AddRef/Release pairs on every R_SetRenderTarget) and unused get_current_binding() from backend_target_select_probe_stub, passing owner_pass->context.Get() and 0 directly to note_target_selection().
    • Bypassed h2_query_publish_probe_stub and record_h2_query_result once engine_stereo_execution::bootstrap_complete() returns true.
  2. Avoided OMGetRenderTargets on ~95% of Non-Display Targets (src/client/component/vr/engine_stereo_owner_pass.cpp):
    • Moved OMGetRenderTargets inside the target_index < native_display_contract::target_count branch of note_target_selection(), sparing ~95% of intermediate non-display target switches per eye.
  3. 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_views ring shared across dsv_matches_watched() and write_view() (reset cleanly in watch() / unwatch()), eliminating repeated GetResource() eviction churn when multiple non-sun targets alternate.
  4. 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_draw registration in post_unpack(); armed copy_draw exclusively around native_hud_capture::handle() and checked copy_observer first in draw_stub(), short-circuiting 99.9% of 3D world DrawIndexed calls.
  5. Streamlined Per-Eye Resource Isolation (src/client/component/vr/engine_stereo_eye_resources.cpp):
    • Streamlined active_isolated_eye() (single GetCurrentThreadId() call, thread-local checks before cross-core atomics).
    • Factored rewrite_admitted_view_synced() so rewrite_admitted_view_batch() validates sync_foreign_caches_on_owner() and foreign_cache_current() once before iterating slots (while preserving watched_resources from v0.1.0).
  6. Version Bump & Test Alignment:
    • Bumped version.json to 0.2.0 ([0, 2, 0, 0]) and aligned tests/ui_script_modules_tests.cpp with OptiLord.

Quick Install (5 Steps)

  1. Ensure you have a complete, legal installation of Call of Duty: Modern Warfare 2 Campaign Remastered (exit the game and close MSI Afterburner / RivaTuner).
  2. Download OptiLord-v0.2.0.7z below.
  3. Extract all files directly into your MW2CR root folder (beside MW2CR.exe, keeping overlord.exe, openxr_loader.dll, overlord.vrmanifest, h2-mod/, steamvr/, vr_input/).
  4. Wake your VR headset and both controllers (OpenXR recommended; OpenVR backup available in VR Settings).
  5. 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,532 bytes (124 files)
  • SHA-256: 24E5969B5634A14F4BAC0EF5B0229B29401CFD643ACDA4BEAECA67D05981C4D6

OptiLord v0.1.0 — OptiLord Identity, DX11 Pipeline & Streaming Anti-Stutter

Choose a tag to compare

@Technoidvr Technoidvr released this 25 Nov 08:15

OptiLord v0.1.0 — Dedicated Identity, DX11 Pipeline & Streaming Anti-Stutter

OptiLord is an independently versioned optimization and VR reliability edition (v0.1.0 → v0.2.0 → v0.3.0+) 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, without whom this project would not exist.

Newer release available: Check the Releases page for v0.3.0+, which adds CPU dense-scene optimizations (v0.2.0), decoupled VR render scale, AMD FidelityFX CAS sharpening, and OpenXR Hidden Area Mesh (v0.3.0).


Key Changes in v0.1.0

1. OptiLord Identity & 9-Language Launcher

  • Independent versioning starting at 0.1.0 (version.json).
  • Updated product::name (OptiLord), Windows PE metadata, SteamVR manifest title (OptiLord (Overlord VR)), and launcher strings across all 9 supported languages (en, fr, de, es, ja, ko, ru, zh-CN, zh-TW), explicitly crediting Overlord Beta 8 and Aeka0.
  • Preserves the overlord.exe executable name (application_key: "overlord", overlord.vrmanifest) for seamless SteamVR profile compatibility.

2. Anti-Stutter Streaming & Loading Fixes

  • Lock-free streamer view filtering (engine_stereo_eye_resources.cpp): Added a seqlock-protected watched_resources table so background texture streaming (Create*View on non-stereo resources) no longer flushes cache.foreign or triggers 768-SRV re-scans, while preserving strict ABA detection on tracked stereo targets.
  • Zero-syscall texture diagnostics (texture_diagnostics.cpp): Replaced per-texture ReadProcessMemory(GetCurrentProcess(), ...) kernel syscalls in copy_pointer() with SEH __try/__except std::memcpy, added identity_count high-water mark to bound slot scans, and relaxed pre-checks in begin_active() to eliminate cache-line bouncing.
  • Cached Bnet file size & I/O synchronization (database.cpp): Cached file size once on open in bnet_file_handle_t (avoiding repeated seekg(end)/tellg() calls on every read) and guarded bnet_file_handles / handle_allocator with std::mutex bnet_file_handles_mutex (unlocking before invoking fallback hooks).

3. Included Phase 4 DX11 / OpenXR / HUD Optimizations

  • Direct shaderless CopyResource OpenXR eye blit when encoding::linear, dim == 0, and dimensions/formats match (texture_blit.cpp).
  • Sound cache.foreign validation, dirty-checked OMSetRenderTargets* / CSSetUnorderedAccessViews / set_shader_resources, and touched_srv_stages / post_restore_dirty tracking (engine_stereo_eye_resources.cpp).
  • Merged single-CommandList execution and cached COM descriptors in spatial_panel_renderer.cpp, plus cached D3D11 states and relaxed counters in native_hud_capture.cpp.

4. Included Base (Phases 1–3 & VR Gameplay Fixes)

  • Memory & PE: Lazy storage (SizeOfImage 282.9 MB → 111.7 MB, raw TLS template −98.2%).
  • CPU / DX11 / OpenXR: AVX2 build (/O2 /Ob3 /arch:AVX2), DXGI_FORMAT_R11G11B10_FLOAT swapchain preference, single-Flush() stereo submission, XR_EXT_performance_settings, 2D VSync decoupling, 1 ms timer resolution, ABOVE_NORMAL_PRIORITY_CLASS.
  • VR Gameplay Fixes: Room-scale physical doorway collision sync (roomscale_origin), assault-rifle shoulder/back holster bitmask fix + synchronized haptics + automatic off-hand release, and expanded belt ammo pouch / charging handle grab tolerances.

Archive Checksum (OptiLord-v0.1.0.7z)

  • Size: 45,324,891 bytes (124 files)
  • SHA-256: 0AA2549024CB82766877785089B69819417C64802F70E1A79917F2BA7470491D

Legacy Pre-OptiLord Build (Overlord Beta 8 Fork v1 — Superseded)

Choose a tag to compare

@Technoidvr Technoidvr released this 24 Nov 17:52

Superseded legacy build: Please download the latest OptiLord release (v0.3.0+) from the Releases page instead.

This was the initial pre-OptiLord prototype snapshot prior to independent OptiLord versioning (v0.1.0, v0.2.0, v0.3.0).

Huge thanks to Aeka0, creator of Overlord VR, on whose Beta 8 release this fork is built.