What Masterconfig Does and Where to Get It
Masterconfig is a collection of settings and scripts that improve Team Fortress 2's performance and customize how the game looks and feels. It reduces lag, removes visual clutter, and lets you fine-tune everything from crosshairs to network settings. Most players use it to get higher frame rates on older computers or to strip away distracting effects so they can focus on gameplay.
You download Masterconfig from its official GitHub repository. The most current version lives at github.com/mastercomfig/mastercomfig. Do not download from other sites — copies posted elsewhere may be outdated or contain unwanted changes. GitHub is where the creator releases updates, and it is the only source you should trust.
Before you start, close Team Fortress 2 completely. Do not just minimize it. If Steam is running in the background, close that too. This prevents the game from locking files while you are trying to install the config.
Key Takeaways
- Download Masterconfig from github.com/mastercomfig/mastercomfig, extract the folder, and move it into your Team Fortress 2 cfg directory.
- The cfg directory is located inside your Steam folder at steamapps/common/Team Fortress 2/tf/cfg.
- After moving the folder, launch Team Fortress 2, open the console with the backtick key, and run the command exec mastercomfig/run to activate it.
- If the console does not open, enable it in Settings under Game, then restart the game.
- Masterconfig works alongside your own custom settings — you can edit individual files later without breaking the installation.
Finding and Extracting the Masterconfig Files
Go to github.com/mastercomfig/mastercomfig in your web browser. On the right side of the page, you will see a green button labeled "Code". Click it, then select "Download ZIP". This downloads the entire Masterconfig folder as a compressed file.
Once the ZIP file finishes downloading, right-click it and choose "Extract All" (Windows) or double-click it (Mac). Windows will ask you where to extract the files — choose your Downloads folder or Desktop so you can find it easily. The extracted folder will be named "mastercomfig-master" or similar.
Do not extract the files directly into your Team Fortress 2 folder yet. Extract them to a temporary location first so you can see what you are working with. Open the extracted folder and look inside — you should see a folder called "config" and several text files like README.md. This confirms the download worked correctly.
Locating Your Team Fortress 2 Config Directory
Team Fortress 2 stores its configuration files in a specific folder inside your Steam installation. The path is: steamapps/common/Team Fortress 2/tf/cfg. You need to navigate there and place Masterconfig inside the cfg folder.
On Windows, open File Explorer and go to your Steam folder. If you installed Steam in the default location, this is usually C:/Program Files (x86)/Steam. If you installed Steam somewhere else, open Steam, click Settings, then Downloads, and look for "Steam Library Folders" — this shows you where Steam is installed. Once you are in the Steam folder, navigate to steamapps/common/Team Fortress 2/tf/cfg.
On Mac, open Finder and press Command+Shift+G to open the "Go to Folder" dialog. Type ~/Library/Application Support/Steam/steamapps/common/Team Fortress 2/tf/cfg and press Enter. This takes you directly to the cfg folder.
If the cfg folder does not exist, create it. Right-click inside the tf folder, select New Folder, and name it cfg. This is rare — the folder usually exists already — but if Team Fortress 2 has never been launched before, you may need to create it by hand.
Moving Masterconfig Into the Correct Folder
Inside the extracted Masterconfig folder, find the folder named "config". This is the folder you need to move into your cfg directory. Do not move the entire "mastercomfig-master" folder — move only the "config" folder inside it.
Right-click the "config" folder and select Cut (or Copy). Navigate to your Team Fortress 2 cfg directory (steamapps/common/Team Fortress 2/tf/cfg) and paste it there. If you used Cut, the folder will move. If you used Copy, you can delete the original from your Downloads folder afterward.
After pasting, rename the "config" folder to "mastercomfig". This makes the next step easier because the command you will run expects the folder to be named mastercomfig, not config. Right-click the folder, select Rename, and type mastercomfig.
Your cfg directory should now contain a folder called "mastercomfig". Inside that folder, you should see subfolders like "cfg", "presets", and "user", plus several text files. If you see this structure, the installation is in the right place.
Activating Masterconfig in the Game Console
Launch Team Fortress 2. Once you are in the main menu, open the developer console by pressing the backtick key (`) — this is the key to the left of the 1 key on most keyboards. A black text box should appear at the bottom of the screen. If nothing happens, the console is disabled in your settings.
If the console does not open, go to Settings, click Game, and look for an option that says "Enable Developer Console". Check the box, apply the settings, and restart Team Fortress 2. Then try pressing the backtick key again.
Once the console is open, type this command exactly: exec mastercomfig/run and press Enter. The console will print several lines of text confirming that Masterconfig is loading. You may see messages about presets, custom settings, or network adjustments. This is normal.
After the command finishes, close the console by pressing the backtick key again. You do not need to restart the game — Masterconfig is now active. You should notice the game looks slightly different: some visual effects may be removed, and the frame rate may improve, depending on which preset you chose.
Choosing and Adjusting Your Preset
Masterconfig comes with several presets that balance performance and visual quality. The presets are: ultra (best visuals, highest performance cost), high, medium, low, and very low (best performance, fewest visuals). By default, Masterconfig uses the medium preset.
To change your preset, navigate to your cfg folder again and open the mastercomfig/user folder. Inside, create a new text file and name it autoexec.cfg. Open it in Notepad and add this line: exec mastercomfig/presets/[preset-name], replacing [preset-name] with the preset you want — for example, exec mastercomfig/presets/low.
Save the file and launch Team Fortress 2 again. The new preset will load automatically. If you want to switch presets later, edit autoexec.cfg and change the preset name, then restart the game.
You can also customize individual settings by editing files inside the mastercomfig/user folder, but this is optional. Most players stick with one of the built-in presets and do not need to adjust anything further.
Troubleshooting Common Installation Problems
If Masterconfig does not load after you run the exec command, check that the folder is named exactly "mastercomfig" (all lowercase, no spaces). Windows sometimes adds extra characters to folder names during extraction — if the folder is named "mastercomfig-master" or "config", rename it to mastercomfig and try again.
If the console says "couldn't exec mastercomfig/run", the folder is not in the right place. Double-check that it is inside steamapps/common/Team Fortress 2/tf/cfg. A common mistake is putting it in the wrong Steam library if you have multiple Steam folders on your computer.
If the game crashes after loading Masterconfig, your computer may not support one of the settings in your chosen preset. Try switching to a lower preset (very low instead of low, for example) by editing autoexec.cfg and restarting the game. If the game still crashes, delete autoexec.cfg entirely and run exec mastercomfig/run again to use the default medium preset.
If you see no change in performance or visuals, Masterconfig is probably loading but your computer is already running Team Fortress 2 at its limits. Check your frame rate before and after installation using the console command net_graph 1. If the frame rate does not improve, a lower preset may help, but hardware limitations may be the real issue.
Frequently Asked Questions
Can I use Masterconfig with other mods or custom configs?
Yes. Masterconfig is designed to work alongside other modifications. If you have custom settings in your autoexec.cfg, place them after the Masterconfig exec line so they override Masterconfig's settings. For example: exec mastercomfig/run, then exec my_custom_settings. Masterconfig will load first, then your custom settings will apply on top.
Will Masterconfig get me banned from competitive servers?
No. Masterconfig only changes client-side settings — how the game looks and performs on your computer. It does not modify game files, give you unfair advantages, or interact with servers in any way. All competitive modes and community servers allow it.
How do I uninstall Masterconfig if I do not like it?
Delete the mastercomfig folder from your cfg directory and delete autoexec.cfg if you created one. Launch Team Fortress 2 and it will use the default settings. You can reinstall Masterconfig anytime by following these steps again.
Do I need to run the exec command every time I launch the game?
No. If you created autoexec.cfg with the exec line inside it, Masterconfig loads automatically every time you start Team Fortress 2. You only need to run the exec command manually once if you did not create autoexec.cfg.
What if I want to update Masterconfig to a newer version?
Download the latest version from GitHub, extract it, and replace your mastercomfig folder with the new one. Your autoexec.cfg file will remain untouched, so your preset choice and custom settings stay the same. This takes about two minutes.