No vsync support in BF2 at all? UPDATE

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
llktom
Posts: 11
Joined: 2011-01-15 07:00

No vsync support in BF2 at all? UPDATE

Post by llktom »

Hello,

I'm updating that thread:
[html]https://www.realitymod.com/forum/f27-pr ... 2-all.html[/html]

Everyone knows that Vsync not working(in games like PR which dont have Vsync in Video Settings) on Catalyst Control Center(Radeon) ,no matter if You mark Always On.They found(upper link)solutions.1st is to add renderer.vsync 1 and renderer.drawFps 1 to gamelogicinit.con file ,that's working but if You join multiplayer punkbuster will kick you after 5 minutes for "gamelogicinit.con modification".2nd method is download D3DOverrider.exe /add pr.exe to profile list/force VSync/set detection level to high and run game but sh*tty punkbuster kick for "Disallowed program/Driver".The best way to avoid that errors is add pr.exe shortcut to Steam but You have to do something.Go to Steam Settings/in game tab and uncheck -enable steam community in game this will prevent that punkbuster error.
So run D3DOverrider.exe/add pr.exe to profile list(later You can use Global settings)/force VSync/set detection level to high.Run PR.exe by Steam(add game outside Steam).Last very important thing to do is set fps max to 59 fps that will fix light mouse lag,to set that permanently go to Battlefield 2 Complete Collection\mods\pr\settings and open Usersettings.con in notepad and add game.lockfps 59,(make the file read-only otherwise it will get overwritten when shutting down the server and restart the server)like that:

Code: Select all

rem
rem Settingsfile automatically saved by bf2
rem
SettingsManager.boolSet GSClPunkBuster 1
SettingsManager.floatSet GSDefaultLatencyCompensation 0.100000
SettingsManager.boolSet GSExtrapolateFrame 0
SettingsManager.U32Set GSExtrapolationTime 1200
SettingsManager.U32Set GSInterpolationTime 100
SettingsManager.U32Set GSPerfLogAtPlayerCount 30
SettingsManager.stringSet GSPlayerName "[LL-K]^|Tom|"
SettingsManager.boolSet GSShowNetGraph 0
SettingsManager.boolSet GSUseObjectCache 1
game.lockfps 59
gl hf
Last edited by llktom on 2012-05-08 16:01, edited 5 times in total.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: No vsync support in BF2 at all? UPDATE

Post by LITOralis.nMd »

How is that not widely known?

I'll try this tonight, will report back tomorrow.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: No vsync support in BF2 at all? UPDATE

Post by MaSSive »

Why would anyone want that on in bf2? Well maybe if you have monitor that can go over 75Hz but that's not really common these days. Most have LCD's which is capped on 60 but some may go up to 75Hz, and some play on laptops which also use same frequencies. Reason for capping FPS is simple. If you have monitor that runs on 60Hz your FPS cant be over 60, if its 75Hz then 75FPS, and so on. V sync did matter when I had CRT monitor now its just annoyance that I have to disable.

And by this what you wrote here its more cost than benefits Id just stay away from it.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
ireg4all
Posts: 23
Joined: 2011-01-23 00:13

Re: No vsync support in BF2 at all? UPDATE

Post by ireg4all »

The easiest way is to put "renderer.vsync 1" inside your profile config.

You don't need any 3rd party tools or anything else.


If you see that it sets back to 0 then check "read only" in the properties of the config.
007.SirBond
Posts: 276
Joined: 2012-12-12 05:03

Re: No vsync support in BF2 at all? UPDATE

Post by 007.SirBond »

Hey guys I added renderer.vsync 1 to my gamelogicinit.con file

It was working fine until after I updated to 0.981

Now Punkbuster keeps kicking me for md5tool mismatch gamelogicinit.con len〓323

I erased the renderer.vsync 1 from the file. But it didn't stop the pb kicks.
So I reinstalled PR.

I really don't want to dl another program just to enable vsync

Is there any work around this?

And where do I edit my profile config to add renderer.vsync 1
What is the file name because I don't want to edit gamelogicinit.con
Last edited by 007.SirBond on 2012-12-23 06:23, edited 2 times in total.
IINoddyII
Retired PR Developer
Posts: 2268
Joined: 2008-02-06 03:12

Re: No vsync support in BF2 at all? UPDATE

Post by IINoddyII »

just enter the command in the console (~) to avoid editing any files (and thus running the risk of md5 mis-matches)
007.SirBond
Posts: 276
Joined: 2012-12-12 05:03

Re: No vsync support in BF2 at all? UPDATE

Post by 007.SirBond »

[R-MOD]IINoddyII wrote:just enter the command in the console (~) to avoid editing any files (and thus running the risk of md5 mis-matches)
Sorry, I typed the wrong command in my last post, I meant, renderer.vsync , not renderer.drawfps

I can't enter renderer.vsync 1 in the console ingame, it comes up as Error: Unauthorised method!

I decided to just edit the file after backing up the original.

I edited my gamelogicinit.con file and added
renderer.vsync 1

it still doesnt work.

It worked in 0.97, but not in 0.981
Any help?
Last edited by 007.SirBond on 2012-12-23 06:38, edited 1 time in total.
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Post by BloodyDeed »

007.SirBond wrote: It worked in 0.97, but not in 0.981
Any help?
That's probably because some servers weren't correctly set up.
Now with 0.98 they got new serverfiles and maybe they enabled md5 checks now.
Anyway, you shouldn't be able to play with a modified file.
Image
007.SirBond
Posts: 276
Joined: 2012-12-12 05:03

Re: No vsync support in BF2 at all? UPDATE

Post by 007.SirBond »

[R-DEV]BloodyDeed wrote:That's probably because some servers weren't correctly set up.
Now with 0.98 they got new serverfiles and maybe they enabled md5 checks now.
Anyway, you shouldn't be able to play with a modified file.
Alright, well even editing the gamelogicinit.con file doesnt seem to work now in 0.981

Do you know if there is a file in the profile folder that would work with renderer.vsync 1?

I have a Nvidida card and NvididaCP's vsync enabled option is not working ingame.

edit:

I am now using Adaptive Vsync on NvididaCP, it came with the new drivers.

But if anyone finds a solution to this without using D3dOverride.exe, please post here for others who may search this thread up for the same problem.
Last edited by 007.SirBond on 2012-12-24 00:40, edited 1 time in total.
Post Reply

Return to “PR:BF2 Support”