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 "Team Fortress Classic"

From PCGamingWiki, the wiki about fixing PC games
m
(11 intermediate revisions by 6 users not shown)
Line 8: Line 8:
 
{{Infobox game/row/engine|GoldSrc}}
 
{{Infobox game/row/engine|GoldSrc}}
 
|release dates=  
 
|release dates=  
{{Infobox game/row/date|Windows|April 7, 1999}}
+
{{Infobox game/row/date|Windows|April 7, 1999|ref=<ref>{{Refurl|url=https://web.archive.org/web/20011007074257/http://sierrastudios.com/games/half-life/official-releases.html#tfc|title=Team Fortress Classic Now Available for Half-Life (retrieved)|date=2023-06-22|snippet=The 18MB release will be launched on Wednesday, April 7 at 9 A.M. Pacific Standard Time.}}</ref>}}
 
{{Infobox game/row/date|OS X|March 29, 2013}}
 
{{Infobox game/row/date|OS X|March 29, 2013}}
 
{{Infobox game/row/date|Linux|March 29, 2013}}
 
{{Infobox game/row/date|Linux|March 29, 2013}}
Line 33: Line 33:
 
|lutris      = team-fortress-classic
 
|lutris      = team-fortress-classic
 
|igdb        = team-fortress-classic
 
|igdb        = team-fortress-classic
 +
|mobygames    = 1793
 
|strategywiki = Team Fortress Classic
 
|strategywiki = Team Fortress Classic
|mobygames    = team-fortress-classic
 
 
|wikipedia    = Team Fortress Classic
 
|wikipedia    = Team Fortress Classic
 
|winehq      = 7640
 
|winehq      = 7640
 
|license      = commercial
 
|license      = commercial
 +
}}
 +
 +
{{Introduction
 +
|introduction      =
 +
 +
|release history  =
 +
 +
|current state    =
 
}}
 
}}
  
Line 101: Line 109:
  
 
==Video==
 
==Video==
{{Image|Team Fortress Classic Video.png|In-game video settings.}}
+
{{Image|Half_Life_Video.png|In-game video settings.}}
 
{{Video
 
{{Video
 
|wsgf link                  =  
 
|wsgf link                  =  
Line 109: Line 117:
 
|4k ultra hd wsgf award    =  
 
|4k ultra hd wsgf award    =  
 
|widescreen resolution      = true
 
|widescreen resolution      = true
|widescreen resolution notes= FOV is cropped, see FOV notes
+
|widescreen resolution notes= Retail and pre-25th Anniversary Update Steam versions are {{term|Vert-}}. Increase FOV to compensate. See [[#Field of view (FOV)|Field of view (FOV)]].<br>The 25th Anniversary Update version is {{term|Hor+}}.
 
|multimonitor              = false
 
|multimonitor              = false
 
|multimonitor notes        =  
 
|multimonitor notes        =  
|ultrawidescreen            = unknown
+
|ultrawidescreen            = limited
|ultrawidescreen notes      =  
+
|ultrawidescreen notes      = Retail and pre-25th Anniversary Update Steam versions are {{term|Vert-}}. Increase FOV to compensate. See [[#Field of view (FOV)|Field of view (FOV)]].<br>The 25th Anniversary Update version is {{term|Hor+}}.
 
|4k ultra hd                = true
 
|4k ultra hd                = true
 
|4k ultra hd notes          = Only with OpenGL renderer. Different renderer will cause game crash.
 
|4k ultra hd notes          = Only with OpenGL renderer. Different renderer will cause game crash.
Line 126: Line 134:
 
|antialiasing              = true
 
|antialiasing              = true
 
|antialiasing notes        = 4x MSAA, select Low quality video option to remove
 
|antialiasing notes        = 4x MSAA, select Low quality video option to remove
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 
|vsync                      = true
 
|vsync                      = true
|vsync notes                = Mouse inputs may not feel as smooth
+
|vsync notes                = Triple Buffering.<br>Lower input latency forces a Double Buffering Vsync.<br> Always on for the retail version.
 
|60 fps                    = true
 
|60 fps                    = true
 
|60 fps notes              =  
 
|60 fps notes              =  
Line 193: Line 204:
  
 
==Input==
 
==Input==
{{Image|Team Fortress Classic Remapping.png|In-game key map settings.}}
+
{{Image|Half Life Remapping.png|Key map settings (Steam version)}}
{{Image|Team Fortress Classic Mouse Joystick.png|In-game mouse/joystick settings.}}
+
{{Image|Half Life Mouse Joystick.png|Mouse/joystick settings (Steam version)}}
 
{{Input
 
{{Input
 
|key remap                = true
 
|key remap                = true
Line 264: Line 275:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              =  
 
|eax support              =  
|eax support notes        =  
+
|eax support notes         =
 +
|royalty free audio       = unknown
 +
|royalty free audio notes  =  
 
}}
 
}}
  
Line 350: Line 363:
 
}}
 
}}
  
 +
==Issues fixed==
 +
===Run the game at screen refresh rate (Retail version)===
 +
{{ii}} The retail version of the game defaults to 60 Hz when running with Direct3D renderer in full-screen mode.
 +
{{Fixbox|description=Use the <code>-freq <rate></code> [[Glossary:Command line arguments|command line argument]]|ref=<ref>{{Refurl|url=https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Games|title=Command Line Options - Valve Developer Community|date=May 2023}}</ref>|fix=
 +
{{ii}} Example: <code>-freq 120</code> forces a 120 Hz refresh rate.
 +
}}
 +
 +
===Input Lag in Direct3D (Retail version)===
 +
{{ii}} On certain graphics cards, using the D3D renderer can result in severe input lag, even with disabled VSync.
 +
{{Fixbox|description=Set {{code|gl_d3dflip 1}} in the console|ref=<ref>{{Refurl|url=http://valvearchive.com/web_archive/sierrastudios.com/games/half-life/issues.html|title=valvearchive.com|date=9 June 2023}}</ref>|fix=
 +
}}
 +
 +
===Main menu issues (Retail Version)===
 +
{{ii}} In modern versions of windows the menu is usually not seen in full screen in addition to crashing when loading the game
 +
{{Fixbox|description=Run the game in [[Windows Compatibility Mode|compatibility mode]] for Windows XP (Service Pack 2)|ref=}}
 +
 +
===Fatal Error - Available memory less than 15MB (Retail version)===
 +
{{Fixbox|description=Run the game in compatibility mode for <code>Windows XP</code>|ref={{cn|date=October 2016}}}}
 +
 +
===Black screen on startup (Steam version)===
 +
{{Fixbox|description=Disable FBO rendering|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/70/discussions/0/864959809942784569/|title=Steam Community|date=May 2023}}</ref>|fix=
 +
# Add <code>-nofbo</code> in the game's launch options.
 +
}}
 +
 +
===Windows 7/Vista Performance Fix===
 +
{{ii}} In Windows 7 or Vista with modern hardware, some users may experience extremely low frame rates during gameplay.
 +
 +
{{Fixbox|description=Set HL.exe to high priority|ref={{cn|date=August 2015}}|fix=
 +
# Open Half-Life.
 +
# Press {{key|Ctrl|Shift|Esc}} in order to open the Task Manager.
 +
# Under the {{code|Processes}} tab, find {{file|HL.exe}} and right click it.
 +
# Set its priority to high.
 +
}}
 +
 +
===Performance issues with dynamic lights on Intel graphics (OpenGL)===
 +
{{ii}} Dynamic light sources being present, such as the flashlight or flickering lights, causes significant frame rate drops and lag spikes on Intel graphics.
 +
{{Fixbox|description=Use [https://www.vogons.org/viewtopic.php?t=63930 this GLIntercept config]|ref=<ref>{{cn}}</ref>|fix=
 +
'''Note'''
 +
{{--}} As this method uses a custom {{file|OpenGL32.dll}}, it should not be used in VAC-protected servers.
 +
{{++}} Doing this also fixes [[#OpenGL overbright lighting|overbright lighting]].
 +
}}
 
==Other information==
 
==Other information==
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 7
+
|direct3d versions      = 6
 
|direct3d notes        = Lost with Linux update.<ref name="linux update"/>
 
|direct3d notes        = Lost with Linux update.<ref name="linux update"/>
 
|directdraw versions    =  
 
|directdraw versions    =  
Line 373: Line 427:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 
|windows exe notes      =  
 
|windows exe notes      =  
 
|mac os x powerpc app  =  
 
|mac os x powerpc app  =  
Line 381: Line 436:
 
|linux 32-bit executable= true
 
|linux 32-bit executable= true
 
|linux 64-bit executable= false
 
|linux 64-bit executable= false
 +
|linux arm app          = unknown
 
|linux executable notes = {{CN|date=August 2015}}
 
|linux executable notes = {{CN|date=August 2015}}
 
}}
 
}}
Line 396: Line 452:
 
|cutscenes        =  
 
|cutscenes        =  
 
|cutscenes notes  =  
 
|cutscenes notes  =  
|multiplayer      = WON, Steamworks
+
|multiplayer      = World Opponent Network, Steamworks
 
|multiplayer notes= WON for retail version, Steamworks for Steam version.
 
|multiplayer notes= WON for retail version, Steamworks for Steam version.
 
}}
 
}}

Revision as of 01:40, 17 January 2024

This page is for the GoldSrc remake. For the original Quake mod, see Team Fortress.

Team Fortress Classic
Team Fortress Classic cover
Developers
Valve Corporation
Engines
GoldSrc
Release dates
Windows April 7, 1999[1]
macOS (OS X) March 29, 2013
Linux March 29, 2013
Taxonomy
Monetization One-time game purchase
Modes Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Action, FPS
Art styles Realistic
Series Team Fortress
Team Fortress Classic on HowLongToBeat
Team Fortress Classic on IGDB
Team Fortress Classic guide on StrategyWiki
Team Fortress Classic on MobyGames
Team Fortress Classic on Wikipedia
Team Fortress
Team Fortress (mod) 1996
Team Fortress Classic 1999
Fortress Forever (unofficial mod) 2007
Team Fortress 2 2007

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.

Team Fortress Classic is a multiplayer first-person action and FPS game in the Team Fortress series.

General information

GitHub Issue Tracker for Team Fortress Classic and other GoldSrc-based games
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
DRM-free
It was included as a free bonus title in later updates for Half-Life, and also included in the "Game of the Year" edition. The "Generation" compilation sets released in Europe also bundle it with the GOTY Edition.
Windows
Retail
CD key
Released as a standalone game in North America in various compilations of the original Half-Life, including the "Adrenaline Pack", "Platinum" and "Platinum Collection", in addition to the Half-Life: Day One demo and the "Initial Encounter" budget release.
Windows
Retail
Icon overlay.png
Half-Life 1 Anthology.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux

Essential improvements

Skip intro videos

-nointro[citation needed]
  1. Find Team Fortress Classic in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -nointro
  6. Press OK
  7. Launch the game

File Consistency for models/w_grenade.mdl

Disconnected from servers with the message: "You have been disconnected from the server. Reason: Bad file Server is enforcing file consistency for models/w_grenade.mdl"[citation needed]
  1. Launch Team Fortress Classic
  2. Click Options, then the Video tab, then uncheck Enable HD models if available.
  3. Re-join the server

For your own servers, you can allow these models along with custom models by using the command mp_consistency "0".

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\Half-Life\tfc\[Note 1]
macOS (OS X) <path-to-game>/Half-Life/tfc/
Linux <path-to-game>/Half-Life/tfc/
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game cloud syncing

System Native Notes
Steam Cloud

Video

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

Graphics feature State Notes
Widescreen resolution
Retail and pre-25th Anniversary Update Steam versions are Vert-. Increase FOV to compensate. See Field of view (FOV).
The 25th Anniversary Update version is Hor+.
Multi-monitor
Ultra-widescreen
Retail and pre-25th Anniversary Update Steam versions are Vert-. Increase FOV to compensate. See Field of view (FOV).
The 25th Anniversary Update version is Hor+.
4K Ultra HD
Only with OpenGL renderer. Different renderer will cause game crash.
Field of view (FOV)
See Field of view (FOV).
Windowed
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Use cvar gl_aniso to configure. Restart required.
Anti-aliasing (AA)
4x MSAA, select Low quality video option to remove
Vertical sync (Vsync)
Triple Buffering.
Lower input latency forces a Double Buffering Vsync.
Always on for the retail version.
60 FPS
120+ FPS
See High frame rate.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Field of view (FOV)

The fov is not automatically adjusted when the 'Display Mode' is changed to 'Widescreen'.
Set field of view in console[citation needed]
  1. While in game, push ~ to open the developer console.
  2. Type default_fov (value) and press Enter.
Set field of view in config.cfg[citation needed]
  1. Open config.cfg located in Sierra\Half-Life\Valve\.
  2. Add the following to the bottom of it.

For 16:10 at 90 FOV: default_fov 100.39

For 16:10 at 120 FOV: default_fov 128.61

For 16:9 at 90 FOV: default_fov 106.27

For 16:9 at 120 FOV: default_fov 133.17

If the new fov doesn't stick try creating an autoexec.cfg-file in the same folder and adding the line to it.

Borderless fullscreen windowed

-window -noborder[citation needed]
  1. Find Team Fortress Classic in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -window -noborder
  6. Press OK
  7. Launch the game

High frame rate

Increasing the FPS is necessary to make the game seem less choppy without vsync enabled.
Setting FPS higher than 100 via console[citation needed]
  1. While in game, push ~ to open the developer console.
  2. Type developer 1 and press Enter. This enables developer mode, going past the video standards of when TFC was first released.
  3. Type fps_override 1 and press Enter. This enables entering in FPS levels higher than 100.
  4. Finally type fps_max 200 and press Enter. Setting to 200 is recommended, higher values will feel floaty.
Setting FPS higher than 100 via autoexec.cfg[citation needed]
  1. Open autoexec.cfg in the installation folder.
  2. Add the following to the bottom of it.
developer 1
fps_override 1
fps_max 200

Input

Key map settings (Steam version)
Key map settings (Steam version)
Mouse/joystick settings (Steam version)
Mouse/joystick settings (Steam version)

Keyboard and mouse State Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
In-game support only allows for single-joystick interaction, and buttons must be bound via console commands.
Full controller support
Controller remapping
Can only be done via the bind command in the console.
Controller sensitivity
Controller Y-axis inversion
Enable option "Reverse mouse" to invert Joystick Y-axis.
Controller types
XInput-compatible controllers
PlayStation controllers
Generic/other controllers
Additional information
Button prompts
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M

Audio

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

Audio feature State Notes
Separate volume controls
Surround sound
Lost with Linux update.[2]
Subtitles
Closed captions
Mute on focus lost
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
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
Open the console (~) and use connect [IP address here].

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

Run the game at screen refresh rate (Retail version)

The retail version of the game defaults to 60 Hz when running with Direct3D renderer in full-screen mode.
Use the -freq <rate> command line argument[3]
Example: -freq 120 forces a 120 Hz refresh rate.

Input Lag in Direct3D (Retail version)

On certain graphics cards, using the D3D renderer can result in severe input lag, even with disabled VSync.
Set gl_d3dflip 1 in the console[4]

Main menu issues (Retail Version)

In modern versions of windows the menu is usually not seen in full screen in addition to crashing when loading the game
Run the game in compatibility mode for Windows XP (Service Pack 2)

Fatal Error - Available memory less than 15MB (Retail version)

Run the game in compatibility mode for Windows XP[citation needed]

Black screen on startup (Steam version)

Disable FBO rendering[5]
  1. Add -nofbo in the game's launch options.

Windows 7/Vista Performance Fix

In Windows 7 or Vista with modern hardware, some users may experience extremely low frame rates during gameplay.
Set HL.exe to high priority[citation needed]
  1. Open Half-Life.
  2. Press Ctrl+ Shift+Esc in order to open the Task Manager.
  3. Under the Processes tab, find HL.exe and right click it.
  4. Set its priority to high.

Performance issues with dynamic lights on Intel graphics (OpenGL)

Dynamic light sources being present, such as the flashlight or flickering lights, causes significant frame rate drops and lag spikes on Intel graphics.
Use this GLIntercept config[6]

Note

As this method uses a custom OpenGL32.dll, it should not be used in VAC-protected servers.
Doing this also fixes overbright lighting.

Other information

API

Technical specs Supported Notes
Direct3D 6 Lost with Linux update.[2]
OpenGL 2.1
Software renderer
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
This 32-bit-only macOS game does not work on macOS Catalina (10.15) or later.
Linux
[citation needed]

Middleware

Middleware Notes
Audio Miles Sound System
Input SDL
Multiplayer World Opponent Network, Steamworks WON for retail version, Steamworks for Steam version.

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.

System requirements

Windows
Minimum Recommended
Operating system (OS) 2000
Processor (CPU) 500 MHz
System memory (RAM) 95 MB
Hard disk drive (HDD) 400 MB
Video card (GPU) 16 MB of VRAM
DirectX 7 compatible
macOS (OS X)
Minimum
Operating system (OS) 10.6.3
Processor (CPU) 500 MHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 4 GB
Video card (GPU) Nvidia GeForce 8xxx series
ATI Radeon X1600
Intel HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Dual-core from Intel or 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
(Graphic Drivers: Nvidia 310, AMD 12.11)
OpenGL 2.1 compatible


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. Team Fortress Classic Now Available for Half-Life (retrieved) - last accessed on 2023-06-22
    "The 18MB release will be launched on Wednesday, April 7 at 9 A.M. Pacific Standard Time."
  2. 2.0 2.1 Steam HL1 5.1 sound - Steam discussions forums.
  3. Command Line Options - Valve Developer Community - last accessed on May 2023
  4. valvearchive.com - last accessed on 9 June 2023
  5. Steam Community - last accessed on May 2023
  6. [citation needed]