This repository contains autoexec files for Counter-Strike 2.
-
Clone this repository directly into your CS2 game directory:
git init git remote add origin https://github.com/cmdNiels/autoexec git fetch --depth 1 git reset --hard origin/master
-
Launch CS2 and the autoexec will be automatically loaded.
-
Pull the latest changes from your CS2 game directory:
git pull origin master --depth 1 --force
The
--forceflag ensures that any local changes are overwritten automatically. -
Replace existing files automatically without prompts.
-
Launch CS2 to ensure the updated autoexec files are loaded.
This should be cloned into the CS2 game directory under:
Counter-Strike Global Offensive/game/csgo/cfg
You can find this by right-clicking the game in your Steam library and under "Manage" click "Browse local files".
- Make sure to backup any existing configuration files before installation
- The autoexec files will be automatically executed when CS2 starts
- If you need to modify settings, edit the configuration files and restart the game
If the autoexec doesn't load:
- Verify the files are in the correct directory
- Check that CS2 has proper file permissions
- Restart CS2 completely