"4GB Patch": A Fix For Low FPS, Lag Spikes, Flickering Textures and some MAVs

If you have models, sound effects, textures or anything else you would like to be put in the game, post them here. Ideas and suggestions are also welcome.
User avatar
TheHappyJammer
Technician
Posts: 57
Joined: Sun Nov 15, 2015 4:35 am

"4GB Patch": A Fix For Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby TheHappyJammer » Tue Apr 25, 2017 12:51 am

4GB Patch: http://www.ntcore.com/4gb_patch.php
Direct Download: http://www.ntcore.com/files/4gb_patch.zip

Image

The "4GB Patch" Tool basically allows the allocation of an additional 2GB of virtual memory into the executable through allowing "Large Address Aware" within the executable (See "4-Gigabyte Tuning" on pcgamingwiki for explanation: https://pcgamingwiki.com/wiki/Microsoft_Windows#4-Gigabyte_Tuning)

If you desire the same results on your executable but with more options to play with, use "Large Address Aware Enabler" by FordGT90Concept that basically does the same thing as 4GB Patch but with a more interactable interface https://www.techpowerup.com/forums/threads/large-address-aware.112556/

I tried this on my SCP executable on and I have not had issues with lag spikes and FPS staying at a constant rate rather than dropping to single digits which is what I had before. I have been getting no lag-related MAVs and "failure to load" MAVs are now harder for me to encounter.

I encourage anyone else to try this tool out for themselves and I hope this is implemented in the next possible update of SCP- CB. :D

EDIT 2: Did some tests on mods, this Patch tool drastically improved the performance for
- SCP: CB Nine Tailed Fox Mod https://undertowgames.com/forum/viewtopic.php?f=11&t=4358
- Project Resurrection https://undertowgames.com/forum/viewtopic.php?f=11&t=5445
- SCP: CB Unity Edition (32 Bit Version) https://undertowgames.com/forum/viewtopic.php?f=3&t=5553
- SCP: CB 087-B Mod http://undertowgames.com/forum/viewtopic.php?f=11&t=4944

EDIT: From the website
I originally wrote this tool for a friend of mine who needed it. This very little tool patches x86 executables in order to let them have 4GB (instead of only 2) of virtual memory on x64 platforms. This tool comes very handy for applications which need a great amount of virtual memory like games, 3D renderization, multimedia etc. To gain these 2GB, you just have to use this tool to patch the executable (*.exe file) of the software you want to have these additional GBs of virtual memory. It can be used by clicking on it and choosing the file or through command line (e.g.: "4gb_patch file.exe"). It automatically creates a backup copy of the original executable.

Why things are this way on x64 is easy to explain. On x86 applications have 2GB of virtual memory out of 4GB (the other 2GB are reserved for the system). On x64 these two other GB can now be accessed by 32bit applications. In order to achieve this, a flag has to be set in the file's internal format. This is, of course, very easy for insiders who do it every day with the CFF Explorer. This tool was written because not everybody is an insider, and most probably a lot of people don't even know that this can be achieved. Even I wouldn't have written this tool if someone didn't explicitly ask me to.
Last edited by TheHappyJammer on Tue Jun 26, 2018 4:52 am, edited 11 times in total.
[1.2.3] SCP Containment Breach 087-B Mod:
http://undertowgames.com/forum/viewtopic.php?f=11&t=4944
[1.3.9] Field Of View (FOV) Setting Addon:
https://undertowgames.com/forum/viewtopic.php?f=5&t=8433

User avatar
PootWizard
Technician
Posts: 62
Joined: Sun May 17, 2015 3:44 pm

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby PootWizard » Thu Apr 27, 2017 6:29 pm

Looks promising alright...

Ill take a shot at it and see how it goes for me

EDIT: You sir, have done gods work, I had no problems what so ever (besides the FPS drop, buts thats my side).
Last edited by PootWizard on Fri Apr 28, 2017 3:30 am, edited 1 time in total.
That Poot Burd c:

User avatar
TheHappyJammer
Technician
Posts: 57
Joined: Sun Nov 15, 2015 4:35 am

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby TheHappyJammer » Fri Apr 28, 2017 3:51 pm

PootWizard wrote:Looks promising alright...

Ill take a shot at it and see how it goes for me

EDIT: You sir, have done gods work, I had no problems what so ever (besides the FPS drop, buts thats my side).


Hopefully more people will use this as the devs find a better way to manage the memory in the game. I'm glad this helped you! :D
[1.2.3] SCP Containment Breach 087-B Mod:
http://undertowgames.com/forum/viewtopic.php?f=11&t=4944
[1.3.9] Field Of View (FOV) Setting Addon:
https://undertowgames.com/forum/viewtopic.php?f=5&t=8433

User avatar
zornor90
Operative
Posts: 305
Joined: Tue Jun 07, 2016 12:27 pm
Contact:

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby zornor90 » Sat Apr 29, 2017 6:22 am

TheHappyJammer wrote:- SCP: CB Unity Edition https://undertowgames.com/forum/viewtopic.php?f=3&t=5553


Are you talking about the x86 edition? The x64 is 64-bit and can use as much memory as personal computers can hold nowadays

This is pretty cool regardless, I'll have to try it out and see how it improves the main game's performance and stability
Upgrading Containment Breach to Unity in 2018

Website | Forum | Patreon | Discord

User avatar
TheHappyJammer
Technician
Posts: 57
Joined: Sun Nov 15, 2015 4:35 am

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby TheHappyJammer » Sat Apr 29, 2017 6:58 am

zornor90 wrote:
TheHappyJammer wrote:- SCP: CB Unity Edition https://undertowgames.com/forum/viewtopic.php?f=3&t=5553


Are you talking about the x86 edition? The x64 is 64-bit and can use as much memory as personal computers can hold nowadays

This is pretty cool regardless, I'll have to try it out and see how it improves the main game's performance and stability


The x86 edition had a much better performance with the patch.
The x64 edition is a more subtle difference; with the patch I can run the highest settings at constant smooth FPS
[1.2.3] SCP Containment Breach 087-B Mod:
http://undertowgames.com/forum/viewtopic.php?f=11&t=4944
[1.3.9] Field Of View (FOV) Setting Addon:
https://undertowgames.com/forum/viewtopic.php?f=5&t=8433

D-6264
Class-D
Posts: 6
Joined: Fri Aug 05, 2016 1:34 am

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby D-6264 » Mon May 22, 2017 3:04 am

Thank you very much ! it work really nice, i only get a MAV 1hour and 30 minutes after loading my game

Before it was after 5 or 10 minutes

User avatar
TheHappyJammer
Technician
Posts: 57
Joined: Sun Nov 15, 2015 4:35 am

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby TheHappyJammer » Mon May 22, 2017 12:49 pm

D-6264 wrote:Thank you very much ! it work really nice, i only get a MAV 1hour and 30 minutes after loading my game

Before it was after 5 or 10 minutes

You're welcome m8 :D
[1.2.3] SCP Containment Breach 087-B Mod:
http://undertowgames.com/forum/viewtopic.php?f=11&t=4944
[1.3.9] Field Of View (FOV) Setting Addon:
https://undertowgames.com/forum/viewtopic.php?f=5&t=8433

ErrorUnknownGT
Class-D
Posts: 2
Joined: Sun Jul 09, 2017 12:38 pm

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby ErrorUnknownGT » Sun Jul 09, 2017 12:40 pm

I can confirm that this works, now that the game has access to more memory, I get 0 memory access violations, no more spazzy textures which makes the game unplayable either. Thank you.

User avatar
O5_Janessa
Class-D
Posts: 2
Joined: Sat Aug 19, 2017 1:48 pm

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby O5_Janessa » Sat Aug 19, 2017 10:44 pm

I just installed it. I'll see if this truly does work.
Former Site Director for Site :REDACTED: | O5 Council | AMTF Nu-7 Supreme Commander
https://www.twitter.com/officialrngd - https://vid.me/officialrenegade

roosterani
Class-D
Posts: 8
Joined: Tue Feb 13, 2018 2:26 am

Re: A Potential/Promising Fix to Low FPS, Lag Spikes, Flickering Textures and some MAVs

Postby roosterani » Thu Feb 15, 2018 1:34 am

This seems to have broken my SCBCB launcher...
I used it on the .exe file and the game never launches.


Return to “Collaboration”

Who is online

Users browsing this forum: No registered users and 5 guests