Home

Generators

Blogs

How to Work With Config in CS2?

Setting up a configuration in CS2 is an important step for every player striving for stable and effective gameplay. Not only does comfort during the match, but the final result also depends on the correctly selected parameters. The config allows you to adapt the controls, mouse sensitivity, sight parameters, and other aspects to your individual playing style. If you want to know how exactly professionals set up their game — for example, NiKо, yuurih, or Fruitcupx CS2 players, refer to the Profilerr resource, which contains up-to-date data on their configurations, statistics, and participation in tournaments.

Where Is The Config in CS2?

The config (or configuration file) in CS2 is a text file that stores the game settings. These can be both basic parameters (graphics, controls, sound), and more advanced settings (keybindings, macros, performance enhancement commands, etc.).

There are several types of configs:

  • config.cfg — the main settings file, where the game writes everything you change through the menu;
  • autoexec.cfg — a user file in which you can manually enter commands so that they run automatically when the game starts;
  • userconfig.cfg — an additional custom config that can be used for your own purposes.

Players who want to get the most out of their hardware or adapt the controls for themselves always use these files. 

Where Is The Config in CS2?

One of the most frequently asked questions is where the config is stored in CS2? The answer depends on the operating system you are using.

Windows

The path to the config on Windows usually looks like this:

  • C:\Program Files (x86)\Steam\userdata\[your Steam ID]\730\local\cfg

or

  • C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg

Both paths can contain configs, but the first is user, the second is global.

MacOS

For Mac users:

  • ~/Library/Application Support/Steam/userdata/[SteamID]/730/local/cfg

The Library folder is hidden by default, you need to open it manually.

Linux

On Linux:

  • ~/.steam/steam/userdata/[SteamID]/730/local/cfg

Steam ID is a numeric identifier of your account, it is individual. You can find it through your profile or sites like steamidfinder.com.

If you still do not understand where the config is in CS 2, just open Steam, right-click on CS 2 → Controls → View local files → and then go to the cfg folder.

Main Config Files And Their Purpose

Here is a brief analysis of the key files:

  • config.cfg — created automatically, contains basic parameters, including controls, graphics, and sound.
  • autoexec.cfg — created manually, here the player needs to enter the necessary commands that will be launched when the game starts.
  • video.txt / audio.txt — responsible for advanced graphics and sound settings.
  • userconfig.cfg — optional, but can be used for personal scripts and macros.

If you want to change the mouse sensitivity, key binds or write your own commands — you need autoexec.cfg. If you just want to save the settings that you made through the menu — see config.cfg.

Editing And Creating Your Own Config

To edit the config, you need a regular text editor – notepad or Notepad++. It is recommended to use Notepad++, as it preserves formatting and is easy to work with.

What can be written in the config:

  • sensitivity 2.2 – mouse sensitivity;
  • bind “mouse4” “+voicerecord” – voice chat bind;
  • fps_max 300 – maximum FPS;
  • cl_radar_always_centered 0 – radar.

You can create a config manually. Open notepad, enter the commands, save the file as autoexec.cfg, and put it in the cfg folder. To make it run when the game starts, add the launch parameter in Steam:

  • +exec autoexec.cfg

And to avoid losing it, create a backup copy. 

Is It Possible to See the Settings of Pro Players?

If you don’t know your preferences yet and are looking for your settings, you can take an example from pro players. Pro player settings are available to everyone. For example, here are some console commands for settings like Gavin “Fruitcupx” Norman from BLUEJAYS.

Crosshair:

  • CSGO-Cr7BJ-7CbBi-yx2oQ-Jy32v-7cG4C

Viewmodel:

  • viewmodel_fov 68;viewmodel_offset_x 2.5;viewmodel_offset_z -2

HUD:

  • hud_scaling 0.95;cl_showloadout true;safezonex 1;safezoney 1

Radar:

  • cl_hud_radar_scale 1;
  • cl_radar_scale 0.50395;
  • cl_radar_always_centered true;
  • cl_radar_rotate true;
  • cl_radar_icon_scale_min 0.6.

How to Save And Restore The Config in CS2?

Many players are faced with the loss of configs after game updates, changing computers or reinstalling Windows. It is especially annoying to lose your perfect autoexec.cfg, into which you have invested hours of customization.

To avoid such situations, follow a simple algorithm:

  1. Make a backup copy of the entire cfg folder, which contains your configs. Its path:
  • Windows: C:\Program Files (x86)\Steam\userdata\[your Steam ID]\730\local\cfg

or:

  • steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
  1. Copy the folder to an external drive or to the cloud. It is best to make an auto-sync.
  2. After reinstalling the game, simply replace the new cfg folder with your saved one. This will return all your binds, sensitivity, graphics, etc.
  3. You can also use Steam Cloud, but be careful: in some cases, it can overwrite the old config with a new one, especially if you forgot to turn off synchronization.
  4. Don’t forget to save configs separately for different accounts. 

Using Configs to Improve Performance in CS2

Config is the key to stable FPS, especially on weak or unstable systems. Many parameters that are not available through the menu can be set directly in the config. Here are some examples of commands:

  • mat_queue_mode 2 — activates multithreaded processing, increases performance;
  • cl_forcepreload 1 — preloads all resources before the start of the match, reduces freezes;
  • r_dynamic 0 — disables dynamic lighting, frees up video card resources;
  • fps_max 0 — removes the FPS limit, which is especially useful on powerful PCs;
  • cl_disablehtmlmotd 1 — disables MOTD (login banners), improves map loading.

For weak PCs, it is recommended to:

  • lower graphics settings via config as much as possible;
  • disable blur, shadows, dynamic lighting;
  • enable preload and multithreading.

For top systems, you can, on the contrary, enable maximum detail, but limit FPS to 240 or 300 to avoid input lag.

Using the config gives fine control over the system (no menu item will give such flexibility).

Conclusion

Working with the configuration in CS2 requires attention and understanding of your own gaming needs. This is not just a technical point, but the basis of your efficiency on the server. By selecting the optimal settings, you increase your control over the game and reduce errors. And if you want to learn from the best players from American and European teams, such as Renegades, Virtus.pro, Natus Vincere, and others visit Profilerr.