Prototype
0 of 0

File information

Last updated

Original upload

Created by

emoose

Uploaded by

emoose

Virus scan

Safe to use

About this mod

ASI plugin to solve some of the issues with running the game on modern machines, fixes thread/core count crashing, HID device issues, and can optionally reduce framedoubling above 60FPS.

Permissions and credits
Donations
A version of this for Prototype 2 can be found here: https://www.nexusmods.com/prototype2/mods/42

# PrototypeFix
An ASI plugin which can patch the game with the following:

Game fixes:
  • Prevents crash during launch/load screen caused by too many CPU cores/threads
  • Fixed crashing a few seconds after loading into save, caused by game trying to download billboard adverts from no-longer-existent server
  • Fixed framerate drops caused by too many HID devices, by making game only see mouse/keyboard/gamepad.
  • Fixes broken VRAM calculation to always assume 2GB VRAM instead, allowing 4xMSAA to be selected on all cards & helping improve FPS even more.
  • Includes patch to hopefully solve shadowing issues on AMD cards (not fully tested as I don't own one, please let me know whether this helps or not!)
  • Automatically disables DPI scaling on the game, hopefully helping with certain DPI compatibility issues
  • Fixes audio playback speed issues when device sample rate is higher than 48000Hz
Graphics improvements:
  • Allows changing the in-game resolution options to custom ones instead (uses desktop resolution by default)
  • Optionally reduces frame-doubling & fixes mouse-input issues at framerates higher than 60FPS by removing tickrate limit
  • Added option to run game in a borderless window (enabled by default), offers a lot of advantages such as faster startup time, less alt-tabbing issues, reduced frame-tearing, etc
  • Shadow resolution can be increased from vanilla 2048x2048 up to 8192x8192
  • Camera FOV can now have an offset applied for increasing/decreasing it as desired
  • Engines 500FPS hard-cap can now be changed to framerate of your choice, game can run at 1000+FPS if desired, or can be lowered to improve G-Sync etc
  • Added settings for changing the default window size when playing with "windowed" launch parameter
  • Defaults to the current desktop resolution automatically (VSR/DSR can be used by changing your desktop resolution to the DSR resolution before launching)
Extras:
  • Allows loose/modded files to take priority over the vanilla files inside .RCF - allowing modded files to be loaded without needing to unpack the RCF files first
  • Allows toggling the games dev-menu without needing to edit game files
With these fixes you shouldn't need to mess with core affinity or HID devices, just drop the DLL into the game folder and run the game as normal.

Game also has an awful frame-doubling effect when you play it above 60FPS (that also breaks mouse-input pretty badly too), luckily was able to find a way to fix this by removing a limit on the tickrate, but it's possible this could alter gameplay slightly, so only recommend enabling the "RemoveTickRateLimit" fix if you play above 60FPS.

NOTE: with the frame-doubling/tickrate fix it's been reported to make some sections a lot harder/impossible, such as the button-tapping for hijacking vehicles - in version 1.5 I've added a FixButtonTapTickRate setting which should mitigate this, though I'm not sure if it may affect more than just the vehicle hijacking sections, or if the tickrate change may also affect other things in the game too.
(alternately you could cap your framerate to 60FPS to make it easier and also keep the mouse-input fix from it, or you could use something like RTSS + HotkeyHandler plugin to allow toggling 60FPS cap during gameplay)

# Setup
To install the fix:

  • Extract all the contents of the ZIP into the Prototype install folder, next to prototypef.exe file
  • When prompted, replace both the binkw32.dll & prototypeenginef.dll files
  • Edit the prototype_fix.ini with any fixes you want
  • Run the game as normal, and the fixes should hopefully all take effect
If you have issues with this please feel free to let me know here, the prototype_fix.log file may help too.

To uninstall simply delete the binkw32.dll file and rename the binkw32Hooked.dll to binkw32.dll, the fix will then no longer be loaded in.

# Misc
Would recommend limiting the games framerate with some kind of limiter too, Special K can work pretty well, or you can change the engine FPS limit inside prototype_fix.ini, setting it to 138FPS seems to let it run pretty smoothly with G-Sync enabled.

Alternately if you still experience stutters with the game you could try setting up DXVK, for me that seemed to almost double my uncapped FPS, though tools like Special K may have issues with it: https://github.com/doitsujin/dxvk/releases/tag/v2.3 (download dxvk_2.3.tar.gz and extract the files from x32 folder next to the game EXE)