Skip to content

Instantly share code, notes, and snippets.

@nickbudi
Last active February 17, 2024 14:25
Show Gist options
  • Save nickbudi/3916475 to your computer and use it in GitHub Desktop.
Save nickbudi/3916475 to your computer and use it in GitHub Desktop.
Budi's Counter-Strike: Global Offensive config

Budi's CS:GO Config

This is my constantly updated CS:GO autoexec config. Changelogs can be found under revisions here

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

-novid -freq 144 -refresh 144 -tickrate 128 -maxplayers_override 50 -nojoy -d3d9ex +exec autoexec

Enter launch options at Steam > Library > Counter-Strike: Global Offensive (right-click) > Properties > Set Launch Options...

Other Settings

  • Windows Sensitivity: 6/11
  • Enhance Pointer Precision: No
  • Mouse DPI: 400
  • Mouse Polling Rate: 1000hz
  • Windows 7 Aero: No - csgo.exe Properties > Compatibility > Disable visual themes & Disable desktop composition
  • Nvidia Maximum Pre-Rendered Frames: 1
  • 1280x960 stretched (no black bars, full-screen scaling, god res :P) to 1920x1080, purely preference
  • In-Game Audio Ouput: Headphones
  • Simple Radar
  • VibranceGUI by juvlarN - Ingame Vibrance Level: 100% (Automated digital vibrance). Only download from the official site. There are recompiled versions out there that will attempt to steal your inventory.

Weapon Loadout

CT: M4A1-S, USP-S, Five-SeveN
T: CZ75

Questions?

I can't recieve notifications for gists so your question or comment may go unanswered for a while. Instead you can reach out to me on Twitter (@nickbudi) or chat with me if I'm streaming on Twitch

// budi's CS:GO config
// Updated 7/1/2019
// Rates
rate "786432" // max rate, lower if having network issues
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_interpolate "1"
cl_lagcompensation "1"
net_client_steamdatagram_enable_override "1" // SDR beta
// Mouse
sensitivity "2.14"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
// Video
mat_monitorgamma "1.6"
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max "999"
fps_max_menu "145"
r_dynamic "0"
r_drawtracers_firstperson "0"
engine_no_focus_sleep "0" // default 50
// Audio
volume "0.7"
voice_enable "1"
voice_scale "1" // receive volume
voice_mixer_volume "1" // mic volume
windows_speaker_config "1" // headphone audio output
snd_menumusic_volume "0"
snd_roundstart_volume "0"
snd_roundend_volume "0"
snd_mapobjective_volume "0"
snd_deathcamera_volume "0"
snd_tensecondwarning_volume "0.30"
snd_mvp_volume "0"
snd_dzmusic_volume "0.1"
snd_mix_async "1"
snd_mixahead "0.02" // sound delay
snd_pitchquality "1"
snd_ducking_off "1"
snd_front_headphone_position "90"
snd_rear_headphone_position "90"
snd_headphone_pan_exponent "1.2"
snd_headphone_pan_radial_weight "1"
snd_mute_losefocus "1" // mute game when alt-tabbed
dsp_enhance_stereo "0"
lobby_voice_chat_enabled "0" // voice chat in lobby
cl_mute_all_but_friends_and_party "0"
snd_async_flush
// HUD
hud_scaling "0.80"
hud_showtargetid "1"
cl_hud_background_alpha "0.100000"
cl_hud_bomb_under_radar "0"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "0.950000"
cl_teamid_overhead_name_alpha "240"
cl_teamid_overhead_always "2" // +cl_show_team_equipment
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font
// Radar
cl_radar_always_centered "0"
cl_radar_rotate "1"
cl_radar_scale "0.4"
cl_radar_icon_scale_min "0.4"
cl_radar_square_with_scoreboard "0"
// Reposition gun model to mimic source
viewmodel_presetpos "0"
viewmodel_fov "68"
viewmodel_offset_x "2.500000"
viewmodel_offset_y "0"
viewmodel_offset_z "-1.500000"
viewmodel_recoil "1"
// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.5"
// Reduce gun and scope shifting/bobbing when moving
cl_bobcycle "0.98"
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
// Crosshair
cl_crosshairstyle "4"
cl_crosshairsize "2"
cl_crosshairthickness "0.5"
cl_crosshairgap "-1" // classic
cl_fixedcrosshairgap "3" // new
cl_crosshairdot "0"
cl_crosshairusealpha "1"
cl_crosshairalpha "255"
cl_crosshair_drawoutline "1"
cl_crosshair_outlinethickness "1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshair_sniper_width "1"
// White crosshair
cl_crosshaircolor "5"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "255"
// Debug accuracy (sv_cheats)
cl_weapon_debug_show_accuracy "0"
cl_weapon_debug_show_accuracy_duration "10"
weapon_debug_spread_show "0" // requires dynamic crosshair
weapon_debug_spread_gap "0.67"
// Misc
con_enable "1"
developer "0" // print console to screen
con_filter_enable "2"
con_filter_text "Damage "
ui_steam_overlay_notification_position "bottomright"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "80" // max ping for matchmaking games
mm_dedicated_force_servers ""
mm_csgo_community_search_players_min "8"
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
cl_forcepreload "1"
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
spec_replay_autostart "0"
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // `e` opening buy menu
cl_scoreboard_mouse_enable_binding "showmouse" // press `t` to enable mouse on the scoreboard
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_clanid "" // rip afterlife
password ""
// Binds
unbind y
unbind u
unbind k
unbind alt
unbind f1
unbind f3
unbind f4
bind v "+voicerecord"
bind q "lastinv"
bind w "+forward"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind z "radio1"
bind x "radio2"
bind c "radio3"
bind e "+use"
bind r "+reload"
bind t "use weapon_molotov;use weapon_incgrenade;showmouse" // molotov + mouse on scoreboard
bind f "+lookatweapon"
bind g "drop"
bind b "buymenu;impulse 101" // $$$
bind h "+spray_menu;bot_place" // places bot
bind j "sm_admin;say ;say .nades"
bind n "+jumpthrow" // it's back!
bind . "say .budibudibudibudi;say .ready;say !ready" // custom ready for pugs
bind / "say ;say .dbserver; say .players" // bitcoins
bind tab "+ngscore"
bind shift "+speed; r_cleardecals"
bind ctrl "+duck; r_cleardecals"
bind space "+jump"
bind ralt "sm_saveloc;savepos" // surf sav loc + offline save pos
bind rctrl "sm_tele;loadpos" // teleport
bind rshift "sm_restart;surf" // kz/bhop/surf restart + surf settings"
bind enter "messagemode"
bind \ "messagemode2"
bind home "spectate"
bind del "exec autoexec"
bind ins "warmup" // bot warmup
bind f2 "rebuy"
bind 1 "slot1"
bind 2 "slot2"
bind 3 "slot3"
bind 4 "slot4"
bind 5 "slot5"
bind 6 "say ;noclip;say .noclip;debug" // noclip + debug mode
bind 0 "toggle voice_enable"
bind - "toggle voice_scale 1 0" // toggle voice volume
bind = "toggle volume 0.7 0.1 0" // toggle game volume
bind [ "incrementvar cl_radar_scale 0 1 -.05" // decrease radar scale
bind ] "incrementvar cl_radar_scale 0 1 +.05" // increase radar scale
bind MWHEELDOWN "invnext"
bind MWHEELUP "invprev"
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind mouse3 "bhopon" // toggle scroll wheel bhop
bind mouse4 "use weapon_smokegrenade"
bind mouse5 "use weapon_flashbang"
// Buy binds in separate cfg
exec buybinds.cfg
// Aliases
alias "showmouse" // for mouse on scoreboard
alias "+ngscore" "+showscores;net_graph 1"
alias "-ngscore" "-showscores;net_graph 0"
alias bhopon "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
alias bhopoff "bind MWHEELDOWN invnext;bind MWHEELUP invprev;bind mouse3 bhopon"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
alias "savepos" "writeip;con_logfile cfg/banned_ip.cfg;getpos_exact;con_logfile ."
alias "loadpos" "exec banned_ip"
alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
alias "dangerzone" "bind mouse4 slot12"
// practice modes
alias "debug" "sv_cheats 1;impulse 101;sv_showimpacts 1;sv_showimpacts_penetration 1;sv_showbullethits 1;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_thickness 0.5;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_buy_anywhere 1;mp_teammates_are_enemies 1;mp_solid_teammates 1;bot_stop 1;mp_warmup_end;mp_restartgame 1"
// bot warmup mode - join t side, mp_swapteams and mp_free_armor as needed
alias "warmup" "sv_cheats 1;mp_warmup_start;mp_warmuptime 300;mp_warmup_pausetimer 1;mp_freezetime 0;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_randomspawn_los 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_allow_grenades 0;mp_death_drop_defuser 0;mp_death_drop_gun 0;mp_death_drop_grenade 0;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101;god"
host_writeconfig // write settings to config.cfg
echo ""
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
echo ""
// Buy Binds
// Hold down Backspace to activate weapon buy binds on
// 1 2 3
// Q W E
// A S D
// Z X C
bind "backspace" "+bs"
bind 1 "1a"
bind 2 "2a"
bind 3 "3a"
bind q "qa"
bind w "+wa"
bind e "+ea"
bind a "+aa"
bind s "+sa"
bind d "+da"
bind z "za"
bind x "xa"
bind c "ca"
alias 1a "slot1"
alias 1b "buy vesthelm"
alias +1 "alias 1a 1b"
alias -1 "alias 1a slot1"
alias 2a "slot2"
alias 2b "buy vest"
alias +2 "alias 2a 2b"
alias -2 "alias 2a slot2"
alias 3a "slot3"
alias 3b "buy defuser"
alias +3 "alias 3a 3b"
alias -3 "alias 3a slot3"
alias qa "lastinv"
alias qb "buy awp;give weapon_awp"
alias +q "alias qa qb"
alias -q "alias qa lastinv"
alias +wa "+forward"
alias -wa "-forward"
alias wb "buy ak47;give weapon_m4a1;give weapon_m4a1_silencer;give weapon_ak47"
alias +w "alias +wa wb"
alias -w "alias +wa +forward"
alias +ea "+use"
alias -ea "-use"
alias eb "buy aug;give weapon_aug;give weapon_sg556"
alias +e "alias +ea eb"
alias -e "alias +ea +use"
alias +aa "+moveleft"
alias -aa "-moveleft"
alias ab "buy fn57;give weapon_fiveseven;give weapon_tec9;give weapon_cz75a"
alias +a "alias +aa ab"
alias -a "alias +aa +moveleft"
alias +sa "+back"
alias -sa "-back"
alias sb "buy p250;give weapon_p250"
alias +s "alias +sa sb"
alias -s "alias +sa +back"
alias +da "+moveright"
alias -da "-moveright"
alias db "buy incgrenade;buy molotov;give weapon_incgrenade;give weapon_molotov"
alias +d "alias +da db"
alias -d "alias +da +moveright"
alias za "radio1"
alias zb "buy hegrenade;give weapon_hegrenade"
alias +z "alias za zb"
alias -z "alias za radio1"
alias xa "radio2"
alias xb "buy flashbang;give weapon_flashbang"
alias +x "alias xa xb"
alias -x "alias xa radio2"
alias ca "radio3"
alias cb "buy smokegrenade;give weapon_smokegrenade"
alias +c "alias ca cb"
alias -c "alias ca radio3"
alias +bs "+1; +2; +3; +q; +w; +e; +a; +s; +d; +z; +x; +c"
alias -bs "-1; -2; -3; -q; -w; -e; -a; -s; -d; -z; -x; -c"
"VideoConfig"
{
"setting.cpu_level" "0"
"setting.gpu_level" "2"
"setting.mat_antialias" "0"
"setting.mat_aaquality" "0"
"setting.mat_forceaniso" "0"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_grain_scale_override" "-1.000000"
"setting.gpu_mem_level" "1"
"setting.mem_level" "2"
"setting.mat_queue_mode" "-1"
"setting.csm_quality_level" "2"
"setting.mat_software_aa_strength" "0"
"setting.mat_motion_blur_enabled" "0"
"setting.fullscreen" "1"
"setting.defaultres" "1280"
"setting.defaultresheight" "960"
"setting.aspectratiomode" "0"
"setting.nowindowborder" "0"
}
@soflotc
Copy link

soflotc commented Nov 9, 2015

Nick,

Would you be able to assist me with a config for my laptop? I have been playing CS on a laptop for around 6 years. Usually pushing 30-70 FPS (I know it sucks) but I have made it work competitively. I recently just got a new computer as my old one cannot even turn on. Obviously the main thing for me is taking out the ragdolls and extra stuff. If you could email me at chadtc89@yahoo.com that would be fantastic!

I'm trying to get back into CS!

@nickbudi
Copy link
Author

nickbudi commented Nov 10, 2015

Thanks for helping out @Iraos @Rashy

@soflotc Unlike previous versions of CS there are barely any commands outside of the settings panel that will be able to improve your FPS in CS:GO :(
You could play at a lower resolution to improve your FPS a little.

@xplay51
Copy link

xplay51 commented Nov 12, 2015

Hey Budi,
I just started playing. I know what to do with the autoexe.cfg, but dont know what/or where i'm supposed to put the video.txt. :(

@nickbudi
Copy link
Author

@xplay51 video.txt goes in the cfg folder as well.

@Sickyota
Copy link

Sickyota commented Dec 7, 2015

@nickbudi,

Thanks for hooking it up with your config but for some reason this got kicked out to me while I was playing competitive...

"An issue with your computer is blocking the VAC system. You cannot play on secure servers."

Here's the link I got routed to after I got disconnect ---- https://support.steampowered.com/kb_article.php?ref=2117-ILZV-2837

What do I do? Anyone is welcome to chime in, thanks in advance.

@nickbudi
Copy link
Author

nickbudi commented Dec 7, 2015

@Sickyota follow the direction given on that steam support page. My config doesn't cause this issue.

@Sickyota
Copy link

Sickyota commented Dec 7, 2015

Thanks again @nickbudi, I should've just done this in the beginning but I wasn't thinking.

@hubwub
Copy link

hubwub commented Jan 12, 2016

This location ...\Steam\userdata\<Steam3 ID>\730\local\cfg is in regards to syncing your cfg files on Steam.

When you run autoexec.cfg and you have it write to config.cfg, the one stored in ...\Steam\userdata\<Steam3 ID>\730\local\cfg gets written not the one in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

If you don't want it to sync on Steam, you can add this to launch options -autoconfig +cl_cloud_settings 0

@sammychch
Copy link

this config gave me huge fps boost i was getting around 120-250 fps and a bit stuttering.after this 250-400fps runs so smooth not kidding!!! only i didnt take the key bindings from it.thanks dude

@Runir
Copy link

Runir commented Jan 28, 2016

Hey Nick
I was wondering what these two commands do.

bind . "say .budibudibudibudi;say .ready;say !ready" // custom ready for pugs
bind / "say ;say .dbserver; say .players" // bitcoins

Thank you in advance.

@nickbudi
Copy link
Author

nickbudi commented Feb 3, 2016

@Runir They're used on ESEA/CEVO/Faceit etc for readying up and viewing player info.

@heliix
Copy link

heliix commented May 29, 2016

Hey, for some reason when i use these settings the radar is super small (that's probably how you have it) but i really wanna make it bigger through the auto exec, unfortunately i can't find the command (I don't wanna do it through the cs console or UI)
Any help much appreciated :)

@heliix
Copy link

heliix commented May 29, 2016

NM i got it :) if anyone is wondering its cl_hud_radar_scale "1.00000"

@neluipx
Copy link

neluipx commented Oct 11, 2016

hi,
if i put in launch options "-freq 144 -refresh 144" this options game don't run, you know the problem?
also FPS remain to be limited by 30, if i look fps_max value it is "999" FIX
thanks

@propshead
Copy link

@nickbudi Thank you for this great help, can you please just clarify me something?
I have a 60hz monitor, so what commands should I use instead of the -freq 144 -refresh 144?

Cheers//

Copy link

ghost commented Aug 21, 2017

@ozan4550

This is from BananaGaming's config:

// Rates - These network settings are optimized for high speed internet
rate "786432" //Max rates. Only use if you can get 8 Megabits per second (Mbps) download speed or more.
//rate "250000" //Only use this if you can get 3.5 Megabits per second (Mbps) download speed or more.
//rate "500000" //Only use this if you can get 5.5 Megabits per second (Mbps) download speed or more.

@Dumolko
Copy link

Dumolko commented Nov 26, 2017

As sammychch said, his FPS got a major increase with this config. I'm still getting my usual 50 after installing this and I've put the autoexec.cfg file into the right place. Is there anything I am doing wrong?

@DenisAlbu
Copy link

DenisAlbu commented Jan 1, 2018

I believe having "fps_max 0" would un-cap the fps setting instead of "fps_max 999"
Both do the trick but in some cases, "fps_max 0" would result in a small fps boost.

Copy link

ghost commented Mar 7, 2018

I believe having "fps_max 0" would un-cap the fps setting instead of "fps_max 999"

@D3n1s4 Having fps_max 0 makes your loading screens longer, fps_max 999 is much better.

@Hyperyia
Copy link

Hyperyia commented Sep 2, 2018

Hi, i don't like 1280x960, i play on my native resolution 1920x1080, what are the best viewmodel/fov values for 1920x1080?

@Junk1eJesus
Copy link

Hey Budi, I can not put my clan tag in in the game settings It won't let me choose any, is it a command in your autoexec that I need to remove ?

Thanks for some great help in this thread

Michael

@Cobollatin
Copy link

Hey, can you update this autoexec please?

@papricek
Copy link

papricek commented Jul 6, 2019

in the config there is something that is terribly slowing down my computer - mac book pro, now on about 120FPS... any ideas what part of config is it? (used just the autoexec.cfg part, video.txt not yet)

@jeffff13337
Copy link

I like the buybinds cfg you have there, it works nicely and I can easily buy things I need using a couple of buttons and not flicking my cursor around a huge circle to get a p250 :/. The xhair, vmodel, and the sens work nice for me, as well as the warmup alias for offline servers.

@jeffff13337
Copy link

Hey Budi, I can not put my clan tag in in the game settings It won't let me choose any, is it a command in your autoexec that I need to remove ?

Thanks for some great help in this thread

Michael

All you do is type in your console: cl_clanid "0" and then you can select a clan id from the game options.

@papricek
Copy link

@jeffff13337 works like a charm, thx man!

@papricek
Copy link

(I had this issue with clan tag, too)

@Dahvd
Copy link

Dahvd commented Oct 1, 2019

I had to change net_client_steamdatagram_enable_override "1" to net_client_steamdatagram_enable_override "0". For some reason, it was preventing the ACCEPT button from showing so I could not get into a game.

@PabloDaluz
Copy link

How can I show the ping in the screen?
I tried net_graph "1" but it doesnt work

@igorgue
Copy link

igorgue commented Oct 23, 2021

Configs copied, ready to frag.

@Cobollatin
Copy link

CSGO 2 when? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment