CS2 Autoexec Generator

Generate a custom autoexec.cfg for CS2. Set sensitivity, radar, HUD color, and network settings, then copy to clipboard.

autoexec.cfg

// CS2 autoexec.cfg — generated by CSRAGE
// Place this file in: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/

sensitivity 1.0000
// Mouse DPI (set in your mouse software): 800
m_rawinput 1
fps_max 0
cl_hud_color 0
cl_radar_scale 0.70
cl_radar_always_centered 1
volume 0.50
rate 786432
cl_interp 0.015625
cl_interp_ratio 1
cl_crosshairstyle 4
net_graph 0

echo "CSRAGE autoexec loaded"

How to install your autoexec.cfg

  1. Copy the generated config and save it as autoexec.cfg
  2. Place the file in: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/
  3. Add +exec autoexec.cfg to CS2 launch options in Steam, or type exec autoexec in the console

About the CS2 Autoexec Generator

An autoexec.cfg is a custom configuration file that Counter-Strike 2 loads automatically on launch. It stores your preferred mouse sensitivity, radar settings, HUD color, network options, and key binds in one place — so you never re-enter settings after a reinstall or PC swap.

This free CS2 autoexec generator builds a ready-to-use config file from your choices. Toggle raw input, centered radar, net graph, and fps_max, set your sensitivity and DPI reference, pick a HUD color, and copy the output directly to your clipboard.

Unlike scattered console commands, a single autoexec.cfg keeps your setup portable. Share it between PCs, back it up in the cloud, or send it to a teammate who wants the same radar and HUD layout.

What settings does this autoexec include?

  • Mouse sensitivity and DPI reference (sensitivity command)
  • fps_max for frame rate cap or unlimited FPS
  • cl_hud_color for HUD color theme (0–12)
  • cl_radar_scale and cl_radar_always_centered for minimap layout
  • m_rawinput for raw mouse input (recommended on)
  • net_graph for network performance overlay

How to install autoexec.cfg in CS2

Save the generated text as autoexec.cfg (not autoexec.cfg.txt) and place it in your CS2 cfg folder:

Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/

Add +exec autoexec.cfg to your CS2 launch options in Steam (Properties → Launch Options), or open the in-game console and type exec autoexec. The config loads every time you start the game.

Recommended CS2 launch options

Beyond autoexec, many players add -novid (skip intro video), -high (high CPU priority), and +fps_max 0 (uncapped FPS) to launch options. Keep launch options minimal — only add flags you understand.

Frequently Asked Questions

Where does autoexec.cfg go in CS2?

Place autoexec.cfg in Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/. Create the file with a text editor and save without a .txt extension. Add +exec autoexec.cfg to Steam launch options.

What is the difference between autoexec.cfg and video.txt?

autoexec.cfg stores gameplay settings like sensitivity, binds, and HUD options. video.txt and gamemode settings store graphics and video preferences. Both load automatically but serve different purposes.

Do I need an autoexec for CS2?

No, but it saves time. Without an autoexec you re-enter sensitivity, radar, and network settings after every reinstall. With one, your entire setup loads in one command.

Can I edit the generated config?

Yes. The output is plain text — add custom binds, crosshair commands, practice cfg exec lines, or any other console command. Place one command per line in the cfg file.

Why is my autoexec not loading?

Common fixes: check the file is named autoexec.cfg not autoexec.cfg.txt, verify the path is the csgo/cfg folder (not cs2/cfg), and confirm +exec autoexec.cfg is in Steam launch options or you ran exec autoexec in console.

Related tools