Automatically copies your CS2 (Counter-Strike 2 / CS:GO under maintenance) configuration files to the correct game and user folders.
- Copies game
.cfgfiles (autoexec, custom configs) to the CS2 gamecfgfolder. - Copies user-specific
.vcfgfiles andcs2_video.txtto all Steam users’ local cfg folders. - Automatically detects Steam installation and all library folders.
- Works for both Python scripts and compiled
.exefiles. - Shows a Windows popup when copying is complete.
- Python script: The program detects its folder and looks for a
cfgfolder in the project root. - Compiled
.exe: The program detects the.exelocation (usually indist/) and automatically searches for acfgfolder relative to the project root. - This ensures the source
cfgfolder is correctly found whether running the script directly or as an.exe.
-
Place all your configuration files in a
cfgfolder in the same directory as your project root.Example files:
autoexec.cfgcs2_1v1.cfgcs2_fun.cfgcs2_nades.cfgcs2_user_convars_0_slot0.vcfgcs2_user_keys_0_slot0.vcfgcs2_video.txtcs2_machine_convars.vcfg
-
Run the program:
- Python:
python auto_config_copier.py - Compiled
.exe: Double-click the.exefile
- Python:
-
The program will:
- Copy
.cfgfiles to the CS2 gamecfgfolder. - Copy
.vcfgandcs2_video.txtfiles to all Steam users’ local cfg folders. - Show a Windows popup confirming that all files have been copied.
- Copy
-
Check the console output (if running as a script) to see which files were copied and to which folders.
- Windows OS
- Steam installed with CS2/CS:GO
- If using
.exe: No Python installation needed.
- Works with multiple Steam accounts on the same PC.
- Make sure your configuration files are named exactly as listed above; otherwise, they won’t be copied.
- If the program cannot find Steam, the game folder, or the
cfgfolder, it will show an error popup. .exeusers must keep thecfgfolder in the correct relative location (don't move/create any folders).