← All work

RGGFramework

In-process diagnostics that do not destabilise the process they measure

Engineering research · Mar 2026 – present

RGGFramework diagnostic overlay during a verified runtime build

The problem

Studying a proprietary engine's asset and render pipeline means observing it at runtime, and doing that without destabilising the host process: a diagnostic tool that crashes what it is measuring is worse than no tool.

Approach

  • A generic DXGI/D3D12 overlay bootstrap with native x64 injection, a Win32 window-proc toggle path, and fail-closed render-fault detection.
  • ContentLoadTraceModule, which hooks CreateFileW to categorise and record loaded engine assets live, with string allocation tuned hard to hold gameplay framerate.
  • Overlay state synchronisation hardened with recursive mutexes after hook re-entrancy produced DX12 draw-path deadlocks.
  • Reproducible builds via CMake and PowerShell deployment, with SHA-256 host fingerprinting so the framework only runs against engine builds it supports.

Outcome

An alpha diagnostic framework with an explicit one-build support boundary; other versions and general runtime compatibility remain unverified.

Built with

  • C++
  • DirectX 12
  • MinHook
  • Dear ImGui
  • CMake

Repository