SM-Record
A high-performance recording mod for Scrap Mechanic that captures frames directly from the DirectX 11 render pipeline and saves them as PNG images.
Features
- Real-time frame capture at target FPS from the D3D11 backbuffer
- Minimal overhead via GPU staging textures
- In-game ImGui overlay with start/stop and live preview
- Automatic DLL injection via DebugInjector
- Managed frame queue with debt monitoring
- PNG output with DirectXTex
Quick start
- Windows 10/11 x64, Visual Studio 2022 (C++), vcpkg configured, Scrap Mechanic installed
- Open the solution and build (Debug|x64 or Release|x64)
- Run the injector (F5) to launch and inject
Usage
- Launch the game (overlay appears)
- Start/Stop recording
- Frames saved to your recording folder
60 FPS tip
For perfectly consistent 60 FPS output, pair with a modified SM-TimeScaleModifier that fixes delta time to 0.016.