CS2 Autoexec Generator & Config Builder
An autoexec is a text file of settings the game runs every start, so your crosshair, radar and sound survive updates and settings-menu accidents. Build one here, comment by comment. Only commands CS2 still reads get in.
- 1Set your valuesCrosshair, viewmodel, radar, sound, fps cap. Defaults are sane.
- 2Download autoexec.cfgA plain text file. Nothing is sent anywhere.
- 3Put it in the cfg foldergame/csgo/cfg inside the CS2 install. Diagram below.
- 4Add +exec autoexecIn Steam's Launch Options box. Without it the file never runs.
// autoexec.cfg — built on imbaboost.com // Anything after // is a note. Change what you like. // ——— CROSSHAIR ——— cl_crosshairstyle 4 // crosshair style cl_crosshairsize 2 // arm length cl_crosshairthickness 1 // line thickness cl_crosshairgap -2 // distance from the centre cl_crosshairdot 0 // dot in the middle cl_crosshair_drawoutline 1 // outline — easier to see on bright walls cl_crosshaircolor 1 // colour // ——— VIEWMODEL ——— viewmodel_fov 68 // higher puts the gun lower and further away // ——— RADAR ——— cl_radar_always_centered 0 // 0 = whole map, not just you cl_radar_scale 0.4 // lower number = more map at once // ——— SOUND ——— volume 0.5 // master volume snd_voipvolume 1 // voice chat volume (CS2 name; voice_scale was CS:GO) // ——— PERFORMANCE ——— fps_max 0 // 0 = uncapped cl_hud_telemetry_frametime_show 2 // FPS counter on the HUD host_writeconfig // save, so this survives quitting the game echo "autoexec loaded" // confirmation in the console
+exec autoexec. Check the whole string with the launch options checker.Why there are no netcode commands
the CS:GO family, listed so you can see it is missing on purposecl_interp, cl_updaterate, cl_cmdrate and the rest of that family were deleted along with Source 1. CS2 accepts them, does nothing, and writes a console line nobody reads. Most config generators still emit them, which makes the output look more thorough while making it worth less. Everything this builds is a command CS2 still acts on.
Where the file goes
Put autoexec.cfg in …\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\ and add +exec autoexecto the launch options in Steam (right-click the game → Properties → General). Without the launch option CS2 will not read it on its own.
Will a config get me banned
No. These are settings Valve ships in the game and exposes in the options menu — a config file is a faster way to set them, not a way around anything. Nothing here reads or writes memory, and nothing here talks to our servers.
The crosshair block in the file is the same one the crosshair generator builds with a live preview, and the sensitivity line is easier to choose with the eDPI calculator open next to it.
Questions people ask
Why is a command missing from the list?
Does the file go to your server?
Related tools
Not affiliated with Valve Corporation. Steam and Counter-Strike are trademarks of their respective owners.

