Tool to make PR 32 bit executable use more than 3GB of RAM

General discussion of the Project Reality: BF2 modification.
Post Reply
Valmont
Posts: 159
Joined: 2014-10-21 13:43

Tool to make PR 32 bit executable use more than 3GB of RAM

Post by Valmont »

Hello fellow PR fans

I just wanted to share with you a little tool I found a while ago.

What it does: It basically patches any executable to be able to use more than 3GB of RAM (That was a limitation with legacy 32bit executables).

Short Story: I found this handy tool when trying to play a masive warhammer mod made for the old medieval 2 total war engine. Since the mod was so huge it made the game unstable to the devs found that that patching the executable with this tool fixed the crashes and increased the FPS because more ram was being effectively used.

Since then I have used this patch on basically all my "old games" executables.

In my own mod, which was beginning to show instability because of its scale, it fixed the crashes in most cases and increased my FPS from 50 to 107.

PS: In order to see the benefits you need 4GB of RAM or for optimal results 8GBs.

Here is the download link:

NTCore's Homepage

I know that PR is already pushing the limits of the engine. Perhaps this will make the game more stable allowing the Devs to go even crazier with features and textures cast out in favor of stability.

PS2: I hope someone can do some benchmarks and confirm if this is helping indeed.

Cheers
Last edited by Valmont on 2017-09-08 00:10, edited 1 time in total.
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: Tool to make PR 32 bit executable use more than 3GB of RAM

Post by Mineral »

I asked around, and yeah this in no will would work for PR's executables. And for anyone trying, remember to make backups ! :)
Image
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Tool to make PR 32 bit executable use more than 3GB of RAM

Post by AlonTavor »

This is misleading and wrong.

32bit processes on 64bit systems may use up to almost 4GB. This is not a problem with PR.

Edit: Just checked what the hell is he talking about, and that flag is already set.
Last edited by AlonTavor on 2017-09-07 23:16, edited 1 time in total.
Valmont
Posts: 159
Joined: 2014-10-21 13:43

Re: Tool to make PR 32 bit executable use more than 3GB of RAM

Post by Valmont »

[R-DEV]AlonTavor wrote:This is misleading and wrong.

32bit processes on 64bit systems may use up to almost 4GB. This is not a problem with PR.

Edit: Just checked what the hell is he talking about, and that flag is already set.
It is good to know that PR does not need the patch. Thanks

But I didn't mean to mislead, it certainly helps in many executables that do not have that flag set.

PS: Is the flag set something that the PR Devs did or was it already on the default BF2.exe (It might still help with BF2 and its other mods) ;-) .
PLODDITHANLEY
Posts: 3608
Joined: 2009-05-02 19:44

Re: Tool to make PR 32 bit executable use more than 3GB of RAM

Post by PLODDITHANLEY »

I read this with interest as since changing the screen and resolution from 760 to 1080 on an old vista 32 bit 4GB computer it ctds on map load. I have another 64bit 4GB machine and that's ok. This exact computer was fine before the only change was a new 1080 monitor.

I have heard that if using a discreet graphics card the VRAM size removes some of the RAM anyone enlighten me? Using an old 6870 1GB
Image
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

Re: Tool to make PR 32 bit executable use more than 3GB of RAM

Post by PatrickLA_CA »

I think what you're trying to do is similar to an old thread that helped me with my old computer, but I haven't had any issues on the new one so there was never a need to do this: https://www.realitymod.com/forum/f358-s ... ost1595177
In-game: Cobra-PR
Post Reply

Return to “PR:BF2 General Discussion”