BF2 Tweaks and Stuff.

Where we come together to shoot 5punk.

Moderator: Forum Moderators

Post Reply
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

BF2 Tweaks and Stuff.

Post by Dr. kitteny berk »

How to make your BF2 run a bit happier

Reduce the Number of Punkbuster Checks:

Punkbuster, as you probably know, is the anti cheating software which comes bundled with BF2 and is required to play on all ranked servers and most public servers. Punkbuster scans your hard-drive for problems every 20 seconds. As you may have guessed, this causes a lot of lag. What we are going to do in this fix is to increase the amount of time in between punkbuster checks to 500 seconds (the maximum amount so don't try anything higher lol). By the way, in case you were worried, this is 100% safe with punkbuster, and will NOT cause any problems with Punkbuster thinking you are a cheater. Punkbuster even recommends this fix on their website. To do this you need to:

1. Join any BF2 online server which is running punkbuster, preferably a ranked one.
2. Once you are in, and respawned somewhere, press the `~(Tilda) key. This key is located on most keyboards above the tab key and to the left of the 1 key.
3. A large white box should drop down with a load of text in it. Type pb_sleep500 and hit the enter key.
4. Once you have done this, make sure the box is still up and type pb_writecfg to save your settings.

Speed up Logging in
Open the General.con in documents & settings\own data\Battlefield 2\Profiles\0001 using notepad
Delete all GeneralSettings.addServerHistory entries.
Also delete your favorite servers if they are down.
BF2 seems to wait for a ping response of everthing before you are logged in.
You can also write protect your general.con to keep BF2 from saving server history

Make the game start a little faster

Use Alcohol or suchlike to image your bf2 disc (or use a mini image available on the web) i find this saves a few seconds of dive time, and lets me keep the dvd in it's box

Open BF2's Ports

Open up all the ports in your firewall, Battlefield 2 uses ports to contact the internet, Firewalls block these ports, you will need to open them up, If you have a router, forward the ports to the computer which uses Battlefield 2 Here are a list of ports you need to open on BF2: 16567 and 16569 are the most important.

Opening these will help
UDP 27900
UDP/TCP 29900
TCP 4711
TCP 29901
UDP 1500-4999
UDP/TCP 1024-1124
UDP 28910
UDP 16567
UDP 55123-55125

No startup videos (ea, nvidia, etc)

delete

bf2legal.bik
bf2release.bik
legaltext.bik
locknload.bik
dice.bik
ea.bik
Nvidia_logo.bik

from Battlefield 2\mods\bf2\Movies


Sources:
http://bf2lag.com/top5tips.html
http://www.secretsofbattlefield.com/hardware1.html
http://www.tweakguides.com/BF2_1.html
Last edited by Dr. kitteny berk on January 26th, 2009, 16:54, edited 9 times in total.
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

Post by Dr. kitteny berk »

Having has played with the exe renaming stuff reccomended, it does seem to help a little, but it doesn't do anything to the memory usage.


It's also worth remembering you absolutely NEED more than 1gb of ram to get the best out of this game
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

Post by Dr. kitteny berk »

Correct Patching Order


With BF2 only

do a fully clean install of bf2,
patch to 1.21 using the standalone patch.

With SF

do a fully clean install of bf2,
install SF
patch to 1.21 using the standalone patch,

With SF and EuroForce

do a fully clean install of bf2,
install SF
patch to 1.21 using the standalone patch,
install Euroforce.

With EuroForce

do a fully clean install of bf2,
patch to 1.21 using the standalone patch,
install Euroforce.
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

Post by Dr. kitteny berk »

Forcing a custom resolution and making bf2 autologin.

From a shortcut:

Code: Select all

"C:\Program Files\Battlefield 2\BF2.exe" +menu 1 +fullscreen 1 +username yourname +playerPassword yourpass +szx 1680 +szy 1050
(don't add +szx 1680 +szy 1050 if you don't want a custom resolution)

From Xfire:

Open C:\Program Files\Xfire\xfire_games.ini with notepad
Search for [4578] then change the Launch= Line to have +szx 1680 +szy 1050 on the end.

The examples are all +szx 1680 +szy 1050, because that's what i use, this is only really useful for people with widescreen monitors.
Woo Elephant Yeah
Heavy
Heavy
Posts: 5433
Joined: October 10th, 2004, 17:36
Location: Bristol, UK
Contact:

Post by Woo Elephant Yeah »

Yay, I added the widescreen resolution yesterday, and it worked a treat.

Now all I need to do is get rid of the startup videos as mentioned above, and change the xfire game shortcut to match.

My next question, I assume I can do exactly the same with the SF addon?
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

Post by Dr. kitteny berk »

yup, s'all the same. :)


and yeah, it stretches up to widescreen, but that's slightly nicer than running a tft at a non-native resolution. :)
Dr. kitteny berk
Morbo
Morbo
Posts: 19676
Joined: December 10th, 2004, 21:53
Contact:

Post by Dr. kitteny berk »

http://www.imk.cx/pc/widescreenfixer/

might be handy (not tested)
Post Reply