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 at StrategyWiki
Counter-Strike at Wikipedia
Counter-Strike
Counter-Strike 1999
Counter-Strike: Condition Zero 2004
Counter-Strike: Source 2004
Counter-Strike Online 2009
Counter-Strike: Global Offensive 2012
Counter-Strike Online 2 2013
Counter-Strike Nexon: Zombies 2014

General information

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

Availability[edit]

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[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\Half-Life\cstrike\
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[edit]

System Native Notes
Steam Cloud

Video settings[edit]

In-game video settings.
In-game video settings.
Graphics option Option WSGF Notes
Widescreen resolution
FOV is cropped, does not properly adjust FOV and you are unable to change it. 73.6 FOV in 1080p
Multi-monitor
Ultra-widescreen
Use DxWnd.[citation needed]
4K Ultra HD
Field of view (FOV)
Windowed
Borderless fullscreen windowed
Use the -window -noborder command line arguments
Anisotropic filtering (AF)
gl_ansio 16
Anti-aliasing (AA)
MSAA, use the -nomsaa command line argument to disable.
Vertical sync (Vsync)
Can be disabled using the console command gl_vsync 0
60 FPS
120+ FPS
See Frame rate limit.

Frame rate limit[edit]

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[edit]

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[edit]

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

Audio settings[edit]

In-game audio settings.
In-game audio settings.
In-game voice settings.
In-game voice settings.
Audio options Native Notes
Separate volume controls
Music and sfx volume sliders, can be fine tuned with console commands
Surround sound
true for retail.
Subtitles
Closed captions
Mute on focus lost
EAX support
Lost with Steampipe. EAX1, A3D 2.0

Localizations

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

Network[edit]

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:port;password in the console.

Ports

Protocol Port(s) and/or port range(s)
UDP (outbound) 6003, 7002, 27010, 27015, 27025

Issues fixed[edit]

Shooting sound and fire animation not synchronized[edit]

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

Unable to switch from left-handed to right-handed weapon[edit]

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

Unable to move diagonally[edit]

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

Prevent admin slow-hacking[edit]

Use console command "cl_filterstuffcmd 1"[4]

Low performance on laptops with a Nvidia graphics cards[edit]

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[edit]

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[edit]

API[edit]

Technical specs Supported Notes
Direct3D 7 Lost with Linux update.[6]
OpenGL 2.1
Software renderer
64-bit executable
OS X and Linux only.[citation needed]

Middleware[edit]

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

Console commands[edit]

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[edit]

Use console command "room_type 0"[citation needed]

Disable Voice Chat[edit]

Use console command "voice_enable 0"[citation needed]

Disable Radio Commands[edit]

Use console command "ignorerad"[citation needed]

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) XP
Processor (CPU) 500 MHz 800 MHz
System memory (RAM) 96 MB 128 MB
Hard disk drive (HDD) 4 GB
Video card (GPU) 16 MB of VRAM 32 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)

References