Skip to content

Counter-Strike 2 ​

Overview ​

Two separate tools are available for Counter-Strike 2:

ToolWhat it does
CS2 ToolImports cs2_machine_convars.vcfg, cs2_video.txt, and autoexec.cfg, and applies QoS for cs2.exe
CS2 LauncherFull launcher — applies settings, fixes alt-tab with SetRes, and launches CS2 via Steam

INFO

These configs are a starting point for performance. Settings are subjective — what works on one PC may need tuning on another.

TIP

The scripts auto-detect your Steam library. You do not need to pick a drive manually.


CS2 Tool ​

Applies config files only. Suitable for a one-time import without changing how CS2 launches.

Steps ​

  1. Close Counter-Strike 2
  2. Open PowerShell as Administrator
  3. Paste and press Enter:
powershell
irm 'https://docs.ibrhub.net/scripts/games-setup/IBRA-CS2-Tool.ps1' | iex

CS2 Launcher ​

A full launcher shell based on AveYo's CS2 launcher. It does everything the tool does, plus:

  • SetRes alt-tab fix — desktop resolution matches the game while CS2 is in focus, then snaps back to native on alt-tab. Eliminates most alt-tab crashes, secondary screen issues, and high input lag.
  • Screen targeting — CS2 starts on whichever screen your mouse is on. You can move between displays freely while in the menu.
  • Unified cfg — settings are written to game\csgo\cfg so they apply to all users and survive Steam verification.
  • Steam library shortcut — adds the launcher as a non-Steam game entry so you can launch it from your library.
  • FACEIT / GamersClub compatible — use -Mode Settings or -Mode Launcher as Steam launch options to skip the menu.

Modes ​

ModeHow to triggerWhat happens
MenuDefault (no flag)Shows the interactive IBRA menu
Settings-Mode SettingsApplies presets silently, copies a readable summary to clipboard, saves CS2_settings_readable.txt to Desktop
Launcher-Mode LauncherSettings + SetRes watcher + launches CS2 via Steam

Steps ​

  1. Close Counter-Strike 2
  2. Open PowerShell as Administrator
  3. Paste and press Enter:
powershell
irm 'https://docs.ibrhub.net/scripts/games-setup/IBRA-CS2_Launcher.ps1' | iex

Steam Launch Option (skip menu) ​

To use the launcher directly from Steam or FACEIT, set the CS2 launch option to:

powershell -NoProfile -ExecutionPolicy Bypass -File "C:\path\to\IBRA-CS2_Launcher.ps1" -Mode Launcher

Or use -Mode Settings if you only want settings applied on each launch without the SetRes watcher.

TIP

Use -Auto to force CS2 to start immediately, or -Manual to wait for you to launch manually.


What gets changed ​

cs2_video.txt ​

SettingValueNotes
mat_vsync0Enable vsync in GPU driver instead
videocfg_shadow_quality0Low shadows
videocfg_dynamic_shadows1Required for competitive
r_texturefilteringquality3Anisotropic 4x
videocfg_hdr_detail3HDR performance (8-bit)
r_low_latency2Low latency mode

cs2_machine_convars.vcfg ​

ConvarValueNotes
engine_no_focus_sleep0No CPU throttle on alt-tab
cl_input_enable_raw_keyboard0Prevents keyboard issues
r_show_build_info1Shows build info for bug reports
trusted_launch1Trusted launch tracking

Disclaimer ​

Overwrites existing settings

Running either script replaces or modifies your existing CS2 config files on disk. Back up anything you care about before running.