PR under Windows Vista

Discussion on Computer Software & Operating Systems
Cheeseman
Retired PR Developer
Posts: 1291
Joined: 2006-11-12 06:23

PR under Windows Vista

Post by Cheeseman »

This thread is dedicated to those of you having issues running Project Reality under Windows Vista operating system.

Now a lot of players over the years have experienced sluggish performance and memory errors while loading in a new map under Windows Vista. For this reason I will provide a brief description of the issues and various different solutions for it.

Common PR performance problems and possible solutions under Windows Vista

Stutter: low frames per second and sluggish performance (commonly cited by players as “lag” which is an incorrect term, as lag is related to network issues causing high ping during play time)

Description to the possible cause of the problem: This could be related to insufficient hardware in comparison to the specified hardware requirements. Although a lot of players have also encountered this unbearable stutter with more than capable machines running Windows Vista. This is due to a Vista feature called “SuperFetch” which is a dynamic memory management component. Basically SuperFetch understands which applications you use most, and preloads these applications into memory, so your system is more responsive.” So while gaming this leads to Vista "recognizing a ton of memory being freed while loading into the game and starts filling the leftover free memory on a low-priority background disk thread" which causes sluggish performance while playing a memory intensive map in PR.

Solutions:
  • Although 2GB of RAM is recommended to run PR under Windows Vista it is best to have 3GB+ of RAM for smooth performance.
  • Another quick and affective fix for this problem is to set textures to medium only under PR graphical options. (This has also commonly fixed the crash into a new map dilemma)
Memory error: PR crashing during a map change with "memory .dll error” message.

Description to the possible cause of the problem: This is due to memory allocation problem with Windows Vista. Sometimes while loading a new map in PR the engine can use up to 4GB of memory in an instant; this leads to a crash, because that amount of memory isn’t accessible to the game under Vista.

Solutions:
  • As mentioned above, setting textures to medium has commonly fixed this problem.
  • Hers another fix for this problem for both Windows Vista 32 and 64bit operating systems (Although not recommended, because of MD5 check mismatch, so make sure to backup a copy of BF2.exe before performing this fix):
R.J.Travis wrote:
(You'll need to be an Administrator)
First, you'll need to grab and install Visual Studio C++ Express from Microsoft.
It's free so don't worry.
Once installed, you'll need to update it, also make sure u have latest game
patch installed.

Backup the bf2.exe file, just in case.

Now, click
Start ->Visual C++ 2005 Express Edition ->Visual Studio Tools ->Visual Studio 2005 Command Prompt
(dont left click on VS 2005 command prompt though, right click on it and then click "Run as Administrator"
**If you dont run it as Administrator the fix will not work**

Then, once the black Command Prompt box is open, navigate to your battlefield 2 directory.
If you don't know how to navigate in DOS, follow this:

In Vista 32: cd c:\Program Files\ ENTER **or** In Vista 64: cd c:\Program Files (x86)\ ENTER

then usually it's "cd EA GAMES" ENTER

then "cd Battlefield 2" ENTER

NOW WRITE THIS

editbin.exe /LARGEADDRESSAWARE BF2.exe hit ENTER

It should then come up with a "Microsoft copyright or trademark" type thingy, this means it was successful.
Type "exit" and hit ENTER, and it's fixed!

64 bit Vista users can now restart and play, 32 bit Vista users follow the next step...

In a command prompt and once again **Run your command prompt "As Administrator"**

Type this command:
BCDEDIT /set increaseuserva 2900 ENTER
Now exit out of that box, restart and you're done!
Deploy crash: Crash after fully loading and deploying into a new map.

Description to the possible cause of the problem:
This is a common issue with PR v0.8 while running the game with any resolution lower than 1024x756.

Solutions:

Other tips(Battlefield 2 and gaming in general):

  • On Windows Vista, while gaming change your Windows theme from Windows Aero to Windows Classic and make sure to exit Sidebar as it takes up system resources.
  • For most online games under Vista you’ll need to right-click the shortcut, go to properties/Compatibility tab, and under “Privilege Level” checkmark “Run this program as an Administrator”.
UPDATE:

R.J.Travis has brought to my attention an important detail regarding the fix:

If you perform the fix under a computer equipped with an ATi graphics card, make sure to un-install the C++ program and its additions files after running the fix.
Last edited by Cheeseman on 2009-03-06 01:50, edited 3 times in total.
RobCoxxy
Posts: 17
Joined: 2008-09-04 13:13

Re: PR under Windows Vista

Post by RobCoxxy »

"Deploy crash: Crash after fully loading and deploying into a new map.

Description to the possible cause of the problem: This is a common issue with PR v0.8 while running the game with any resolution lower than 1024x756."

Errr. That's not the problem! It just f*cks up on Vista! I didn't have any problems with 0.75.

While loading maps, the map image doesn't show, then it crashes just as client verification checks out. That's it. It's weird.
This is my rifle, this is my gun. This is for fighting and this is for fun.
Cheeseman
Retired PR Developer
Posts: 1291
Joined: 2006-11-12 06:23

Re: PR under Windows Vista

Post by Cheeseman »

Your problem could possibly be due to network problems and not Windows Vista in general. Does this problem occur with any other multiplayer game? I'll look into this and see if I can find you a solution.
Cheeseman
Retired PR Developer
Posts: 1291
Joined: 2006-11-12 06:23

Re: PR under Windows Vista

Post by Cheeseman »

Sorry I haven't been able to find a solution to your problem yet, but I've been busy with Architectural stuff lately, but I'll look into this further by this Friday.

One thing I can suggest that could potentially fix your problem is to manually update PunkBuster:
http://www.punkbuster.com/index.php?pag ... rt-bf2.php
Last edited by Cheeseman on 2008-09-18 04:46, edited 1 time in total.
space
Posts: 2337
Joined: 2008-03-02 06:42

Re: PR under Windows Vista

Post by space »

'[R-DEV wrote:Cheeseman;804059']Sorry I haven't been able to find a solution to your problem yet, but I've been busy with Architectural stuff lately, but I'll look into this further by this Friday.

One thing I can suggest that could potentially fix your problem is to manually update PunkBuster:
PunkBuster Online Countermeasures
The manual updater doesn't work, and it hasn't for a few weeks now - I used to do it quite often, but now the updater says that the file is not on their server.
Personally PR runs fine on my Vista Ultimate 32, but if people are having serious problems you could consider installing xp as a dual boot on your vista machine - this site will be useful :

How to dual boot Vista and XP (with Vista installed first) -- the step-by-step guide with screenshots

Remember youll need room on your harddrive for two OS's two lots of all your drivers and two installs of bf2 and PR - it takes a few hours, but its worth it for the extra speed and stability.

PS Rather than turn off aero completely just hightlight the "disable desktop composition" on the PR.exe shortcut properties. This will just disable aero when you play PR, and will also free up quite alot of RAM. If youre willing to risk it you can also turn off vista UAC completely so that you dont have to run everything as administrator.

Lordrave - check all your firewalls ( nvidea tries to sneak an extra one on your comp ) I had a similar problem and it was the firewall - some firewalls say they are turned off when they are not - its better to add pb ( both files ), bf2 and PR to the exceptions list ( if they're already on the list, remove them and then re-add them )
Last edited by space on 2008-09-18 06:35, edited 1 time in total.
SoBlowed420
Posts: 1
Joined: 2008-09-25 07:53

Re: PR under Windows Vista

Post by SoBlowed420 »

Hey guy's,

I keep getting kicked back to my desk top after I have entered a
server and played a wile. I have a brand new Dell XPS 630i. It
have a core2 quad 8gig's, dual Nvidea 9800gt's and vista 32bit.
Any sugestion's would be very helpfull. Thanx.
Cheeseman
Retired PR Developer
Posts: 1291
Joined: 2006-11-12 06:23

Re: PR under Windows Vista

Post by Cheeseman »

KinDa late on a possible solution for you, but have you checked if your screen refresh rate is on 60 Hertz?
k.dotman
Posts: 10
Joined: 2008-11-02 12:05

Re: PR under Windows Vista

Post by k.dotman »

hi for an unknown reason pr randomly closes to desctop after 15-20 minutes of gameplay with no error message.

Im using vista home premium 32 bit
4G ram 2.9
2.9GHz dual core
512 graphics card..

ive already alowed it throug the fierwall and running it as administrator. graphics are set to high. Is there anything else i could try??
Skodz
Posts: 791
Joined: 2007-05-26 06:31

Re: PR under Windows Vista

Post by Skodz »

k.dotman wrote:hi for an unknown reason pr randomly closes to desctop after 15-20 minutes of gameplay with no error message.

Im using vista home premium 32 bit
4G ram 2.9
2.9GHz dual core
512 graphics card..

ive already alowed it throug the fierwall and running it as administrator. graphics are set to high. Is there anything else i could try??
'[R-DEV wrote:Cheeseman;785121']

Memory error: PR crashing during a map change with "memory .dll error” message.

Description to the possible cause of the problem: This is due to memory allocation problem with Windows Vista. Sometimes while loading a new map in PR the engine can use up to 4GB of memory in an instant; this leads to a crash, because that amount of memory isn’t accessible to the game under Vista.

Solutions:
  • As mentioned above, setting textures to medium has commonly fixed this problem.
  • Hers another fix for this problem for both Windows Vista 32 and 64bit operating systems (Although not recommended, because of MD5 check mismatch, so make sure to backup a copy of BF2.exe before performing this fix):

All in the first message...
DarthDisco
Posts: 155
Joined: 2007-07-25 18:02

Re: PR under Windows Vista

Post by DarthDisco »

I too had previously experienced the "Crash While Loading New Map" problem. For the longest time I had simply used the solution of setting my textures to medium. But seeing as how I have 4GB of RAM and that Cheeseman has found us a proper work-around, I have decided that I do not want to sacrifice any of my graphics any longer.

I am just wondering if anyone else has tried the C++ solution with success? I will likely give it a try tonight, and will report back my results afterward.


DD
|TG-XV| DiscoJedi


How's my flying? Call 1-800-FLY-JEDI
Deadfast
Retired PR Developer
Posts: 4611
Joined: 2007-07-16 16:25

Re: PR under Windows Vista

Post by Deadfast »

You will get kicked for MD5 tool mismatch.
DarthDisco
Posts: 155
Joined: 2007-07-25 18:02

Re: PR under Windows Vista

Post by DarthDisco »

I'm in the middle of a game after having apparently completed the C++ solution. We'll see if I can load the new map, but so far I have not been kicked. However, I am noticing some of the "stuttering" mentioned in Cheeseman's first Vista problem. This despite the fact that I have 4GB of RAM. I guess it could simply be due to my CPU (Intel Core 2 Duo E6300) it only runs 1.8 Ghz per core, which is not terribly fast.
|TG-XV| DiscoJedi


How's my flying? Call 1-800-FLY-JEDI
moska-sstealth
Posts: 3
Joined: 2008-11-21 03:33

Re: PR under Windows Vista

Post by moska-sstealth »

Hey help me plz.

i download the project reality Core
but it doesn't work.
help me plz. i want play PR!
Dude388
Posts: 404
Joined: 2008-07-21 21:15

Re: PR under Windows Vista

Post by Dude388 »

moska-sstealth wrote:Hey help me plz.

i download the project reality Core
but it doesn't work.
help me plz. i want play PR!
You did download the level pack and install it in order right?

Remember you need to it in this order:

1. Install Battlefield 2.
2. Install any Battlefield 2 Expansion Packs (these are NOT required for Project Reality).
3. Install the full BF2 Patch (Currently: BF2 1.41)
4. Install the latest PR Build (Currently: PR 0. 8)

If this still doesn't work, give the Installation guide a thorough read. I had similar problems like yours, but it helped me fix things.
Image
User avatar
bad_nade
Support Technician
Posts: 1497
Joined: 2008-04-06 18:26
Location: Finland

Re: PR under Windows Vista

Post by bad_nade »

moska-sstealth wrote:Hey help me plz.

i download the project reality Core
but it doesn't work.
help me plz. i want play PR!
You need both Core AND Levels.
Locked

Return to “Software”