Vespera: A Non-Invasive Runtime Memory Probe and Multiplayer Retrofitting Architecture for Closed-Source 3D Games

Retrofitting cooperative multiplayer or live state synchronization onto closed-source, single-player 3D games without engine source code or debug symbols is typically implemented as fragile, one-off DLL mods that entangle memory offsets, rendering hooks, blocking network I/O, and ad-hoc unload logic. We present Vespera, a modular Windows x64 C++20 runtime engine that decouples non-invasive binary instrumentation from game-specific state synchronization. Building upon our prior multi-level pointer-chain localization framework (mem-pointer-lab, DOI: 10.5281/zenodo.24587442), Vespera introduces four synergistic mechanisms: (1) an AVX2/SSE2 signature scanner and a VAD-region read cache with SEH PAGE_GUARD re-arming that eliminates a 22x kernel Virtual Address Descriptor (VAD) traversal bottleneck observed in real 3D engine heaps; (2) a frame-loop hook layer (DX11 Present, OpenGL wglSwapBuffers, and generic tick targets) protected by atomic InFlightGuard quiescence for crash-free hot unloading; (3) a lock-free SPSC NetBridge isolating the game thread from transport I/O (ENet UDP and Steamworks P2P), paired with an epoch-fenced SceneTransitionBarrier; and (4) dual hot-reloadable adapters via shadow-copied C++ plugin DLLs and sandboxed Lua/Sol2 scripts. Across 84 automated unit/integration tests, a 300-trial fault-injected barrier suite (0 deadlocks), a 50-cycle hot-unload stress test (100% target survival), and live end-to-end validation on an unmodified Godot 4.3-stable 3D engine (300 FPS), Vespera achieves 0.0000 3D coordinate sync error (1.6-3.2 ms latency), 20/20 crash-free inject/unload cycles, and reduces host frame-callback overhead from 65.7 us (1.95% frame budget) to 9.12 us (0.26% frame budget, 7.2x speedup) using a 68-LoC Lua adapter.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24630411
Primary Topic
Security and Verification in Computing
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Vespera: A Non-Invasive Runtime Memory Probe and Multiplayer Retrofitting Architecture for Closed-Source 3D Games

Siyuan Li
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
preprint

Vespera: A Non-Invasive Runtime Memory Probe and Multiplayer Retrofitting Architecture for Closed-Source 3D Games

Siyuan Li
preprint en

Abstract

Retrofitting cooperative multiplayer or live state synchronization onto closed-source, single-player 3D games without engine source code or debug symbols is typically implemented as fragile, one-off DLL mods that entangle memory offsets, rendering hooks, blocking network I/O, and ad-hoc unload logic. We present Vespera, a modular Windows x64 C++20 runtime engine that decouples non-invasive binary instrumentation from game-specific state synchronization. Building upon our prior multi-level pointer-chain localization framework (mem-pointer-lab, DOI: 10.5281/zenodo.24587442), Vespera introduces four synergistic mechanisms: (1) an AVX2/SSE2 signature scanner and a VAD-region read cache with SEH PAGE_GUARD re-arming that eliminates a 22x kernel Virtual Address Descriptor (VAD) traversal bottleneck observed in real 3D engine heaps; (2) a frame-loop hook layer (DX11 Present, OpenGL wglSwapBuffers, and generic tick targets) protected by atomic InFlightGuard quiescence for crash-free hot unloading; (3) a lock-free SPSC NetBridge isolating the game thread from transport I/O (ENet UDP and Steamworks P2P), paired with an epoch-fenced SceneTransitionBarrier; and (4) dual hot-reloadable adapters via shadow-copied C++ plugin DLLs and sandboxed Lua/Sol2 scripts. Across 84 automated unit/integration tests, a 300-trial fault-injected barrier suite (0 deadlocks), a 50-cycle hot-unload stress test (100% target survival), and live end-to-end validation on an unmodified Godot 4.3-stable 3D engine (300 FPS), Vespera achieves 0.0000 3D coordinate sync error (1.6-3.2 ms latency), 20/20 crash-free inject/unload cycles, and reduces host frame-callback overhead from 65.7 us (1.95% frame budget) to 9.12 us (0.26% frame budget, 7.2x speedup) using a 68-LoC Lua adapter.

Zenodo (CERN European Organization for Nuclear Research)
China University of Mining and Technology (CN)
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon