Skip to main content

RPS Framework

Released. Public source on GitHub.

FO4VR 1.2.72 · C++23 · static libraries

Use the engine boundary without rebuilding the reverse engineering.

RPS Framework packages the native addresses, corrected VR layouts, checked calls, physics epochs, and ownership rules proven by ROCK, PAPER, SCISSORS, and the ROCK addons. Mods call typed operations instead of scattering raw RVAs and guessed engine lifetimes through their own code.

RuntimeFO4VR 1.2.72 only
Linkage3 static libraries
Surface34 runtime headers
PolicyFail closed

What RPS provides​

RPS has three libraries:

  • RPS::Addresses is the versioned address and layout library. It records functions, globals, vtables, callsites, patch sites, source project, and runtime evidence without turning an RVA into an unchecked engine call.
  • RPS::Runtime is the checked function library. It validates the running executable, memory, native identity, thread/physics context, inputs, postconditions, and ownership before or after calling the engine.
  • RPS::Settings is the TOML settings store a mod uses for its player and developer files, with a one-time migration from its old INI files. See settings, caller naming and hook chaining.

The runtime layer covers body reads and writes, world access, ray and shape casts, collision filters, shapes, generated colliders, constraints, impacts, animation generator output, ragdolls, scene hierarchy, character state and movement, followed audio, and owned point lights.

RPS is not an F4SE plugin and does not load itself. Your DLL remains responsible for its F4SE bootstrap, lifecycle, engine object discovery, feature policy, and shutdown ordering. RPS gives that DLL reusable mechanics; it does not decide what your mod should do.

Choose the right integration​

CommonLibF4VR and CommonFramework​

Use shared-library declarations for standalone aliases that those libraries already supply. RPS keeps its checked operations, ownership services, and FO4VR corrections where the contracts differ. The 2026-09-11 catalog cleanup removed duplicate aliases while preserving the runtime APIs and existing static-library dependencies.

See shared declarations and retained RE-backed differences for the migration table and the rule for choosing an implementation.

RPS Framework and ROCK's provider API are different tools​

Use RPS Framework when your plugin needs to call FO4VR engine mechanics inside its own DLL. The framework is statically linked and can expose native objects, so the consumer must obey engine threading, lifetime, and physics rules.

Use ROCK's provider API when your addon wants ROCK's live interaction state or wants ROCK to arbitrate hands, weapons, contacts, grabs, visual authority, or external bodies. That API is a cross-DLL provider contract; it deliberately does not grant arbitrary native memory access.

A plugin may use both. Link RPS for its own native mechanics and use ROCK's provider API for coordinated interaction with ROCK.

Compatibility boundary​

The current package version is 0.1.0 and supports only the 64-bit Fallout4VR.exe file version 1.2.72.0. RuntimeModule::detect() rejects a missing module, the wrong executable, an invalid PE image, and every unsupported runtime before an RPS wrapper resolves an address.

That check is separate from F4SEVR's query compatibility value. Your plugin must still implement a correct F4SEVR Query/Load gate and must not compare the query compatibility value with the VR executable version constant.

Next: install and link the package, then build the first integration.

Current source boundary​

For Power Armor interactions, use ROCK's provider API: a plugin can link RPS::Runtime and include ROCK's own headers, register one Core owner through ROCKAPI_QueryInterfaceV1, then bind Grab Read + Write for queryPowerArmorTarget and requestPowerArmorGrab (Grab). Classification, copied armor-hand poses, and point-grab commands remain ROCK-owned behavior and introduce no native PA wrapper into this static library.

The native library API is unchanged by ROCK's provider API. The static library remains distinct from RPS UI, the runtime panel host and its headers, and from ROCK's and PAPER's provider headers. Later product-specific reload, skeleton-presentation and human-locomotion fixes remain in their product repositories; they are not implied additions to these native wrappers. See the runtime stack map.