Skip to content

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PushFPS Native

Frame generation, HDR and a live settings menu for your single-player PC games.

PushFPS Native sits between a game and Windows and works on every frame the game shows: it makes the frames in between, turns an SDR picture into HDR, sharpens it, and lets you tune all of it while you play.

Download for Windows   Website   Discord

Latest release Build License: GPL-3.0

Part of the PushFPS family. PushFPS is for consoles through a capture card; PushFPS Native is for games on your PC.


The PushFPS Native menu open over a game, on its frame generation tab

The menu's HDR tab: peak brightness, paper white, highlights, colour and the game's gamma The menu's picture tab: sharpening, brightness, contrast and saturation

The menu over a test scene, photographed by the build on Windows' software renderer.


Warning

Single-player games without anti-cheat only. PushFPS Native runs inside the game's own process and changes what the game draws. That is exactly what anti-cheat software is built to find, and it cannot tell a frame rate tool from a cheat: using PushFPS Native in a game with anti-cheat, or in any online game, can get your account banned, and some bans are permanent. PushFPS Native refuses to install where it finds an anti-cheat and switches itself off in such games, but it cannot know every game. When in doubt, leave it out.

What it does

Frame generation
2X, 3X or 4X: PushFPS Native works out how everything on screen moves between two of the game's frames and draws the frames in between on your graphics card. A 60 FPS game fills a 120 or 240 Hz screen.

Native HDR
An SDR game on an HDR screen: mid tones stay where the game put them, highlights go up to your screen's peak. Peak brightness, paper white, highlights and colour are yours to set.

Tune it while you play
Ctrl+Shift+N opens the menu over the game. Every change shows at once and is kept for that game. The menu is laid over the finished picture, so it never smears.

HUDs stay sharp
A HUD, crosshair or map that stands still is shown exactly as the game drew it in the made frames, instead of being dragged along with the world behind it.

Picture
Contrast-adaptive sharpening that adds no halos, plus brightness, contrast and saturation.

Steady frame rates
A frame rate limit for the game, two pacing modes (V-Sync without tearing, or VRR for G-SYNC and FreeSync screens) and an on-screen frame rate readout.

Works with any graphics card that runs Direct3D 11: NVIDIA, AMD and Intel. Nothing from a graphics card maker is needed or included; the frame generation and the HDR conversion are PushFPS Native's own.

What you need

  • Windows 10 (version 1809 or newer) or Windows 11, 64-bit.
  • A graphics card that runs Direct3D 11.
  • A 64-bit game that uses Direct3D 11 or Direct3D 12. Games on Vulkan, OpenGL or Direct3D 9 are not supported (PushFPS Native simply does nothing in them).
  • For Native HDR: an HDR screen with Use HDR switched on in Windows' display settings.

Install

  1. Download the latest release and unzip it anywhere.
  2. Start PushFPS Native.exe and read the notice.
  3. Add a game and choose the program that starts it (its .exe), then Install. The app puts one file, dxgi.dll, beside the game's program. If the game's folder needs administrator rights, the app asks.
  4. Start the game. A short notice says PushFPS Native is on; Ctrl+Shift+N opens its menu.

The app looks at a game before it installs anything: if it finds an anti-cheat (Easy Anti-Cheat, BattlEye, Vanguard and others) or knows the game as an online one, it refuses.

Steam games

For a Steam game, PushFPS Native also reads Steam's own record of the game from Steam's files on your PC (the store categories Steam keeps in appcache; nothing is downloaded or sent):

  • Valve Anti-Cheat (VAC): refused. VAC bans an account from a game's secured servers when it finds a changed game there, and the ban is permanent.
  • Multiplayer without a single-player mode, or an MMO: refused.
  • Single-player with online play as well (a souls-like with online invasions, for example): the app asks you to confirm that you play offline, and the game shows a reminder every time it starts. Online, the game's own servers can ban a changed game.
  • Single-player only: installed as usual.

The DLL checks the same record again each time the game starts, so a game that gains VAC in an update, or a dxgi.dll copied by hand, is caught too. Steam itself does not ban for single-player mods: VAC acts only on VAC-secured servers. If another mod's dxgi.dll is already there (ReShade, for example), you can keep it: PushFPS Native then loads it after itself.

In the game

Tab What you can change
Frame generation Off, 2X, 3X or 4X; pacing (V-Sync or VRR); keeping still pixels real; the game's frame rate limit
HDR Native HDR on or off; peak brightness; paper white; highlights; colour; the game's gamma
Picture Sharpening; brightness; contrast; saturation
Overlay The frame rate readout and its corner; the menu's key and size; the start-up notice
About Version, what the game uses, the safety notice, turning PushFPS Native off for this game

Esc closes the menu. While it is open, the game gets no mouse or keyboard input. Settings are stored per game in %LOCALAPPDATA%\PushFPS Native\games\ and can also be changed in the app.

How the frame generation works

For two frames the game made, PushFPS Native builds smaller and smaller copies of both, finds how each block of the picture moves from the coarsest copy down to the finest, smooths that motion, and then, for every pixel of a frame in between, picks the motion that both frames agree on best and blends the two frames along it. Where something appears that one frame cannot see, the other is used. Where a pixel has stood still for several frames (a HUD), it is kept as it is. A cut to a new scene is not bridged: the new frame is shown.

What that means while you play:

  • It adds a little delay: a made frame can only be shown once the game's next frame exists, so the game feels about one of its own frames later. It suits games that already run at 40 FPS or more.
  • With V-Sync pacing every frame waits for the screen's refresh: with 2X on a 120 Hz screen the game runs at up to 60 FPS and 120 frames a second are shown. A frame rate limit at the refresh rate divided by the multiplier gives the steadiest picture; the menu has a button for it.
  • With VRR pacing frames are shown as soon as they are ready, spread evenly over the game's frame time. Use it on a G-SYNC or FreeSync screen.
  • Very fast movement, thin things moving in front of other things and see-through effects can show small errors in the made frames.

Native HDR

PushFPS Native shows an SDR game on an HDR screen in HDR: the picture is turned into light as an SDR screen with the chosen gamma would show it, mid tones are shown at paper white, and above a knee the brightness rises smoothly so the game's whitest white reaches the peak. The whole colour of a pixel is scaled together, so hues stay as they were, and no channel passes the peak. A game that already outputs HDR is shown as it is.

It is PushFPS Native's own SDR to HDR conversion, like Windows' Auto HDR or a graphics driver's HDR feature in purpose, and it works on every graphics card.

Safety and privacy

  • One file beside one game. Nothing is installed system-wide: no service, no driver, no start-up entry.
  • PushFPS Native and its app never connect to the internet, need no account and collect nothing.
  • It writes only to %LOCALAPPDATA%\PushFPS Native (each game's settings and a log).
  • It stays out of games with anti-cheat, and anything it cannot handle (an unusual swapchain, a missing Windows feature) is left to Windows untouched, so the game still runs.
  • Turn it off for a game in its menu or in the app, put an empty file called pushfps-native.off beside the game, or set the environment variable PUSHFPS_NATIVE_DISABLE=1.
  • Remove in the app (or deleting the dxgi.dll it put there) leaves the game exactly as it was.

More in SECURITY.md.

Good to know

  • Overlays such as Steam's, Discord's or a frame rate counter usually hook into the moment a frame is shown, so they draw on PushFPS Native's frames: they stay sharp, and a frame rate counter counts the frames shown, made ones included.
  • Games with their own frame generation: use one or the other, not both.
  • Exclusive full screen works, but borderless or windowed full screen is what PushFPS Native is made for, and VRR pacing needs it.
  • If a game does not start, or looks wrong, remove PushFPS Native from it and tell us which game it was. The log for that game is in %LOCALAPPDATA%\PushFPS Native\logs\.

Building from source

Visual Studio 2022 with the C++ workload and the Windows SDK, and CMake 3.24 or newer:

cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config Release

build\Release\dxgi.dll is PushFPS Native; build\launcher\Release\PushFPS Native.exe is the app, which expects the DLL beside it as pushfps-native-dxgi.dll. The tests are in tests/: the frame generation's plain C++ reference against true in-between frames of drawn scenes, and two small Direct3D 11 and 12 games that run through PushFPS Native on Windows' software renderer, where the graphics card's frames are compared with the reference. The CI workflow runs all of it.

Credits and licence

PushFPS Native is made by DosukaSOL and is free software under the GNU General Public License 3.0. It uses Dear ImGui (MIT) and MinHook (BSD 2-clause); see THIRD_PARTY_NOTICES.md.

About

No description, website, or topics provided.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages