NOTE: due to the CEG protection used in P2 (which randomizes certain parts of game code) there's a chance some fixes might not work properly on some systems, I tried to make sure all the patches are generic & use patterns to search for code, but seems there can still be issues for some.
Unfortunately couldn't find much info about removing the CEG on the net, but if you do have issues it may be worth finding a replacement prototype2engine.dll file somewhere.
1.6:
Added a new PreferLooseFiles setting which gives priority to loose/unpacked files in the game folder over the files inside .rcf packages.
You can now mod the files contained inside .rcf without needing to unpack the whole .rcf first as most mod guides needed you to previously, almost like a mod-loader for the game, should work with majority of files in the game but unsure if it works with all of them, any feedback is appreciated!
1.5.1a:
Fixed crashing when starting new game / playing movies due to wrong binkw32Hooked.dll file being included
1.5.1:
Fixed FOVOffset so that negative offsets can work properly (thanks to kwqweasd for reporting!)
Added FixButtonTapTickRate setting to help fix button-mashing issues when using RemoveTickRateLimit - this helps on P1 but not sure how much it might help P2
1.4:
Added code to automatically disable DPI scaling, hopefully solving any DPI compatibility issues
1.3:
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 use it with G-Sync etc
Added settings for changing the default window size when playing with "windowed" launch parameter
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, less frame-tearing...
Will default to the current desktop resolution automatically (VSR/DSR can be used by changing your desktop resolution to the DSR resolution before launching)
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!)
This should also remove the EXE filename check that prevented texmod from working, haven't had a chance to test with it yet though but hopeful they'll work together fine.
The AMD fix is similar to the one that was created years ago for P1, but works slightly differently, would love to hear back from any AMD users that try it!
i have a 6700 XT and its working flawlessly, thank you so much, i came across your mod just googling in case someone finally fixed it and your mod showed up. I can finally play prototype 1 just like i remembered and play P2 that my pc always struggled with even when it released. you're a god! Have a very great year !
Hello man first thank you for this mod the game is stable now but i still have some issues with starting a new game (the infinite loading screen ) i saw on steam that you need a certain german audio file to get it to work could you please figure it out if there is any other solution for the infinite loading screen and introduce it to the mod or add a more compressed version of he german file 1.2gb
Hi, I'm having a weird issue when using this fix (which is amazing btw). Everything works as intended but I get a weird grey screen flicker. It inintally only happened with P2 but is happening with P1 now as well which is odd as P1 was fine before. I've determined its not a defective GPU as no other game does it and its isolated to using this fix on these games. I can send a video if needed to showcase the issue. I should mention that even without this fix that I cannot change any video settings in P2 without it grey screening and locking up, so I think thats probably the issue, but not sure whats up with P1. I am using completely fresh installs of the game with no other mods or fixes.
My Specs just in case: RTX 3080 Ryzen 5600X 32GB RAM All games run off of SSDs Main Monitor: 170Hz 1440p (G-Sync) Secondary Monitor: 60Hz 4K
Interesting. I change BorderlessWindow to false and it took longer to crash. I stared at a black screen for extra 20 secs. And yes, I do have a TV connected to the GPU, however is off in the settings ("show only on 1"). Should I try to unplug it as well?
Could be worth a try, not really sure how multimonitor stuff works with it. It could be worth changing the CustomResolution values in INI from -1 to your screen res as well, possible it's not picking up the right one for some reason.
Also if you check page 2 of comments GregoriousX did have a similar crash issue which they fixed by adding DLC files, wonder if that might help at all.
Yes, thank you! Adding DLC files totally did the tricky! Maybe you should include them in the fix? They are just a couple of files one should drop into the game folder
@emoose omg I love you so much, your fix files didn't work for me at first but when I changed BorderlessWindow to false it finally launched without crashing or having an infinite black screen
Does anyone know how to fix the glitch in the first mission in which the objective is "Attack the Blackwatch trooper" when you first get the claws? I kill all the troopers, but it does not work. For reference, My game runs 144fps (I've heard it might have something to do with FPS but I'm not sure how to fix it)
Edit: I've capped it at 60fps and I can now get past that part but now every time I go back to the church instead of the cutscene my game just crashes
I tried enabling "RemoveTickRateLimit" and "FixButtonTapTickRate" Led to me being unable to run straight for some reason, like if I helf down the D key. And opening the menu (ESC) also didn't work any more. This is just for other people having that issue, just turn those two off again (they're off by default)
Another thing: Config file says to "for best results, disable any VSync setting in the games settings" in the comment to FPSLimitOverride. This breaks at least one mission. Yes, it's one of those games that screw up if you got too many frames. The mission objective is "Attack the Blackwatch trooper" early on in the game, when you first got claws. With vsync disabled, the game continues as normal just that nothing you do will advance the mission. What is meant to happen is a tutorial-slowdown for you to do the pounce attack
I can't get the game to run on more then 20-30 fps even with this mod. Does anyone know something on how to boost your fps ?
Edit: solved the problem. For anyone that might have the same issue like me try going to task manager then select prototype 2 and go to details then right click and select set affinity and select cpu 0-4. That did it for me and now I got 90 fps. Hope this helps some of you
You are a tech wizard. I've been struggling with these games and getting them to work properly for years. Then you quietly come around and release this fix that literally fixes everything wrong with these games. Thank you so much !!!! (Sent 40$ your way, I love this)
Thank you so much Emoose. I have been fighting with this game and every time I have replayed it since launch. I love this game because there is almost nothing out there like it. I've fought that "too many CPU cores" issue for years and just resigned myself to the fact that I would never get to play it again without manually turning off half of my CPU. I just played a few hours again and had a blast I don't know what wizardry you created to make this work, but I am very grateful to you. Thank you :)
I am crashing whenever I try to do Brain Drain. The first cutscene, where you get the Blackwatch disguise and go to the briefing causes my game to crash. I tried setting CPU affinity to multiple different core amounts (I have a Ryzen 5 5600x) which didn't do anything. I tried using an older version of the mod, and that didn't help. I have in-game V-Sync turned on, since it fixed an earlier cutscene causing crashes. I have some MDMP files, but I have no clue how to check them for anything useful.
92 comments
Unfortunately couldn't find much info about removing the CEG on the net, but if you do have issues it may be worth finding a replacement prototype2engine.dll file somewhere.
1.6:
You can now mod the files contained inside .rcf without needing to unpack the whole .rcf first as most mod guides needed you to previously, almost like a mod-loader for the game, should work with majority of files in the game but unsure if it works with all of them, any feedback is appreciated!
1.5.1a:
- Fixed crashing when starting new game / playing movies due to wrong binkw32Hooked.dll file being included
1.5.1:
- Fixed FOVOffset so that negative offsets can work properly (thanks to kwqweasd for reporting!)
- Added FixButtonTapTickRate setting to help fix button-mashing issues when using RemoveTickRateLimit - this helps on P1 but not sure how much it might help P2
1.4:
- Added code to automatically disable DPI scaling, hopefully solving any DPI compatibility issues
1.3:This should also remove the EXE filename check that prevented texmod from working, haven't had a chance to test with it yet though but hopeful they'll work together fine.
The AMD fix is similar to the one that was created years ago for P1, but works slightly differently, would love to hear back from any AMD users that try it!
My Specs just in case:
RTX 3080
Ryzen 5600X
32GB RAM
All games run off of SSDs
Main Monitor: 170Hz 1440p (G-Sync)
Secondary Monitor: 60Hz 4K
the one for P1 worked perfectly fine tho.
Also, do you have more than 1 display connected?
And yes, I do have a TV connected to the GPU, however is off in the settings ("show only on 1"). Should I try to unplug it as well?
It could be worth changing the CustomResolution values in INI from -1 to your screen res as well, possible it's not picking up the right one for some reason.
Also if you check page 2 of comments GregoriousX did have a similar crash issue which they fixed by adding DLC files, wonder if that might help at all.
There is a infinite load fix linked at https://steamcommunity.com/app/115320/discussions/0/1645418448927672114/ which may help, but I think that might conflict with the DLC fix...
Edit: I've capped it at 60fps and I can now get past that part but now every time I go back to the church instead of the cutscene my game just crashes
Led to me being unable to run straight for some reason, like if I helf down the D key. And opening the menu (ESC) also didn't work any more.
This is just for other people having that issue, just turn those two off again (they're off by default)
Another thing: Config file says to "for best results, disable any VSync setting in the games settings" in the comment to FPSLimitOverride.
This breaks at least one mission. Yes, it's one of those games that screw up if you got too many frames. The mission objective is "Attack the Blackwatch trooper" early on in the game, when you first got claws. With vsync disabled, the game continues as normal just that nothing you do will advance the mission. What is meant to happen is a tutorial-slowdown for you to do the pounce attack
Edit: solved the problem. For anyone that might have the same issue like me try going to task manager then select prototype 2 and go to details then right click and select set affinity and select cpu 0-4. That did it for me and now I got 90 fps. Hope this helps some of you
The game crashed at startup and idk how to fix this :(
Somebody know a fix for this issue ?
I just played a few hours again and had a blast
I don't know what wizardry you created to make this work, but I am very grateful to you. Thank you :)
Edit: I found the solution lower in thread
Edit: Turns out, the FOV was causing the crashes.