Skip to content

About

NVIDIA DLSS and AMD FSR upscaling and frame generation for Arma 3 (source of dinput8.dll and helper64.exe, reproducible builds)

Resources

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

Upscaling and Framegen for Arma 3

NVIDIA DLSS and AMD FSR upscaling and frame generation for Arma 3 (64-bit, Direct3D 11). Beta.

  • Upscaling: DLAA / Native AA, Quality, Performance - NVIDIA DLSS on GeForce RTX, AMD FSR on every other card
  • Frame generation: NVIDIA DLSS Frame Generation 2x / 3x / 4x (RTX 40 / 50), AMD FSR Frame Generation 2x (others)
  • Motion vectors per object: soldiers, vehicles, swaying grass and bushes, your weapon and hands get their own motion, so they do not smear or ghost
  • Settings panel in game (F11): mode, frame generation, upscaler, motion vectors, sharpness, DLSS preset, frame cap, V-Sync, FPS counter

Singleplayer, the editor and servers without BattlEye only: with BattlEye the mod stays off by itself.

Download and install

Get Arma3UpscalingFramegen_<version>.zip from Releases, close the game and extract it into the Arma 3 folder (the one with arma3_x64.exe). Start the game without BattlEye, set FSAA and PPAA off in Arma's video options, press F11. Full instructions, requirements and licences: FrameBridge\README.txt in the download.

Installed from the Steam Workshop item instead (subscribe, run its install.bat once), the mod updates itself: when Steam updates the item, the new version is copied in the next time the game starts. The download from Releases does not update itself; extract a newer one over it.

How it works

dinput8.dll is loaded by the game (it forwards DirectInput to Windows). It watches the game's Direct3D 11 frame, takes the picture before the UI is drawn, the depth and the camera, jitters the projection, builds motion vectors (the camera's, plus each moving object's from its vertex shader run twice with this and last frame's constants) and hands everything to FrameBridge\helper64.exe. That 64-bit Direct3D 12 helper runs NVIDIA Streamline (DLSS, DLSS Frame Generation, Reflex) or AMD FSR and presents the result in the game's window. The game's files and settings are never changed.

File What it does
proxy.c The dinput8.dll proxy: forwards DirectInput, starts the mod in arma3_x64.exe when FrameBridge\helper64.exe is next to it (never with BattlEye), keeps the log short
update.c The self-update for Steam Workshop installs: at each start, a newer dinput8.dll in the subscribed item (the one its install.bat recorded) replaces this one for the next start, and its FrameBridge files follow; no network, never a downgrade
bridgeprobe.c Hooks on the game's Direct3D 11 device: finds the scene, depth and camera, jitter, per-object motion vectors, the settings and the F11 panel's actions
fgbridge.c The hand-off to the helper: shared textures and fences, camera motion vectors, sharpening (AMD FidelityFX RCAS, MIT licence), pacing
fgpanel.c The F11 settings panel
armarender.c Arma's render size (the upscaler's modes): finds the game's own setting by its code pattern and refuses to touch anything that does not match
fgb_proto.h The block shared between dinput8.dll and the helper
helper/ helper64.exe, the 64-bit Direct3D 12 helper: NVIDIA Streamline (DLSS, DLSS Frame Generation, Reflex) or AMD FSR upscaling and frame generation, and the present to the game's window
tests/ The glue run on a real Direct3D 11 device with a stubbed helper: motion vectors, masks, pacing, the panel, settings, the release layout

dinput8.dll and helper64.exe are one release: both are built from this repository. NVIDIA's and AMD's files ship unmodified in the download.

Building

Needs llvm-mingw release 20261006 (UCRT, x86_64 host), its bin folder on PATH. Run build.bat (build.bat test also runs the tests; they need a Direct3D 11 GPU). The build is reproducible: build\dinput8.dll has exactly the SHA-256 in dinput8.dll.sha256, the DLL in the released package.

The helper: helper\build_helper.bat with NVIDIA's Streamline SDK 2.14.16 and the AMD FSR SDK 2.4.0 headers (where to get them and their checksums are in the script); helper\build\helper64.exe has exactly the SHA-256 in helper64.exe.sha256. GitHub builds both (Build workflow) and fails unless both hashes match.

License

See LICENSE: the source is published for review and for building it yourself, it is not open source.

This project uses NVIDIA DLSS, NVIDIA Reflex and NVIDIA Streamline. NVIDIA, GeForce RTX, DLSS, Reflex and Streamline are trademarks and/or registered trademarks of NVIDIA Corporation. AMD, FidelityFX and FSR are trademarks of Advanced Micro Devices, Inc. This project is not made or endorsed by NVIDIA, AMD or Bohemia Interactive.

About

NVIDIA DLSS and AMD FSR upscaling and frame generation for Arma 3 (source of dinput8.dll and helper64.exe, reproducible builds)

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages