Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Counter-Strike

From PCGamingWiki, the wiki about fixing PC games
This page may require cleanup to meet basic quality standards. The specific problem is: Console command fixes do not match the standard. You can help by modifying the article. The discussion page may contain useful suggestions.
Counter-Strike
Counter-Strike cover
Developers
Valve Corporation
Barking Dog Studios[1]
Publishers
Sierra Studios
Valve Corporation
Engines
GoldSrc
Release dates
Windows June 19, 1999
macOS (OS X) January 25, 2013
Linux January 25, 2013
Counter-Strike guide on StrategyWiki
Counter-Strike on Wikipedia

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.
Counter-Strike
Counter-Strike 2000
Counter-Strike: Condition Zero 2004
Counter-Strike: Source 2004
Counter-Strike NEO -White Memories- 2005
Counter-Strike Online (series)
Counter-Strike: Global Offensive 2012
Counter-Strike 2 2023

General information

Counter-Strike Wiki
GitHub Issue Tracker for Counter-Strike and other GoldSrc-based games
Counter-Strike Planet Forums
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
Icon overlay.png
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\Half-Life\cstrike\[Note 1]
macOS (OS X) <path-to-game>/Half-Life/cstrike/
Linux <path-to-game>/Half-Life/cstrike/
*.cfg store the configuration.
This game does not follow the XDG Base Directory Specification on Linux.

Save game cloud syncing

System Native Notes
Steam Cloud

Video settings

In-game video settings.
In-game video settings.

Template:Video settings

Frame rate limit

Set FPS limit[citation needed]
  1. Go to <path-to-game> (you can alternatively type the commands below in the console)
  2. Create a new file called userconfig.cfg
  3. Add the following lines:
gl_vsync 0 // turn off Vsync
fps_max "desired FPS value"
fps_override 1

Notes

By default the game is capped at 72 FPS (without Vsync).
The fps_override 1 command disables GoldSrc's arbitrary 100 FPS limit.

OpenGL texture filtering

Disable OpenGL texture filtering[2][3]
By default the filtering is enabled (not in Software rendering mode).
  1. Go to <path-to-game>.
  2. Create a file called autoexec.cfg.
  3. Add new line gl_texturemode gl_nearest_mipmap_linear.
  4. Save the file.

Input settings

In-game key map settings.
In-game key map settings.
In-game mouse/joystick settings.
In-game mouse/joystick settings.

Template:Input settings

Audio settings

In-game audio settings.
In-game audio settings.
In-game voice settings.
In-game voice settings.

Template:Audio settings

Localizations

Language UI Audio Sub Notes
English
Simplified Chinese
Traditional Chinese
French
German
Italian
Korean
Spanish

Network

In-game general multiplayer settings.
In-game general multiplayer settings.
In-game advanced multiplayer settings.
In-game advanced multiplayer settings.
For more information, see the "Half-Life Dedicated Server" section of our GoldSrc article.

Multiplayer types

Type Native Players Notes
LAN play
32
Online play
32

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Use connect [IP address here] in the console.

Ports

Protocol Port(s) and/or port range(s)
UDP 6003, 7002, 27010, 27015, 27025
Universal Plug and Play (UPnP) support status is unknown.

Issues fixed

Shooting sound and fire animation not synchronized

Use console commands: cl_lc 1, cl_lw 1"[citation needed]

Unable to switch from left-handed to right-handed weapon

Change to OpenGL or use console command "cl_righthand 1"[citation needed]

Unable to move diagonally

Use console commands: cl_upspeed 320, cl_backspeed 400, cl_sidespeed 400 and cl_forwardspeed 400"[citation needed]

Prevent admin slow-hacking

Use console command "cl_filterstuffcmd 1"[4]

Low performance on laptops with a Nvidia graphics cards

Opening Nvidia control panel and forcing game to run on dedicated card won't work on laptops. If the game is it's blocked or grayed out, you can do the same operation with an external program such as Nvidia Inspector[5]

Low frame rate on old hardware

Use theses console commands[citation needed]
cl_minmodels 1
gl_texturemode GL_NEAREST_MIPMAP_NEAREST
fastsprites 0 //
cl_shadows 0
cl_corpsestay 0
gl_picmip 3
cl_weather 0
r_decals 0
mp_decals 0

Other information

API

Technical specs Supported Notes
Direct3D 7 Lost with Linux update.[6]
OpenGL 2.1
Software renderer
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

Middleware

Middleware Notes
Audio Miles Sound System EAX 1.0 and A3D 2.0 support lost with Steampipe updates. Still present in retail.
Multiplayer World Opponent Network, Steamworks WON for retail, Steamworks for Steam.

Console commands

An exhaustive list of all Goldsrc console commands
Games running on the GoldSrc engine can utilize GoldSrc Engine Console Commands for various tasks.
The console is enabled by default in GoldSrc games, press ~ to open it.

Disable Echos

Use console command "room_type 0"[citation needed]

Disable Voice Chat

Use console command "voice_enable 0"[citation needed]

Disable Radio Commands

Use console command "ignorerad"[citation needed]

System requirements

Windows
Minimum Recommended
Operating system (OS) XP
Processor (CPU) 500 MHz
System memory (RAM) 96 MB
Hard disk drive (HDD) 4 GB
Video card (GPU) 16 MB of VRAM
macOS (OS X)
Minimum
Operating system (OS) Snow Leopard 10.6.3
Processor (CPU) 500 MHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8
ATI Radeon X1600
Intel HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Dual-core from Intel at 2.8 GHz
Dual-core from AMD at 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8600/9600GT
ATI/AMD Radeon HD2600/3600
OpenGL 2.1 compatible
Sound (audio device) OpenAL Compatible Sound Card
Other (Graphic Drivers: Nvidia 310, AMD 12.11)

Notes

  1. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References