| View previous topic :: View next topic |
| Author |
Message |
-=4th=-1/2Hawk BFP Developer
Joined: 22 Jun 2006 Posts: 1248 Location: TN
|
Posted: Wed Jun 27, 2007 12:01 am Post subject: Vista fix for BF2 |
|
|
Reprint from my clan site, courtesy Abraxxas1127 :
I found a fix for the "memory .dll error" that kicks some of us out to desktop every 2 or 3 map loads on certain servers, some more than others but from what I have been reading this is a problem for a lot of people running Vista, myself included.
The problem is that the BF2.exe is trying to use more memory than it is allowed to, this fix enables the BF2.exe to use more than it's current limit of 2gb (physical and PF together) for the second or two it needs it during certain map loads.
Here you go
(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!
I havent had BF2 crash once since I did this, seems to be a fix you need to do for more games than just BF2 as well from what I've been reading. You can also use this to fix BF 2142, just change the folders and .exe's accordingly from BF2 to BF 2142 for those of you who play that, hope this helps! _________________
 |
|
| Back to top |
|
 |
MikePowell Land Lubber
Joined: 29 Aug 2006 Posts: 3
|
Posted: Mon Jul 02, 2007 9:18 am Post subject: |
|
|
| Nice! thank you! Does anyone know a way to play bf1942 in vista? I'm dual booting right now and it doesn't work, also reinstalled it in vista itself, still doesnt work :( |
|
| Back to top |
|
 |
RK-Mara Beta Tester

Joined: 01 Feb 2006 Posts: 1049 Location: Helsinki, Finland
|
Posted: Mon Jul 02, 2007 7:07 pm Post subject: |
|
|
| MikePowell wrote: | | Nice! thank you! Does anyone know a way to play bf1942 in vista? I'm dual booting right now and it doesn't work, also reinstalled it in vista itself, still doesnt work :( |
Works perfectly for me. Do you have the newest drivers? _________________
 |
|
| Back to top |
|
 |
yauyin123 Land Lubber
Joined: 06 Jul 2007 Posts: 2
|
Posted: Fri Jul 06, 2007 8:09 am Post subject: Re: Vista fix for BF2 |
|
|
| Will i get kicked by pb if I do this? |
|
| Back to top |
|
 |
RK-Mara Beta Tester

Joined: 01 Feb 2006 Posts: 1049 Location: Helsinki, Finland
|
Posted: Fri Jul 06, 2007 9:48 am Post subject: Re: Vista fix for BF2 |
|
|
| yauyin123 wrote: | | Will i get kicked by pb if I do this? |
No, why would you? You need to run BF2 as admin, then PB won't kick you. _________________
 |
|
| Back to top |
|
 |
[NUNYA]Rug_Dr Land Lubber
Joined: 08 Jul 2007 Posts: 1
|
Posted: Sun Jul 08, 2007 7:14 am Post subject: |
|
|
| Well tried it on a couple of machines. worked great except servers with PB. it sees the modified date and kicks you for it. is there a way to change the modified date ? |
|
| Back to top |
|
 |
[BB]PADRO Bilge Rat
Joined: 02 Feb 2006 Posts: 19
|
Posted: Mon Jul 09, 2007 12:42 am Post subject: |
|
|
I did this awhile back and it works great. I dont get any odd crashes anymore. PB doesnt kick me so it might just be you or you did something wrong. _________________
 |
|
| Back to top |
|
 |
yauyin123 Land Lubber
Joined: 06 Jul 2007 Posts: 2
|
Posted: Sun Aug 12, 2007 6:20 am Post subject: |
|
|
I fixed my BF2.exe and PB doesn't kick me at almost servers, but sometimes I will see this, does anyone got that before? |
|
| Back to top |
|
 |
RK-Mara Beta Tester

Joined: 01 Feb 2006 Posts: 1049 Location: Helsinki, Finland
|
Posted: Sun Aug 12, 2007 9:50 am Post subject: |
|
|
It doesn't seem to be fixed It looks like you did something wrong with your bf2.exe. _________________
 |
|
| Back to top |
|
 |
Tr0ubled_mind Bilge Rat
Joined: 20 Sep 2007 Posts: 20
|
Posted: Thu Sep 20, 2007 3:04 pm Post subject: |
|
|
I just right click on bf2 icon and click Run As Administrator  |
|
| Back to top |
|
 |
ikbinhans Land Lubber
Joined: 30 May 2009 Posts: 1
|
Posted: Sat May 30, 2009 11:22 pm Post subject: |
|
|
hey when I entered in editbin.exe/LARGEADDRESSAWARE BF2.exe, I got the message:
"editbin.exe is not recognized as an internal or external command, operable program or batch file."
Am I missing a file or something? |
|
| Back to top |
|
 |
|