GEEKHUB / COUNTER-STRIKE 2

CS2 Config Generator

Generate a small personal CS2 configuration with sensitivity, FPS cap, FOV and three viewmodel offsets. Copy the commands or download the resulting plain-text CFG file.

Input settings

LIVE RESULT

What is a CS2 configuration file?

A CS2 configuration file is a plain-text collection of commands that Counter-Strike 2 can execute. It gives you a readable record of selected settings instead of requiring you to remember every console variable. The GeekHub CS2 config generator prepares six values: mouse sensitivity, a maximum frame-rate setting, viewmodel FOV and three weapon position offsets. You can copy these commands into the game or download them as a CFG file. This is a focused tool for a personal setup rather than a complete editor of every option in Counter-Strike 2.

A useful configuration is one whose contents you understand. If you reinstall CS2 or use another computer, you can refer to the values you previously selected. You might also create a separate experiment file that changes only your viewmodel so you can compare two arrangements without touching your mouse settings. Configuration files make this kind of selective change possible. They do not necessarily contain the hardware settings of your mouse, your display resolution, every Steam preference or all the settings managed by the game itself.

It is important to distinguish a user-created CFG from the game's own saved settings files. Counter-Strike 2 maintains information in its installation and Steam user-data directories. A small custom file does not replace all of that information. In particular, do not delete the game's existing configuration directories merely to install a new text file. The purpose of a generated file is to issue a known set of instructions, not to erase the rest of your setup.

How to use the Counter-Strike 2 config generator

The Counter-Strike 2 config generator uses an Input settings panel that contains editable numbers with a live text result. The initial example uses sensitivity 1, an FPS cap of 300, viewmodel FOV 68 and offsets of 2.5, 0 and -1.5. Those values are not a performance recommendation. Change them to match the configuration you intend to create.

  • Record your current mouse sensitivity, FPS limit and four viewmodel variables before preparing a replacement.
  • Enter your desired mouse sensitivity and maximum frame rate in the first two fields.
  • Select the weapon FOV and X, Y and Z offsets using the remaining fields.
  • Review the full command output, then use Copy result or Download .cfg.
  • Save the generated file under a descriptive name and inspect it with a text editor before installation.
  • Execute it in CS2 and query the relevant settings to confirm what the game accepted.

The CS2 cfg generator does not contact your Steam account or discover your current game settings. The numbers are the ones you enter manually. Reset values restores the browser's starting example; it has no effect on the configuration already active in Counter-Strike 2. If you accidentally apply the wrong file, recover your previous values using the notes or backup you made before starting.

Available CS2 configuration settings

Mouse sensitivity

The sensitivity variable is the game's multiplier for mouse input. GeekHub accepts values between 0.001 and 100 with a step of 0.001. These are interface limits, not a claim about every value supported by every game version. Use your actual mouse DPI alongside the in-game setting to understand effective sensitivity. For example, 800 DPI and sensitivity 1 produce 800 eDPI. If you use a different DPI, copying the same sensitivity number can result in a very different physical turning distance.

The configuration changes the in-game multiplier, not the sensor DPI selected through a mouse button or vendor application. Before applying a file on a different computer, confirm that the mouse's active hardware profile is the one you intend to use. The CS2 eDPI calculator can calculate the product of the two settings, while the CS2 sensitivity converter can preserve that product when changing DPI. A config does not perform either calculation automatically.

FPS limit and frame-rate behavior

The fps_max variable controls a frame-rate cap in the game. The generator accepts whole numbers from zero to 1000; zero represents an uncapped setting for this variable. A cap is an upper limit, not an instruction that forces a computer to render that many frames. Actual FPS depends on the CPU, GPU, game workload, graphics settings and other system factors. Setting 300 does not guarantee 300 FPS, and setting zero does not remove hardware bottlenecks or every other source of frame-rate limiting.

Choose a cap deliberately. You may wish to compare a capped and an uncapped configuration in the same practice scenario while observing frame pacing and responsiveness. Monitor refresh rate and rendering frame rate are related but distinct concepts. If the frame rate drops during a demanding scene, a larger cap alone does not fix the cause. Avoid copying performance variables from old game versions unless their current behavior is documented and you have a specific reason to use them.

Weapon FOV and position offsets

The remaining four commands control the appearance of the held weapon: viewmodel_fov, viewmodel_offset_x, viewmodel_offset_y and viewmodel_offset_z. They change the visual presentation of the weapon rather than the world camera, aiming direction or server-side shooting mechanics. X is the horizontal offset, Y is the depth offset and Z is the vertical offset. The GeekHub form allows FOV from 54 to 68, X from -2.5 to 2.5, and Y and Z from -2 to 2. The installed game may clamp values according to its current allowed ranges.

If you want to focus on weapon placement alone, the CS2 viewmodel generator produces the same four commands without changing FPS or sensitivity. Consider using that smaller output for an experiment rather than repeatedly executing a complete personal configuration. When you have found a combination you want to keep, enter the final values in this tool and save them with the rest of your baseline settings.

Reading the output of the CS2 cfg generator

The result starts with a comment identifying the file as a local GeekHub configuration, followed by the six command lines. A comment beginning with two forward slashes is a note for the reader rather than a setting. Each subsequent line contains a console variable followed by its chosen numeric value. For example, sensitivity 1.25 requests an in-game sensitivity of 1.25. fps_max 300 requests a cap of 300. viewmodel_fov 68 requests that weapon FOV. Decimal values use a period rather than a locale-specific comma.

Open the CS2 CFG download in a plain-text editor before executing it. Confirm that it contains only the lines you expect. If you want to preserve additional personal settings, you may add documented commands manually or use another focused tool, such as the CS2 bind generator. Do not append commands that you cannot explain. In particular, a configuration copied from an unfamiliar website may contain outdated variables, disruptive binds or instructions intended for a private server instead of normal play.

A readable file is also easier to troubleshoot later. Give related variables their own lines and keep short comments that explain why you changed them. If two lines set the same variable to different values, the later effective command may override the earlier one. Removing duplicate or conflicting lines from your personal file makes it clearer which value you expect the game to use.

How to install a CS2 custom config

Use Steam's option to browse the installed files for Counter-Strike 2. This avoids guessing which drive or Steam library contains the game. In the installation folder, locate game/csgo/cfg. A common Windows installation path ends with steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg. The folder can retain the older Counter-Strike Global Offensive name even though the installed title is CS2. Your actual Steam library location may differ.

Copy your CS2 custom config into the CFG directory. Give the file a distinctive name such as geekhub-personal.cfg so you can recognize it without accidentally replacing a supplied configuration. Check that the file extension is really .cfg; some text editors or operating systems hide extensions and may create a file with .cfg.txt at the end. Never overwrite an unfamiliar Valve-supplied file simply because it has a similar name.

The Steam user-data configuration folder serves a different purpose. Use the game installation's CFG location for a manually executable custom command file. Back up any user settings you intend to edit directly. This generator only downloads text; it cannot determine where Steam is installed, move the file into the right folder, or execute CS2 on your behalf.

How to execute a config in CS2

Enable the developer console in Settings and open it with the assigned key. If you saved the file as geekhub-personal.cfg, enter exec geekhub-personal.cfg. The engine loads commands from the specified file if it can find it. If you receive an error about a missing file, verify the name, extension and folder first. If a command is unknown or the value is out of range, inspect that individual line and consult the CS2 console commands database for its documented purpose.

After execution, query a few of the variables rather than relying only on the absence of errors. For example, enter sensitivity and viewmodel_fov without new arguments to check the active values. Test movement and weapon appearance in a practice session. An applied configuration may later be overridden by another file, a selected viewmodel preset or a setting changed in the menu. The order of execution matters whenever several instructions affect the same variable.

Ordinary CFG files vs a CS2 autoexec config

An ordinary CFG is a named collection of commands that you can execute when needed. A CS2 autoexec config is typically a personal file named autoexec.cfg, intended to apply chosen settings during startup. Do not assume that every downloaded configuration is automatically loaded just because it has a .cfg extension. The generated file is an ordinary command file until you deliberately integrate it into your startup setup.

For one-time testing, manual execution is often preferable. You can see the result, make adjustments and decide whether to keep the changes. If you use an autoexec for persistent preferences, inspect its existing contents and merge only the variables you want to maintain. Do not replace an entire autoexec with a six-line file if it contains other important personal settings. Verify startup behavior by restarting the game and checking the variables; if the values differ, investigate which other configuration or setting may have overridden them.

Using professional player configs responsibly

GeekHub's professional player configs are useful when comparing published player settings and configuration references. They are distinct from this CS2 config creator: the database provides existing player-related records, while this tool prepares your own chosen values. A reconstructed configuration may include only reported settings, and a professional's preferences may have changed since collection.

Instead of replacing everything with a professional player's setup, select the values relevant to a particular question. If you are studying sensitivity, compare mouse DPI and the in-game multiplier together. If you are investigating the weapon model, compare the four viewmodel values. A configuration can organize settings, but it cannot reproduce another player's decision-making, training or physical setup. Keep your own baseline available so that a trial does not become an unwanted permanent change.

CS2 Config Generator FAQ

Can the CS2 config creator make a complete game backup?

No. The CS2 config generator creates a small configuration containing six supported variables. A full backup would also require your other game settings, bindings and potentially hardware-specific information. Use the generated file as a readable supplement to an appropriate backup rather than as the only copy of your setup.

Is a CS2 CFG download an executable application?

No. A CS2 CFG download is plain text intended for the game's configuration interpreter. Inspect the text before applying it. The browser download does not install a program or automatically modify your local game files.

Why did my sensitivity change after restarting CS2?

A startup file or another saved setting may have applied a different value. Query the active sensitivity and review your configuration files for conflicting instructions. Also confirm your physical mouse DPI if the turning distance feels different even though the console value is unchanged.

Will setting an FPS cap improve my performance?

The cap limits the rate requested by the rendering system; it does not guarantee more frames or lower latency. Compare a suitable cap against your current setting under comparable conditions. Investigate hardware and game workload if your system cannot sustain the chosen limit.

Can I combine this file with a separate crosshair or bind configuration?

Yes, provided you understand the commands and their current support. Keep each setting clear and avoid duplicate assignments. Preserve your originals, apply the combined file in a practice session and verify the settings that matter before using it in a match.

Other tools

View all →