Home - Index - FAQ - Search - Members - Groups - Register - Private Messages - Log in -
Vista fix for BF2

 
Post new topic   Reply to topic    BFPirates Forum Index -> Carpenters Corner
View previous topic :: View next topic  
Author Message
-=4th=-1/2Hawk
BFP Developer


Joined: 22 Jun 2006
Posts: 1248
Location: TN

PostPosted: Wed Jun 27, 2007 12:01 am    Post subject: Vista fix for BF2 Reply with quote

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
View user's profile Send private message Visit poster's website
MikePowell
Land Lubber


Joined: 29 Aug 2006
Posts: 3

PostPosted: Mon Jul 02, 2007 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
RK-Mara
Beta Tester
Beta Tester


Joined: 01 Feb 2006
Posts: 1049
Location: Helsinki, Finland

PostPosted: Mon Jul 02, 2007 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
yauyin123
Land Lubber


Joined: 06 Jul 2007
Posts: 2

PostPosted: Fri Jul 06, 2007 8:09 am    Post subject: Re: Vista fix for BF2 Reply with quote

Will i get kicked by pb if I do this?
Back to top
View user's profile Send private message
RK-Mara
Beta Tester
Beta Tester


Joined: 01 Feb 2006
Posts: 1049
Location: Helsinki, Finland

PostPosted: Fri Jul 06, 2007 9:48 am    Post subject: Re: Vista fix for BF2 Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
[NUNYA]Rug_Dr
Land Lubber


Joined: 08 Jul 2007
Posts: 1

PostPosted: Sun Jul 08, 2007 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
[BB]PADRO
Bilge Rat


Joined: 02 Feb 2006
Posts: 19

PostPosted: Mon Jul 09, 2007 12:42 am    Post subject: Reply with quote

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
View user's profile Send private message
yauyin123
Land Lubber


Joined: 06 Jul 2007
Posts: 2

PostPosted: Sun Aug 12, 2007 6:20 am    Post subject: Reply with quote


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
View user's profile Send private message
RK-Mara
Beta Tester
Beta Tester


Joined: 01 Feb 2006
Posts: 1049
Location: Helsinki, Finland

PostPosted: Sun Aug 12, 2007 9:50 am    Post subject: Reply with quote

It doesn't seem to be fixed Very Happy It looks like you did something wrong with your bf2.exe.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Tr0ubled_mind
Bilge Rat


Joined: 20 Sep 2007
Posts: 20

PostPosted: Thu Sep 20, 2007 3:04 pm    Post subject: Reply with quote

I just right click on bf2 icon and click Run As Administrator Very Happy
Back to top
View user's profile Send private message
ikbinhans
Land Lubber


Joined: 30 May 2009
Posts: 1

PostPosted: Sat May 30, 2009 11:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    BFPirates Forum Index -> Carpenters Corner All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Appalachia Theme © 2002 Droshi's Island

Designed & images by Kooky