NFS13HighRate — native high refresh rate for Need for Speed Most Wanted (2012)
Русская версия
Need for Speed Most Wanted (2012) on PC is locked to 60 fps, and in exclusive fullscreen it even switches your monitor
to 60 Hz. NFS13HighRate removes the lock properly: the game simulates physics, camera, traffic and everything else
at your monitor’s refresh rate (120, 144, 165 Hz…) instead of drawing the same 60 updates more often. The engine runs
fixed 1/60 s steps; the mod changes the step length and fixes the places where the developers hard-coded “60”.
What you get:
- the game runs at your monitor’s refresh rate (or the rate set in the ini), paced by a precise timer: even frames,
no micro-stutter (frame time spread about 0.05 ms; the original pacer: 0.3–0.5 ms);
- in exclusive fullscreen the game picks your monitor’s refresh rate (without the mod it always switches to 60 Hz);
- game speed is exactly 1.0 at any rate;
- traffic spawns and stays on the road at any rate (without the fix it falls through the world);
- camera, car and traffic smoothing behave, in seconds, exactly as at 60 fps;
- the camera shake on impacts has the same strength and length as at 60 fps;
- engine and car sounds work as at 60 fps (above ~94 fps the original engine sound freezes and stutters);
- in online sessions the mod automatically goes back to the original timer and 60 Hz, and returns afterwards.
The mod changes no game files: it patches the code in memory after the game has started. The game’s own protection
keeps working as usual. At 60 Hz the mod behaves exactly like the unmodified game.
Requirements
- A legally owned copy of Need for Speed Most Wanted (2012) for PC, version 1.5.0.0 (Steam / EA app / Origin),
NFS13.exe of 13 684 056 bytes. On any other version the mod recognises the mismatch and changes nothing
(the reason is written to its log).
- Windows 10 version 1803 or newer (it runs on older systems, with a less precise timer).
- Ultimate ASI Loader (32-bit) — included in the release archive.
Installation
Download the archive from the Releases page or from Nexus Mods and unpack it into the game folder,
the one that contains NFS13.exe (Steam: right-click the game → Manage → Browse local files). After unpacking:
NFS13.exe
dinput8.dll <- Ultimate ASI Loader
scripts\NFS13HighRate.asi <- the mod
scripts\NFS13HighRate.ini <- settings
scripts\NFS13HighRate-README.txt, scripts\NFS13HighRate-licenses\
Start the game. scripts\NFS13HighRate.log appears and says installed … patches — the mod is working.
Already using other ASI mods? Then you already have a loader (dinput8.dll or another proxy DLL). Do not
replace it: copy only the scripts folder (or use the “ASI only” archive).
Uninstall: delete dinput8.dll (if nothing else uses it) and everything named scripts\NFS13HighRate*. Or set Enabled=0 in
the ini to switch the mod off without removing it.
Recommended game settings
- Vsync on — the smoothest option: one game step per screen refresh (DisplayLocked mode).
- Vsync off also works: the mod keeps the rate with its precise timer (Fixed mode), with possible tearing.
LockTo30 off (with it the mod hands control back to the original timer: 30 fps).
FrameLatency in Documents\Criterion Games\Need For Speed(TM) Most Wanted\config.NFS13Save: 1 or 2 lowers input lag.
NFS13HighRate.ini
| key |
default |
meaning |
[Main] Enabled |
1 |
0 = the mod does nothing at all |
TargetHz |
auto |
game rate: auto = monitor refresh rate, or a number 30…360 |
Mode |
auto |
auto: vsync on and TargetHz = monitor → DisplayLocked, otherwise Fixed; or fixed, displaylocked, variable |
VariableMaxHz |
0 |
variable only: fps cap (0 = TargetHz or the monitor refresh rate) |
[Display] FullscreenRefresh |
auto |
refresh rate in exclusive fullscreen: auto = desktop rate, 0 = leave it to the game (60), or a number |
[Fixes] Traffic |
1 |
traffic fix (keep it on) |
CameraSmoothing, VehicleSmoothing, TrafficSmoothing, RacerSmoothing |
1 |
smoothing “as at 60 fps” |
UnknownSmoothing |
0 |
unidentified spots, for testing only |
CameraShake |
1 |
impact (and other) camera shake at the 60 fps pace |
AudioRate |
1 |
the game’s audio update 60 times per second, as in the original (otherwise the engine sound freezes above ~94 fps) |
MotionBlurMatch60 |
0 |
motion blur length as at 60 fps (at high rates it is shorter; experimental) |
[Debug] Log |
1 |
log file scripts\NFS13HighRate.log |
Debug |
0 |
1 = A/B key (ABKey, default F11): switch “your rate ↔ 60 Hz” while playing, offline only |
StatsInterval |
10 |
seconds between frame statistics lines in the log |
variable mode (experimental) is meant for G-Sync / FreeSync monitors: the game step follows the frame time
(1/360 … 1/30 s). The game’s physics expects an even step, so auto is the default.
Online and Autolog
- In online sessions (and with LockTo30) the mod automatically restores the original timer and 60 Hz and switches
back when you leave. The log shows
mode … -> Passthrough reason=online.
- The mod does not touch network code and does not block Autolog. Records and race times set with the mod may be
uploaded by Autolog. Playing offline with the mod is recommended (EA app “offline mode”). The mod is provided
as is; online play with it is at your own risk.
Compatibility and known issues
- RivaTuner Statistics Server / MSI Afterburner: the game crashes at start-up (
RTSSHooks.dll), with or without
the mod. Close RTSS before starting the game or add an exception for the game.
- More than 99 EA friends: the game crashes at start-up (a bug of the game itself). Keep 99 friends or fewer, or
start the game offline.
- Overlays: two overlays at once (Steam + EA) can hang the game. Keep one.
- Programs that take the focus (monitoring windows, notifications): the game leaves exclusive fullscreen for a
window (also without the mod). In a window the screen runs at the desktop rate and the mod works the same way.
- Works together with mods that patch other places. If another mod changed the same code,
NFS13HighRate refuses to start and writes which place did not match.
Troubleshooting
Send scripts\NFS13HighRate.log. It lists the checks, the installed fixes, the detected refresh rate, mode changes
and frame statistics every 10 seconds (fps, sim_speed — game speed, should be 1.0000). The log is rewritten on
every start of the game: copy it before starting the game again.
How it works (short)
The mod is a 32-bit .asi plugin loaded by Ultimate ASI Loader before the game starts. It checks the game version
and every patch site by its bytes (all or nothing: on any mismatch nothing is patched), then installs:
- TimeCore — replaces the game’s frame pacer with a QPC + high-resolution waitable timer pacer and sets the tick
length to 1/Hz (modes Passthrough / Fixed / DisplayLocked / Variable);
- DisplayCore — makes exclusive fullscreen pick the monitor’s refresh rate;
- RateFix — rescales per-tick smoothing factors (K’ = 1 − (1 − K)^(dt·60)), fixes the 10 Hz traffic timer and the
per-tick camera shake;
- AudioFix — keeps the game’s audio update at its original 60 per second.
Details, the full patch list and test results: docs/TECHNICAL.md.
Building from source
Visual Studio 2022 (or Build Tools) with “Desktop development with C++” (x86 tools). Run build.cmd — the result is
build\NFS13HighRate.asi (+ the ini from dist\). scripts\package.py builds the release archives.
Legal
Need for Speed and Need for Speed Most Wanted are trademarks of Electronic Arts Inc. This project is not affiliated
with, endorsed or sponsored by Electronic Arts or Criterion Games. It contains no game code, data or assets and
requires a legally owned copy of the game. It does not modify, unpack or circumvent the game’s files, DRM or licence
checks.
License
MIT. Ultimate ASI Loader by ThirteenAG, MIT — see THIRD_PARTY_NOTICES.md.
评论