CS2 autoexec.cfg generator

Configure network, FPS, HUD, viewmodel, audio and mouse settings — the tool only stores commands that actually work in current CS2 and assembles them into a ready config file.

Ready config

0 = uncapped. Game default is 400.

Maximum and also the recommended default — 786432.

0.25–1, default 0.7.

0–10 (0 = reset to game default). The exact "default" number is not officially confirmed — the source page contradicts itself, so it is not asserted here either.

A preset replaces the manual fov/offset with a single `viewmodel_presetpos` line.

54–68, game default 60. Only active when the preset is "Custom".

0–1, master volume.

Death cam, menu music, MVP fanfare and the like — does not affect gameplay audio (footsteps, gunshots).

Base mouse sensitivity.

Sensitivity multiplier while scoped; at 1 it does not change at all. The exact "default" number is not officially confirmed — both sources returned 404 (2026-09-28), so it is not asserted here either: take the value from your own config.

Empty = no bind is generated.

A single-key jump-throw MACRO bind (`+jump;-attack` on one line) has been banned on official CS2 servers since August 2024 — the tool does not generate one. Legal alternatives: the manual technique (jump and release attack with no delay), binding the grenade to the mouse wheel, or a two-key non-macro bind.

`r_cleardecals` has not worked on official/competitive CS2 servers since November 2023 — the bind only works in a private lobby or against bots with `sv_cheats 1` enabled.

The crosshair (`cl_crosshair*`) is not configured here — separate tool: crosshair generator.Weapon buy binds are also separate: buy binds generator.

autoexec.cfg contents

// Generated by the autoexec-generator tool (GameMapa). Sources: see the site.
// Put this at ...\game\csgo\cfg\autoexec.cfg and add +exec autoexec.cfg to Launch Options,
// OR type "exec autoexec" in the game console manually every time you launch.

// --- Network ---
rate 786432

// --- FPS & performance ---
fps_max 0

// --- HUD & radar ---
cl_radar_scale 0.7
cl_hud_color 0

// --- Viewmodel ---
viewmodel_fov 68
viewmodel_offset_x 2
viewmodel_offset_y 0
viewmodel_offset_z -2

// --- Audio ---
volume 0.5
snd_deathcamera_volume 0
snd_mapobjective_volume 0.3
snd_roundstart_volume 0.3
snd_tensecondwarning_volume 0.3
snd_mvp_volume 0.3
snd_menumusic_volume 0

// --- Mouse ---
sensitivity 2
zoom_sensitivity_ratio_mouse 1

// --- Binds ---
bind "KP_ENTER" "r_cleardecals"

Put the file at `...\game\csgo\cfg\autoexec.cfg` and add `+exec autoexec.cfg` to the game's Launch Options in Steam, OR type `exec autoexec` in the developer console (`~`) manually every time you launch.

Recommended launch options

  • +fps_max 0 — removes the default FPS cap
  • -nojoy — removes joystick support, may free up RAM
  • -softparticlesdefaultoff — disables particle blending
  • +r_drawparticles 0 — improves performance at the cost of particle graphics
  • -console — opens the developer console right at startup
  • -high — higher process priority for CS2
  • -forcenovsync — forcibly disables VSync
  • +r_dynamic 0 — disables dynamic lighting
  • -refresh <Hz> — monitor refresh rate, e.g. -refresh 144
Obsolete options (no longer work) — expand
  • -tickrate 128 — doesn't work — CS2 no longer has this notion of tickrate
  • -novid — no longer works
  • -limitvsconst — no longer works
  • -d3d9ex / -disable_d3d9ex — no longer works in CS2

How we calculate

Numbers for the commands here are checked against `totalcsgo.com` (2026-09-17), not taken from old CS:GO guides. Commands like `m_rawinput` and `m_mouseaccel` were deliberately left out; `cl_interp*` is now managed automatically by the engine — setting it manually is not officially recommended, so it is left out too. Numbers always pass through a clamp to the allowed range — extreme field values never end up in the file literally.

Crosshair (`cl_crosshair*`) and buy binds are deliberately NOT duplicated here — they have dedicated tools further down the page; this generator focuses only on network, performance, HUD, viewmodel, audio and mouse.

Sources

checked 17 September 2026

Questions and answers

Why aren't cl_crosshair* and buy binds on this list?

Because they already have dedicated tools on the site — a crosshair generator and a buy binds generator. Duplicating their commands here would create two sources of truth for the same numbers; instead this tool just links to them.

Can I bind jump-throw to a single key?

No — a single-key macro bind (`+jump;-attack` on one line) has been banned on official CS2 servers since August 2024 and can lead to a ban. The tool does not generate one; legal alternatives are described right above the copy buttons.

What does cl_hud_color 0 mean in the default settings?

0 means "reset to the game's default", not a specific color. The exact numeric "default" (totalcsgo.com's own documentation contradicts itself: the text says 11, while the valid range is 0-10) is deliberately not asserted as fact.

Why is r_cleardecals still on the list if it "doesn't work"?

Because the command does work — just not on official/competitive servers (blocked since November 2023), only in a private lobby or against bots with `sv_cheats 1`. That is exactly why the bind ships with an explicit warning.

Where do the numbers for rate, fps_max, cl_radar_scale and launch options come from?

From a direct fetch of totalcsgo.com on 2026-09-17 (individual command pages plus `totalcsgo.com/launch-options`), not from an older web-search-aggregated list. The full source list with dates is in the Sources section below.

All Counter-Strike 2 guides

Unofficial tool. Not affiliated with Valve.