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.

Difference between revisions of "Counter-Strike"

From PCGamingWiki, the wiki about fixing PC games
m (→‎OpenGL overbright lighting: General maintenance with AutoWikiBrowser in Bot mode)
m (→‎OpenGL overbright lighting: General maintenance with AutoWikiBrowser in Bot mode)
Line 148: Line 148:
 
===OpenGL overbright lighting===
 
===OpenGL overbright lighting===
 
{{ii}} Overbright lighting increases the rendering [[Glossary:High dynamic range (HDR)|dynamic range]], resulting brighter and more colorful visuals.
 
{{ii}} Overbright lighting increases the rendering [[Glossary:High dynamic range (HDR)|dynamic range]], resulting brighter and more colorful visuals.
{{--}} Overbright lighting normally only works on the Direct3D and software renderers.<ref>{{Refurl|url=https://www.vogons.org/viewtopic.php?f=5&t=47313|title=VOGONS • View topic - Half-Life overbright compatibility|date=9 June 2023}}</ref><ref>[https://github.com/ValveSoftware/halflife/issues/230 gl_overbright & OpenGL · Issue #230 · ValveSoftware/halflife]</ref>  
+
{{--}} Overbright lighting normally only works on the Direct3D and software renderers.<ref>{{Refurl|url=https://www.vogons.org/viewtopic.php?f=5&t=47313|title=VOGONS • View topic - Half-Life overbright compatibility|date=9 June 2023}}</ref><ref>{{Refurl|url=https://github.com/ValveSoftware/halflife/issues/230|title=gl_overbright & OpenGL · Issue #230 · ValveSoftware/halflife|date=9 June 2023}}</ref>  
  
 
<!-- NOTE FOR EDITORS: The profile name doesn't have any hyphen; don't change that! -->
 
<!-- NOTE FOR EDITORS: The profile name doesn't have any hyphen; don't change that! -->

Revision as of 03:32, 10 June 2023

Counter-Strike
Counter-Strike cover
Developers
Valve Corporation
Barking Dog Studios[1]
Publishers
1999-2005 Sierra Studios
2005-present Valve Corporation
Engines
GoldSrc
Release dates
Windows November 8, 2000
macOS (OS X) January 25, 2013
Linux January 25, 2013
Reception
Metacritic 88
Taxonomy
Monetization One-time game purchase
Modes Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Shooter
Art styles Realistic
Themes Contemporary
Series Counter-Strike
Counter-Strike on IGDB
Counter-Strike guide on StrategyWiki
Counter-Strike on MobyGames
Counter-Strike on Wikipedia
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

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.

General information

GitHub Issue Tracker for Counter-Strike and other GoldSrc-based games
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
Retail
DRM-free
Later updates and releases remove the disc check and activation completely.
Icon overlay.png
Windows
Retail
Icon overlay.png
Counter-Strike 1 Anthology.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
All non-Steam releases can be redeemed on Steam.

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

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

Graphics feature State WSGF Notes
Widescreen resolution
Vert-, does not properly adjust FOV and you are unable to change it.
Multi-monitor
Ultra-widescreen
Use DxWnd.[citation needed]
4K Ultra HD
Field of view (FOV)
Fixed 90° horizontal.
Windowed
Borderless fullscreen windowed
Use the -window -noborder command line arguments
Anisotropic filtering (AF)
gl_ansio 16[citation needed]
Anti-aliasing (AA)
MSAA, use the -nomsaa command line argument to disable.
Vertical sync (Vsync)
Can be disabled in the Video settings or by using the console command gl_vsync 0
60 FPS
120+ FPS
See Frame rate limit.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Frame rate limit

Set FPS limit[2]
  1. Go to <path-to-game>.
  2. Find a config file called userconfig.cfg. If you can't find it, create a new text file and rename it.
  3. Add the following lines into the config file:
gl_vsync 0 // Disable Vsync
fps_max "XX" // Replace "XX" with your desired FPS value.
fps_override 1

Notes

The game is usually capped at 72 FPS by default (without Vsync).
The fps_override 1 command disables GoldSrc's arbitrary 100 FPS limit.
It is not recommended to set your FPS higher than 100 FPS as it might cause some issues such as slower movement.

OpenGL texture filtering

Disable OpenGL texture filtering[3][4]
Texture filtering is enabled by default when using the OpenGL renderer (This is disabled in Software rendering mode).
  1. Go to <path-to-game>.
  2. Find a config file called userconfig.cfg. If you can't find it, create a new text file and rename it.
  3. Add this console command into the config file: gl_texturemode gl_nearest_mipmap_linear.
  4. Save the file.
Alternatively, you may also use this console command: gl_texturemode gl_nearest.

OpenGL overbright lighting

Overbright lighting increases the rendering dynamic range, resulting brighter and more colorful visuals.
Overbright lighting normally only works on the Direct3D and software renderers.[5][6]
Nvidia cards: Enable the GL extension limiter[7]
  1. Download and run Nvidia Profile Inspector.
  2. On the Half Life profile, set Extension limit to On. Apply changes.
  3. Go to <path-to-game>.
  4. Create a file called autoexec.cfg.
  5. Add new line gl_overbright "1".
  6. Save the file.

Notes

Doing this will disable multi-texturing, which has the side-effect of disabling detail textures, which may effect the appearance of other games and mods that share hl1.exe, including Counter-Strike: Condition Zero and Day of Defeat.
Doing this disables the Steam version's built-in MSAA. On the Half Life profile, change Antialiasing - Mode to Override any application setting and Antialiasing - Setting to the desired level of antialiasing (such as 4x [4x Multisampling] for a vanilla look, or 32xS [Combined: 2x2 SS + 8x MS] for maximum antialiasing).

Input

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

Audio

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

Audio feature State 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
Indonesian
Fan translation by IGTC Team, download.
Italian
Korean
Brazilian Portuguese
Fan translation, download.
Russian
Available but not shown on Steam.
Spanish
Ukrainian
Fan translation and full dubbing by TSF, download.

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:port;password 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"[8]

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

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.[11]
OpenGL 2.1
Software renderer
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
[10]
Linux
[10]

Middleware

Middleware Notes
Audio Miles Sound System EAX 1.0 and A3D 2.0 support lost with Steampipe updates. Still present in retail.
Input SDL
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 the console command: room_off 1 [12]

Disable Voice Chat

Use the console command: voice_enable 0[citation needed]

Disable Commentator Voice Overs

Use the console command: speak_enabled 0[citation needed]

Mods

The game has a lot of modifications available, most of them can be found on GameBanana. Here are some recommended ones:

  • Original CT and T Player Models - When Condition Zero was released, the original player models have been remade. Usually, you can switch from the original (LD) to the remade (HD) player models and vice versa in the Video settings but there have been cases where the LD player models aren't present in the game files. You can use this mod to replace the HD player models back to the LD player models.
  • Detailed (HD) Textures - Makes the textures on maps HD. [citation needed]
  • Bots - This adds AI bots for Counter-Strike, which allows you to play the game in singleplayer.
  • Nexon CSO Skybox Replacements - A remake of nearly all the original skybox textures.

System requirements

Retail ("WON") version (1.0-1.5)

Windows
Minimum
Operating system (OS) 95, 98, NT 4.0
Processor (CPU) Intel Pentium 133 MHz
System memory (RAM) 24 MB
Hard disk drive (HDD) 400 MB

Steam version (1.6 and newer)

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

  1. Gooseman Counter-Strike Interview
  2. Verified by User:Pufflesboi on 2023-05-15
    Confirmed. I can get 120 FPS by overriding and changing my max to 120.
  3. https://steamcommunity.com/sharedfiles/filedetails/?id=244861148
  4. Verified by User:Mars icecream on 2016-11
    Half-Life method applies to CS as well)
  5. VOGONS • View topic - Half-Life overbright compatibility - last accessed on 9 June 2023
  6. gl_overbright & OpenGL · Issue #230 · ValveSoftware/halflife - last accessed on 9 June 2023
  7. Half-Life with OpenAL (EFX, Surround Sound, and HRTF!) : HalfLife - last accessed on May 2023
  8. Admin Slowhacking - VALVe Developer Community - last accessed on May 2023
  9. CS 1.6 Nvidia Optimus/SLI Fix :: Steam Community Discussions - last accessed on May 2023
  10. 10.0 10.1 Counter-Strike: Global Offensive » Release Notes for 5/25/2016
  11. Steam HL1 5.1 sound - Steam discussions forums.
  12. Verified by User:Pufflesboi on 2023-05-15
    Yep, it works and I'm pretty sure that this also works with any other GoldSrc game.