What is lock_framerate in game.cfg

Computer Issues? Game Issues? Hardware/Software Questions. Post them here and our resident Computer Geek will try to help you.
Post Reply
huntor
PrimeTech Administrator
PrimeTech Administrator
Posts: 1293
Joined: Mon Sep 27, 2010 12:00 am

What is lock_framerate in game.cfg

Post by huntor »

This is a very helpful tool for those that do not have a very powerful computer.

What is the use for lock_framerate?

Well it is designed for computers that can't handle alot of cpu and graphics cycles.
With lock_framerate set to on (lock_framerate = 1) it will only allow your dfx, dfx2, jo and so forth to run a max of 60 fps. This will limit how much resources your game uses on your machine. My processor only uses maybe 2% usage.

For example on my computer. Since I have a quad core 3.4ghz processor and nvidia 260 I turn lock_framerate off as my machine can handle what ever nova game throws at it. Instead of only allowing dfx2 to run at 60 fps I turn this option off (lock_framerate = 0) and now my machine can produce around 180 frames per second.

But now my processors load is around 24% and it is using alot more ram as well.

So basically in a nutshell using lock_framerate will determine how much resources you will allow dfx, dfx2, and jo to use at any given time.

If you have lock_framerate turn off it will give you a little better picture. Just like anygame the more fps the more smooth the game looks.
Image
huntor
PrimeTech Administrator
PrimeTech Administrator
Posts: 1293
Joined: Mon Sep 27, 2010 12:00 am

Re: What is lock_framerate in game.cfg

Post by huntor »

Here is an some visuals.

With lock_framerate = 1 (ON) This holds back resources and keeps screen under 60 fps.

Here are the stats for ingame and how much resources it uses.

Image
Image

Here are the stats with lock_framerate = 0 (OFF) This allows dfx2 to use as much resources it needs. Also 206 fps.

Image
Image

Hopefully this will help explain the difference between lock_framerate on or off.
Image
User avatar
Windstalker-PG-
Administrator
Administrator
Posts: 1451
Joined: Sat May 22, 2010 11:04 am

Re: What is lock_framerate in game.cfg

Post by Windstalker-PG- »

Thanks Huntor! I am sure that helps the guys who don't have a lot of RAM or an older video card
Image
Image
When you hear the Wind.. You're already dead
Image
TAR1
Posts: 705
Joined: Sun May 30, 2010 8:32 am

Re: What is lock_framerate in game.cfg

Post by TAR1 »

OK how do you turn off or on the frame rate?
Image
User avatar
Bubbachuk-PG-
Site Admin
Site Admin
Posts: 4915
Joined: Sun May 16, 2010 1:59 pm
Location: Marshville, North Carolina
Contact:

Re: What is lock_framerate in game.cfg

Post by Bubbachuk-PG- »

Go into your DFX2 Black Ops Folder and find the file named 'game'.
Double-click on the name to open the file. It opens in NOTEPAD.
Look under the //DISPLAY heading.
Find "lock_framerate". It's near the bottom of the DISPLAY Section.
If the number to the right is a "1", change it to "0" and Click on File/Save.
If it's already a "0", then just exit.

// DISPLAY
windowed = 0
hw3d_deviceno = 0
hw3d_name = "NVIDIA GeForce 7600 GS"
hw3d_guid = "D7B71E3E-41A1-11CF-496DCF0103C2CB35"
video_res = 1024x768
gamma = 0.8
terrain_polydetail = 1
terrain_texdetail = 2
object_polydetail = 1
object_texdetail = 2
display_16x9 = 0
water_quality = 2
shadow_quality = 2
particle_density = 1
antialias_mode = 0
texfilter_level = 1
fbeffects_level = 3
shader_usage_level = 2
texcompression_level = 1
lock_framerate = 1
force_vsync = 0
reduce_mouselag = 1
enable_keyboardtips = 1
enable_gameplaytips = 1
Image
Image

The democracy will cease to exist when you take away from those who
are willing to work and give to those who would not.
~ Thomas Jefferson

Website: http://pgsquad.com
Facebook: https://www.facebook.com/oliver.holmes.357
TAR1
Posts: 705
Joined: Sun May 30, 2010 8:32 am

Re: What is lock_framerate in game.cfg

Post by TAR1 »

Thank You it's already 0.
Image
huntor
PrimeTech Administrator
PrimeTech Administrator
Posts: 1293
Joined: Mon Sep 27, 2010 12:00 am

Re: What is lock_framerate in game.cfg

Post by huntor »

Right by default. Only turn it on if your computer can't handle running dfx2 very well.
Image
Post Reply