user.cfg

quark1980
NL Enlisted: 2011-10-24
2011-11-12 09:36 , edited 2011-11-12 11:56 by quark1980
hey all,

i don`t recall seeing this on the forums, i found it on another forum, so ill just go ahead and post it here for references.

you can make a file "user.cfg" in the folder where also "BF3.exe" is located.

any console command you put in this plain file, wil be executed upon the start of every game.

i use it to permanently apply some tweaks i found on the web. and show my FPS ingame without the need to punch in the commands every time i restart the game client.


so for anybody who didn`t know... now you do.

edit:
if anybody is gonna ask what i did put into this file, it would be this:

WorldRender.DxDeferredCsPathEnable 0
RenderDevice.ForceRenderAheadLimit 1
Render.DrawFps 1
WorldRender.SpotLightShadowmapResolution 256
RenderDevice.TrippleBufferingEnable 0
WorldRender.FxaaEnable 0
RenderDevice.Dx11Enable 0 <- i removed this line because it did mess up lighting a bit... and gave a lousy 1-2 fps extra
PostProcess.DynamicAOEnable 0

this made it possible for me to run this game on a res of 1920*1200(native looks better, then high on half the res...) with a fps of 30-40 with a rather old HD5670
however result may vary on different setups...
302worx
AU Enlisted: 2011-10-26
2011-11-12 09:42
dx11enable 0 = false . it doesnt work. and i found out that most of them dont work, including contrast .
quark1980
NL Enlisted: 2011-10-24
2011-11-12 09:44 , edited 2011-11-12 09:46 by quark1980
treu, forcing dx10 didn`t do much on my systems also, but like i stated, not all setups seem to work...

however, i gained around 15fps with this...

2 friends of mine din`t get this result however..

i think it depends on the cpu hwo much it will affect the fps....

the thread isnt about fps however, but about how to make those commands stick...
WoodyDutch
NL Enlisted: 2011-10-25
2011-11-12 09:45
bedankt :)
chafing
Enlisted: 2011-10-25
2011-11-12 09:45 , edited 2011-11-12 09:45 by chafing
RenderMeInvincible 1
302worx
AU Enlisted: 2011-10-26
2011-11-12 09:46
what are u cpu specs then?
quark1980
NL Enlisted: 2011-10-24
2011-11-12 09:48 , edited 2011-11-12 09:50 by quark1980
amd phenomII X6 1055T

the "WorldRender.DxDeferredCsPathEnable 0" gave me the best results.

especially in thighter spots.

i suggest you try this first in the console before making a user.cfg
302worx
AU Enlisted: 2011-10-26
2011-11-12 09:56
phenom2 = duo core?
quark1980
NL Enlisted: 2011-10-24
2011-11-12 10:04 , edited 2011-11-12 10:05 by quark1980
w0rx said:
phenom2 = duo core?

dude?!

Socket AM3
speed 2,8GHz
CPU Core 6-Core
Bus HT-Link 2000MHz
CPU Cache Level 2 6x 512KB
CPU Cache Level 3 6MB

the "II" in phenomII means its the second generation phenom procs ;)
302worx
AU Enlisted: 2011-10-26
2011-11-12 10:07
ooo nice.
quark1980
NL Enlisted: 2011-10-24
2011-11-12 10:12
tnx, its nothing special, im just upgrading in steps...

next up in line is a decent graphics card, but for now, ill just have to tweak a bit...
Tha_BlEH
ZA Enlisted: 2011-10-28
2011-11-12 10:14 , edited 2011-11-12 10:14 by Tha_BlEH
what do you save it with? notepad?
Volkove2099
Enlisted: 2011-10-24
2011-11-12 10:51
would it be possible to use something like this to force keybinds? one in particular, middle mouse button while gunning in a helicopter, even clearing the bind or putting it to something else, every time i hit middle mouse, my weapon switches
302worx
AU Enlisted: 2011-10-26
2011-11-12 11:20 , edited 2011-11-12 11:27 by 302worx
testing to see if this acctualy works

edit:
well my fps have increased but the fps sudden drop is crazy now, for example
55 fps then drops to 20, 10, 3 back to 60.. not sure why that is.
quark1980
NL Enlisted: 2011-10-24
2011-11-12 11:41 , edited 2011-11-12 11:49 by quark1980
Volkove2099 said:
would it be possible to use something like this to force keybinds? one in particular, middle mouse button while gunning in a helicopter, even clearing the bind or putting it to something else, every time i hit middle mouse, my weapon switches

if you find the console command to bind the key, then yes.


@0BlEh0:
you just save it as "user.cfg" in the same folder as the executable.

just be sure you DONT name it "user.cfg.txt" wich could accidentally happen :P
if you at least put in the "render.drawfps 1" in the file, you would know instantly if you did it correctly, if the game shows the fps upon start



@w0rx:
i didnt notice much fps drops. it could be due to the pre-render setting... did you try all commands or just the last mentioned?

i think the effect the tweaks will have depends a lot on the rest of youre system, just see if it does any good, if it does, win!
if not, no loss..
302worx
AU Enlisted: 2011-10-26
2011-11-12 11:49
did al commands, im trying now pre render 0, because bc2 it lagged for me untill i changed it to 0
Bugbiter
GB Enlisted: 2011-10-29
2011-11-12 11:50
This helped me until the end of round and then rubber banded for 10-15 secs. Up until that point it was smooth.
quark1980
NL Enlisted: 2011-10-24
2011-11-12 11:51 , edited 2011-11-12 11:55 by quark1980
w0rx said:
did al commands, im trying now pre render 0, because bc2 it lagged for me untill i changed it to 0

let me know if it worked, i presume this setting uses a bit of resources to even out the framerates a bit,.

@bugbiter:
try only this single command and see if thats enough to get some framerate.. this also helps eliminating the cause of the rubberbanding...
did you also try a different map or server? to eliminate server side isseus?

WorldRender.DxDeferredCsPathEnable 0
Render.DrawFps 1
Bugbiter
GB Enlisted: 2011-10-29
2011-11-12 12:02
I shall try that later mate, I am in the process of bouncing servers to check if it was just that one lol.
302worx
AU Enlisted: 2011-10-26
2011-11-12 12:52 , edited 2011-11-12 12:55 by 302worx
holy shit... this is insane. big fps gain for me as well. Im running an e8400 duo core, 5770hd and now running the game on native screen resolutuon ( 23 inch ) and on high. and getting very smooth 40+ fps. there is an occasional fps drop but my pc is 3 years old.

Stick this thread for big fps boost. !!

ps, i got much better results with prerender @ 0 insteard of 1

thanks alot OP, you helped me alot.