Prototype

Prototype

Havoc Dec 30, 2023 @ 1:37pm
3
2
8
2
7
2024 all-in-one DLL fixes (crash / fps / resolution / tickrate fixes)
Hi all, noticed game had a lot of issues with it, and a lot of different ways to get around them too, so tried taking a look into patching the games DLL to fix them instead.

Was able to make a patched prototypeenginef.dll which solves the following:
  • Fixed crashing during load screen caused by game creating too many threads for every CPU core, making it run out of memory
  • Fixed crashing a few seconds after loading into save, caused by game trying to download billboard adverts from no-longer-existent server
  • Patched DirectInput related code to only make use of mouse & keyboard devices, and not every HID device on your system, helping improve FPS massively on some systems
  • Includes WSGF resolution fix to make game run at your desktop resolution & increase the field of view.
  • Fixes broken VRAM calculation to always assume 2GB VRAM instead, allowing 4xMSAA to be selected on all cards & helping improve FPS even more.
  • (optional) Reduces frame-doubling & fixes mouse-input issues at framerates higher than 60FPS by removing tickrate limit
  • (optional) Allows increasing shadow resolution from 2048x2048 to 8192x8192
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.

Download: https://www.nexusmods.com/prototype/mods/52, hope it comes in useful!

If you still have any problems after applying this feel free to reply here or on nexus page.

(also made similar patches for Prototype 2 as well, Steam thread about them can be found at https://steamcommunity.com/app/115320/discussions/0/6689601154219857179/)
Last edited by Havoc; Jan 24, 2024 @ 7:58am
< >
Showing 1-15 of 38 comments
Bavanity Dec 30, 2023 @ 5:23pm 
This is amazing. What a way to play the game. Locked at 140 FPS (just 4 below refresh rate to help with tearing), v-sync off, 4K high settings. Makes the game look pitiful on the Series X (the Xbox one and PS4 had a remaster of sorts capped to 30 FPS and 1080P).
I just hope they do it for Prototype 2.. I spent 2 hours trying to get that to work today on a modern system to no avail no matter what "fixes" I tried, and Prototype 1 with the patch just worked on the very first launch, even with all 24 cores enabled and no disabling of HID device or that nonsense.

PLEASE if anyone can mod Prototype 2 with the same fixes, I am sure many of us will be forever grateful.
Last edited by Bavanity; Dec 30, 2023 @ 5:25pm
Bavanity Dec 30, 2023 @ 5:27pm 
Wow I just realised...You uploaded this just this month Havoc and it's your fix?
I am so humbled. THANK YOU.
Do you have prototype 2? If not, happy to buy it for you and perhaps donate something towards your time to patch it.
Havoc Dec 31, 2023 @ 5:01am 
>You uploaded this just this month Havoc and it's your fix?

Yep probably should have posted it here earlier lol, was sharing with a friend till the winter sale though so wasn't sure about posting until I actually owned a copy, glad to hear it helped.

Also got hold of P2 as well, I did have some of the fixes working for that with my friends copy too but looks like that has some weird CEG protection which makes the DLL different for each steam account, might not be able to make a simple DLL mod like the P1 version...

Maybe can get some kind of ASI mod working for it instead, I'll look into it some more over the next few days, if anyone wants to support me I have a ko-fi page at https://ko-fi.com/emoose, any help is appreciated :)
Last edited by Havoc; Dec 31, 2023 @ 5:08am
Bavanity Dec 31, 2023 @ 6:25am 
I'll send a donation along tomorrow, just hit the hay here, 125 AM Australia.
Happy New Year, best for 2024 and thanks again for such a wonderful mod.
name8828 Jan 2, 2024 @ 6:06pm 
can you also fix the low sound volume issue?
Bavanity Jan 4, 2024 @ 7:36am 
Originally posted by name8828:
can you also fix the low sound volume issue?
I am running a powered single 2.0 speaker (the very first iteration of the IK iLoud) from the laptop's headphone out, and if I have the speaker at 40, which is a bit over half as there are 70 volume steps, and the game at 100% in windows and 80% main volume in windows, I found it perfectly fine. The speaker is 40 watts, not a huge amp but reasonable. I only played through the initial scenario, but it was acceptable.
You can also use FXsound to fix it if you have a low volume setup BTW, try that, it's 100% free and a brilliant dynamic equalizer. I know, as audio engineering was my field from the age of 18 till I had my accident and got disabled at 49.. They are using really good algorithms under the hood of a very easy to use slider interface.
Just put up the dynamic boost knob on FXsound and I promise it will fix the low volume for you. Even PCGAMINGWIKI suggests a dynamic equalizer as the easiest fix for those not using a surround setup, like myself and yourself.
Last edited by Bavanity; Jan 4, 2024 @ 7:37am
Bavanity Jan 4, 2024 @ 7:45am 
Originally posted by Havoc:
>You uploaded this just this month Havoc and it's your fix?

Yep probably should have posted it here earlier lol, was sharing with a friend till the winter sale though so wasn't sure about posting until I actually owned a copy, glad to hear it helped.

Also got hold of P2 as well, I did have some of the fixes working for that with my friends copy too but looks like that has some weird CEG protection which makes the DLL different for each steam account, might not be able to make a simple DLL mod like the P1 version...

Maybe can get some kind of ASI mod working for it instead, I'll look into it some more over the next few days, if anyone wants to support me I have a ko-fi page at https://ko-fi.com/emoose, any help is appreciated :)

Just sent you 2 coffees (6 GBP), didn't realize it was GBP (the worst currency for Australians lol), was 15 bucks with fees, sorry that's all I can afford right now simply because of all the Xmas shopping I had to do for nieces and nephews and now their kids, & of course my folks and siblings. Wiped me out! I am 51 today and thought *I'd* be the one getting the moolah hahah (kidding).
But if you start thinking you'll definitely do what you can on Prototype 2 and can see some positive progress, I'll put away another 15 or 20 quid for you. I know it's not much, but CC fees, Paypal conversion fees, then my bank international transaction fee, will be close to 50 bucks for 20 quid, so I hope that's reasonable. These games mean a lot to me. Now if Sony will only ever port the original Infamous game to PS5, I'll be in Heaven.
Peace
-T
Last edited by Bavanity; Jan 4, 2024 @ 7:54am
Crimsongz Jan 4, 2024 @ 4:14pm 
This mod basically save the preservation of this game for modern system. Thank you so much !
WestSideBestSide Jan 6, 2024 @ 11:49pm 
hey just wanna say we all appreciate these fixes you saved the game for modern os players
Magnus Jan 8, 2024 @ 3:29am 
This fix also works great on Linux, but there is still a problem with the annoying jerking of the camera with the mouse, I had a problem with Windows, it is also on Linux and I never found a fix for it and that is the reason why I could not play this game.
RIVEIR Jan 10, 2024 @ 2:45pm 
Thank you! Would love to see a proper fix for Prototye 2 as well.
Havoc Jan 12, 2024 @ 3:14pm 
Made a little progress with P2, seem to have most of the fixes ported to it, posted a test build on the P1 nexus page here in the "optional files" section: https://www.nexusmods.com/prototype/mods/52

Should be able to just copy all the files in that ZIP into your P2 folder next to prototype2engine.dll etc and then run the game, hopefully they should all apply fine, you can edit the prototype_fix.ini file to toggle each fix too.

Seems to work with my copy of the game at least, but as mentioned above Steam uses CEG to make the engine DLL unique for each user, pretty annoying...

Haven't tested with any other copies of the game yet so if you try it please let me know how it goes! If there's any issues please post the prototype_fix.log file too.

(this is currently missing the shadow resolution patch atm too, will look into adding it in next update)
Last edited by Havoc; Jan 13, 2024 @ 4:26am
RIVEIR Jan 13, 2024 @ 11:26am 
Originally posted by Havoc:
Made a little progress with P2, seem to have most of the fixes ported to it, posted a test build on the P1 nexus page here in the "optional files" section: https://www.nexusmods.com/prototype/mods/52

Should be able to just copy all the files in that ZIP into your P2 folder next to prototype2engine.dll etc and then run the game, hopefully they should all apply fine, you can edit the prototype_fix.ini file to toggle each fix too.

Seems to work with my copy of the game at least, but as mentioned above Steam uses CEG to make the engine DLL unique for each user, pretty annoying...

Haven't tested with any other copies of the game yet so if you try it please let me know how it goes! If there's any issues please post the prototype_fix.log file too.

(this is currently missing the shadow resolution patch atm too, will look into adding it in next update)
Great will give it a go now!

EDIT - Wow! This is the difference between night and day for me. The game is playable again after uncounted years. If the mod continues to improve it will be unbelievable.
Last edited by RIVEIR; Jan 13, 2024 @ 11:55am
Someone should Create a Guide with your Fixes <3

Thx for your Work
Bavanity Jan 13, 2024 @ 2:17pm 
I can't even RUN Prototype 2 on any PC since my very first Windows 10, 6 core laptop (btw it just works for some reason on that one, I don't need to disable any cores, but the screen is an awful 200 nit 1080P panel with massive 1 inch physical borders on all sides, and I gave it away to mum to play her games a while back).
I mistakenly thought I could also run it on my 8 core 11th gen Lenovo, but I can't, nor my current daily use machine, the 13th gen 24 core. I really thought the P and E cores were the issue but hard disabling all but 2 P cores in bios didn't even fix it, so I am lost, and as said, it doesn't work on the Lenovo even with hyper thread disabled.

So if any fix can so much as get it to run, that's a win in my book, and I'll definitely be trying any mod out there after I press submit on this message.

I did find out one thing. By disabling ALL consumer HID devices, I managed to get the game to start and display a loading screen on the current machine, but it crashed as soon as I pressed a button to continue. The HID fix just wasn't worth it anyway, as I had like 15 devices to disable manually and had to reboot, then re enable them all after I couldn't get into gameplay anyway. First time I have ever done this "fix" for any game, and also the last. Never again, as every other game I own works with all HID devices enabled. As they should.

So yeah even with only 2 physical cores present in the OS, and all the HID devices disabled, and a forced resolution set by Steam launch options, or not, and cloud disabled, and so on, I could never get past the title screen of Protoype 2. MAYBE it's a Windows 11 thing, or a 64GB ram thing? I even tried patching the 32 bit executable to allow it to use 4Gb. Nothing worked.

So mods it is! Here's hoping, fingers crossed!
< >
Showing 1-15 of 38 comments
Per page: 1530 50