Counter-Strike: Global Offensive

How To Properly Make An Autoexec File For CSGO


Updated: 5/7/2017


What is an autoexec file?


An autoexec file is a file that executes when you start CSGO. Unfortunately this does not always work for everybody so we here at esportsettings have made a tutorial on how to make an autoexec, as well as how to make it work properly for those that it doesn’t always work for.

How to make the autoexec file and where to put it


1. Open up any text editor, i recommend notepad++.

 

2. The commands i recommend you to put inside your autoexec:

 

rate “786432”

hud_scaling “1”

cl_interp “0”

cl_interp_ratio “1”

cl_cmdrate “128”

cl_updaterate “128”

 

Note: The max rate was previously 128000. This was changed in an update a few months ago to the new max rate 786432.

0.5 Mbps – rate 62500

0.64 Mbps – rate 80000 (Old Default)

1.0 Mbps – rate 125000

1.5 Mbps – rate 187500

1.57 Mbps – rate 196608 (New Default)

2.0 Mbps – rate 250000

2.5 Mbps – rate 312500

3.0 Mbps – rate 375000

3.5 Mbps – rate 437500

4.0 Mbps – rate 500000

4.5 Mbps – rate 562500

5.0 Mbps – rate 625000

5.5 Mbps – rate 687500

6.0 Mbps – rate 750000

6.2 Mbps – rate 786432 (New Max)

 

If your internet connection is good, we recommend you to use 786432.


Optional commands:
You can also have these commands inside your autoexec which makes the weapon not sway when you run/walk/crouch. You want your fps_max to either be 300 or 999. I feel my game is much smoother with 300 but a lot of people are playing with 999 so it is up to you. Never use fps_max “0” because that will make it slower to load maps and to load offline server vs bots.

 

fps_max “300”

 

cl_viewmodel_shift_left_amt “0”

cl_viewmodel_shift_right_amt “0”

 

cl_bob_lower_amt “0”

cl_bobamt_lat “0”

cl_bobamt_vert “0”

 

cl_bobcycle “2”

 

What you also can do is to add r_dynamic 0 to your autoexec. This can be helpful if you feel like your game is not smooth or is stuttering.

 

3. Save the file as autoexec.cfg and put it inside your cfg folder. Mine is here: C:/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/cfg

 

4. Good job. You have now made an autoexec.cfg file.



Note: If the file does not execute when you open CSGO. Add host_writeconfig at the end of your autoexec.cfg file. Also add +exec autoexec to your launch options. To find your launch options go to steam library -> right click csgo -> properties -> set launch options.


We have also made a video demonstrating on how to make an autoexec.cfg file on our youtube channel:



Author


Daniel