Skip to content

CS2 autoexec builder

Set your radar, frame-rate cap and binds, then download a ready-made autoexec.cfg that CS2 runs every time it starts.

Radar
cl_radar_scale

0.25 to 1. Lower shows more of the map. Values outside the range are clamped.

cl_hud_radar_scale

0.8 to 1.3. Values outside the range are clamped.

cl_radar_icon_scale_min

0.4 to 1.25. Values outside the range are clamped.

Frame rate

0 removes the cap. Leave blank to keep your current setting.

Binds and extra commands

Quote a bind that runs several commands: bind "f1" "buy ak47; buy vesthelm".

autoexec.cfg · 7 commands

// FPSTools autoexec. Paste into autoexec.cfg.

// fps_max cannot be changed while connected to a server (Valve, 14 Aug 2025).

cl_radar_scale 0.4
cl_hud_radar_scale 1.2
cl_radar_icon_scale_min 0.6
cl_radar_always_centered 0
cl_radar_rotate 1

fps_max 240

bind "f1" "buy ak47; buy vesthelm"

Save as autoexec.cfg in …\Counter-Strike Global Offensive\game\csgo\cfg. Setup steps are below.

How to use the builder

The builder writes a ready-to-save autoexec.cfg from the settings on the left. Every value is checked against the range CS2 accepts before it is written.
  1. 1

    Set the radar

    Drag the zoom, HUD size and icon size sliders, then choose whether the radar stays centred on you and turns with your view. Each control shows the console command it writes.
  2. 2

    Choose a frame-rate cap

    Type a number for fps_max, 0 for no cap, or leave it blank to keep whatever you already use.
  3. 3

    Add binds or other commands

    Paste one command per line. Buy binds from the buy bind generator or crosshair commands from the crosshair studio can go straight in.
  4. 4

    Copy or download

    Download saves a file already named autoexec.cfg. Copy is for adding the lines to a file you already have.
  5. 5

    Install it and launch

    Put the file in the cfg folder shown below and add +exec autoexec to the game's launch options.

Install the file

CS2 reads custom configs from a cfg folder inside the game's install directory. Most failed autoexecs are in the wrong folder or have the wrong extension.
Where the file goes
  1. └ Steam\
  2. └ steamapps\
  3. └ common\
  4. └ Counter-Strike Global Offensive\
  5. └ game\Easy to miss. CS2's files live under game.
  6. └ csgo\Still called csgo in CS2.
  7. └ cfg\
  8. autoexec.cfgYour file. Must end in .cfg, not .cfg.txt.
  1. 1

    Open the cfg folder

    In Steam, right-click Counter-Strike 2 and choose Manage → Browse local files. Open game, then csgo, then cfg.
  2. 2

    Save the file there

    Move the downloaded autoexec.cfg in. If you made it yourself in Notepad, turn on File name extensions in File Explorer's View menu and check it is not autoexec.cfg.txt.
  3. 3

    Add the launch option

    Right-click Counter-Strike 2 → Properties → General → Launch options, and add +exec autoexec.
  4. 4

    Check it loaded

    Start the game, open the console and type exec autoexec. If the file is found, its commands run with no error.
Steam launch options
+exec autoexec

Every line explained

This is the file the builder writes with its default settings. Your own output uses the same commands with your values.
autoexec.cfg
// FPSTools autoexec. Paste into autoexec.cfg.
Comment. CS2 ignores anything after // on a line.
// fps_max cannot be changed while connected to a server (Valve, 14 Aug 2025).
Comment. CS2 ignores anything after // on a line.
cl_radar_scale 0.4
Radar zoom, 0.25 to 1. A lower number zooms out so more of the map fits. 0.4 is zoomed well out.
cl_hud_radar_scale 1.2
How big the radar is drawn on screen, 0.8 to 1.3. It does not change how much map is shown.
cl_radar_icon_scale_min 0.6
Minimum scale of the icons drawn on the radar, 0.4 to 1.25.
cl_radar_always_centered 0
1 keeps you in the middle of the radar. 0 lets the map stop at its edge, so you see more of it when you stand near one.
cl_radar_rotate 1
1 turns the map with your view. 0 keeps north at the top.
fps_max 240
Frame-rate cap, the same setting as Maximum FPS In Game in the video menu. 0 removes it. Since 14 August 2025 it cannot be changed while you are connected to a server, which is why it belongs in a file that runs at launch.
bind "f1" "buy ak47; buy vesthelm"
Key first, then the command in quotes. The semicolon runs both buys from one key, and the quotes keep them together.

How CS2 reads the file

Each line is one console command, run top to bottom when the file is executed. If the same setting appears twice, the later line wins. Anything after // is a comment. Text in quotes is treated as one argument, which is why multi-command binds need quotes: without them, everything after the first semicolon runs once, straight away, instead of being bound to the key.

What the builder covers

The builder only writes settings whose ranges we have checked. Anything else can go in the extra commands box, where it is copied through unchanged.
  • Radar zoom, size and icons

    Range-checked and clamped.

  • Radar centring and rotation

    On or off.

  • Frame-rate cap

    Whole numbers, 0 for none.

  • Binds and extra commands

    Copied as written. Check them with the config analyser.

Troubleshooting

The console says it couldn't exec cfg/autoexec.cfg

Why it happens

The file is not in game\csgo\cfg, or it is really called autoexec.cfg.txt.

Fix

Move it to the folder above and show file extensions in File Explorer to check the name.

fps_max does not change

Why it happens

Since 14 August 2025 CS2 ignores fps_max changes while you are connected to a server.

Fix

Keep it in the autoexec so it applies at launch, or change it from the main menu before you join.

A bind fires the wrong thing or only half of it

Why it happens

A bind with a semicolon was written without quotes, so only the first command was bound.

Fix

Quote the whole command: bind "f1" "buy ak47; buy vesthelm".

A jump-throw or similar bind does nothing

Why it happens

On 19 August 2024 Valve restricted binds that automate several protected actions from one key.

Fix

Remove it. The config analyser flags binds that combine jump and attack.

Settings go back after you change them in the menu

Why it happens

The autoexec runs again at the next launch and sets its own values.

Fix

Edit the value in autoexec.cfg instead of the menu, or remove the line so the menu controls it.

Frequently asked questions

Where does the CS2 autoexec.cfg go?

In Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg. In Steam, right-click Counter-Strike 2, choose Manage, then Browse local files, and open game, csgo, cfg. The folder named csgo directly under the install folder is the old CS:GO location and is not read for this.

Do I need +exec autoexec in my launch options?

Not always. Valve's start-up script is meant to run autoexec.cfg, but players report it does not always load. Adding +exec autoexec to the launch options makes sure it runs every time, and it does no harm if the game would have run it anyway.

How do I apply changes without restarting the game?

Save the file, open the developer console and type exec autoexec. The console must be enabled first in Settings, Game, Enable Developer Console. fps_max is the exception: change it from the main menu, not while connected to a server.

What is the difference between autoexec.cfg and config.cfg?

config.cfg is written by the game when you change settings in the menus, and it lives in Steam\userdata\<your Steam ID>\730\local\cfg. autoexec.cfg is your own file in the game's cfg folder. The game does not rewrite it, so it is the place for settings you want reapplied every launch.

Can I keep more than one config?

Yes. Any file ending in .cfg in the cfg folder can be run with exec followed by its name, for example exec practice for practice.cfg. Only autoexec.cfg is meant to run on its own at launch.