DHeroes is Here!
New youtube game
Welcome to the card game with real YouTube celebrities.
Get Started Now

How to create an autoexec file? Way to CS:GO Mastery!

Delving deeper into various features of Counter-Strike: Global Offensive is an amazing adventure itself. Players develop lots of skills, valuable even in real life, they become better in shootouts, making the gaming experience even more rewarding.

Creating an autoexec file is a way to save your in-game settings for all future matches. The more comfortable you feel in CS:GO, the better you perform in the game, the more skins you get to sell profitably on DMarket.

CS:GO config.cfg

The process of setting up an autoexec also helps to get basic knowledge of programming. Let’s begin from the start and answer some common questions about CS:GO autoexec:

What is autoexec CS:GO?

When you launch the game, it uses default settings, saved to the file config.cfg. After you become more acquainted with CS:GO, you will be able to make many slight changes to the game performance, its interface, etc.

They can be saved to the same default config.cfg, but that makes returning to the default conditions and even adjusting your personal settings a bit complicated.

The alternative to the default file is a custom one, named autoexec.cfg. Create it, put all your settings there, and then, when you launch the game, it will use autoexec.cfg first.

It’s easy to clean it from unnecessary features, to delete your personal settings in one step, to save and use a few types of settings in different autoexec files.

Where do I put autoexec CS:GO?

Put the file autoexec.cfg into the same folder, where the game keeps the default file config.cfg.

Counter-Strike: Global Offensive may create the default config.cfg in two places:

  1. For earlier versions of the game: Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\config.cfg
  2. For the newest version, the way is Program Files\Steam\userdata[your Steam ID]\730\local\cfg\config.cfg;

The question here is “How to know your Steam user ID?” It’s hard to find the folder with your Steam ID on computers with many other Steam users. Your nickname is not that ID at all. You need the number of your Steam account.

To find it, open your inventory inside the Steam application, press the button “Trade Offers” in the upper right corner, press the link “Who can send me Trade Offers?” in the right menu, scroll down to the “Trade URL” bar, check this URL and look there for numbers after “partner=” – that’s the name of your folder.

Here’s an easy way to find your CS:GO config.cfg:

  1. Open Steam app and visit your game Library;
  2. Right-click CS:GO in the list of your games, choose “Properties”.
  3. In the opened window, go to the tab “Local Files” and press the button “Browse Local Files…”;
  4. The standard window with files will appear. Open the folder “csgo -> cfg”. Is config.cfg there? Ok then! If not – check the next item in this list.
  5. Go up to the folder “Steam”. Open here “userdata -> [your Steam user ID] - > 730 -> local -> cfg”.
CS:GO config.cfg

How do I run an autoexec.cfg in CS:GO?

It’s an easy question – you need to do nothing here, just put your CS:GO autoexec.cfg to the same folder, and everything will work on its own.

Still, sometimes it might be helpful to specify your intention to use autoexec CS:GO – add the command “+exec autoexec.cfg” to the Launch Options.

To do so, right-click CS:GO in your Steam game Library, choose “Properties”, press the button “Set Launch Options”, and enter the command +exec autoexec.cfg.

CS:GO launch options

How to make autoexec CS:GO?

Now you know the basics and can move forward – to the creation of autoexec.cfg.

Follow these steps:

  • Open the default config.cfg with Notepad++;
  • Save it as “autoexec.cfg” to the same folder.

How to set up autoexec CS:GO?

First, your autoexec.cfg will be an exact copy of the default CS:GO configuration file. Your own commands should be added.

Be attentive! You should put quote marks around the values of every command. So use the form of the following examples:

  • cl_crosshairstyle “1” – for the default style of the crosshair but with no dynamic features;
  • sv_cheats “1” – to play with cheating commands enabled.

Setting up your autoexec CS:GO is not a one-time action – you need to feel the effects of every command in the game process to understand whether it’s good for you or not.

Then you might delete or add something, adjust some values, try new sets of commands. After getting enough experience in the game with the best configurations for you, you will be able to forget about autoexec and concentrate on the CS:GO Gameplay itself.

It’s worth mentioning again that there are no magical commands, which guarantee you play better. Only dedicated practice can help you reach the Mastery level in the game – or at least to get a better CS:GO rank.

Many players don’t use autoexec at all! Also, many don’t like such additional in-game entertainment as CS:GO Surfing. These gamers prefer the default condition of the game, or they make adjustments through the standard settings menu.

Follow DMarket on Facebook and Twitter to be informed about all the CS:GO news, guides, and articles on our blog.