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

Difference between revisions of "Team Fortress 2"

From PCGamingWiki, the wiki about fixing PC games
(Added MobyGames)
(→‎System requirements: GL_EXT_draw_buffers2 note)
Line 825: Line 825:
  
 
==System requirements==
 
==System requirements==
{{ii}} Windows version requires a CPU supporting SSE.
+
{{ii}} Windows version requires a CPU supporting [[Wikipedia:Streaming SIMD Extensions|SSE]] instructions.
 
{{System requirements
 
{{System requirements
 
|OSfamily = Windows
 
|OSfamily = Windows
Line 873: Line 873:
 
|minother = (Graphic Drivers: Nvidia 310, AMD 12.11)
 
|minother = (Graphic Drivers: Nvidia 310, AMD 12.11)
 
}}
 
}}
 +
{{ii}} OpenGL versions require the GL_EXT_draw_buffers2 extension<ref>[https://github.com/ValveSoftware/steam-for-linux/issues/248#issuecomment-12125062 Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! · ValveSoftware/steam-for-linux]</ref>. A hacky workaround [https://steamcommunity.com/app/221410/discussions/0/882966056532198187/?ctp=7 exists].
  
 
{{References}}
 
{{References}}

Revision as of 15:48, 19 January 2020

Dev general icon.svg
Although this product has been released, it remains under active development - information may change frequently and could be outdated or irrelevant.
Team Fortress 2
Team Fortress 2 cover
Developers
Valve Corporation
PASS Time Escalation Studios[1]
Engines
Source
Release dates
Windows October 9, 2007
macOS (OS X) June 10, 2010
Linux November 6, 2012
Team Fortress 2 guide on StrategyWiki
Team Fortress 2 on MobyGames
Team Fortress 2 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.
Team Fortress
Team Fortress (mod) 1996
Team Fortress Classic 1999
Fortress Forever (unofficial mod) 2007
Team Fortress 2 2007

Key points

Receives frequent updates.[2]
Active community.[3]

General information

Official website
Official wiki - Run by the TF2 community and hosted by Valve
GitHub Issue Tracker includes other Source-based games
Steam Community Discussions
Steam Workshop

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Always online (requires a constant internet connection to play)
Gives access to Premium account features[4]
Windows
macOS (OS X)
Linux
Steam
Icon overlay.png
Always online (requires a constant internet connection to play)
Free to play, Install with steam://install/440
Also available to purchase in the Orange Box bundle, which gives access to Premium account features.
Windows
macOS (OS X)
Linux
All versions require Steam DRM and a constant internet connection for all game modes.
A faithful higher resolution icon for Windows can be found on DeviantArt.

DLC and expansion packs

Essential improvements

Skip intro videos

Use the -novid command line argument[5]
  1. Or alternatively, go to <path-to-game>\hl2\media
  2. Delete or rename Valve.bik.

Increase performance

The game has some compatibility issues with older operating systems such as Windows 7 due to the outdated graphics stack (WDDM).
Change operating system[citation needed]
  1. Back up your files and programs.
  2. Go to Microsoft site.
  3. Select at will the type of transition to Windows 10.
  4. Upgrade to Windows 10 or reinstall from scratch.
  5. Download and install the latest drivers for your configuration, in particular the video card.
  6. Turn off the transparency of the desktop interface in the system settings in the personalization color section.
  7. You can also turn on the game mode in the system settings to ensure a higher priority of the game in automatic mode.

Notes

This action is the cornerstone of stability and smoothness of the gameplay, as Windows 10 has more advanced basic elements that the game requires.
TF2's default settings are generally not optimized for most users. Therefore, it is generally recommended to use a performance config, such as mastercomfig.
Install mastercomfig[citation needed]
  1. Download the latest config from mastercomfig's website.
  2. Choose a preset that suits your needs along with any addons that are relevant to you and download the necessary VPK files. If you are not sure which preset to choose, "Medium" is a good one to start with.
  3. WARNING! This will reset ALL of your settings, keybinds, etc. back to defaults. Back up or take note of any settings you want to carry over. Follow these instructions to clear your current TF2 settings before installing the config to reduce the likelihood of issues.
  4. Place the VPK files you downloaded in your /tf/custom/ folder under your TF2 game directory (see below for location of base directory.
  5. Follow these directions to add the necessary launch options to your game. Don't forget to remove your DXLevel launch option after the first launch of the game!
  6. Boot up the game and test the performance/visual fidelity. If you run into errors, check the troubleshooting section.
  7. If there are a few settings that maxcomfig set that you would like changed without changing presets, you can use modules to change individual settings.
If you require further help with mastercomfig, consult the relevant documentation for assistance.
You can also disable the function of HPET which is a technology of high-precision timer in the motherboard.
This can sometimes cause performance problems.
You can keep timer resolution manually.
Disable HPET[6]

Method 1:

  1. Tap on the Windows-key, enter cmd, right-click cmd.exe in the results listing and select to run the command prompt with administrative privileges.
  2. To enable HPET as the only timer run the command bcdedit /set useplatformclock true
  3. To disable HPET in Windows run the command bcdedit /deletevalue useplatformclock
  4. Restart your computer.

Method 2:

  1. Search "Device Manager" on your PC.
  2. Scroll down to "System Devices" and open the sub-menu.
  3. Scroll to "High Precision Event Timer" and click it.
  4. Click "Actions" at the top of the window, and from that pop-up menu, click "Disable".
  5. Restart your computer.

Game data

Configuration file(s) location

System Location
Steam <path-to-game>/tf/cfg/
Steam Cloud settings are stored in <Steam-folder>/userdata/<user-id>/440/remote/
Demo files are stored in <path-to-game>/tf/
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
Approx. 1 GB available.
Settings, in-game sprays and Steam Workshop submissions.

Video settings

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Template:Video settings

Field of view (FOV)

A FOV slider is available within the options which is limited to 75-90°, but this sets the FOV for a 4:3 aspect ratio. The actual FOV will be adjusted for other aspect ratios, meaning widescreens gain a higher than configured FOV, especialy for 21x9 and 32x9 aspect ratios. For a 16:9 aspect ratio, a setting of 90° results in a FOV slightly above 106. Adjusting the size of the window in windowed mode changes your aspect ratio. Console commands can change the FOV to values below & above the slider's range, but are not allowed in competitive. The viewmodel FOV can also be changed by the use of console commands.
The TF2 Tactics video on FOV has more information about FOV in TF2 and in general.
fov_desired #[citation needed]
  1. Open the console using '~'.
  2. Enter fov_desired #, where # is your desired FOV.
viewmodel_fov[citation needed]
  1. Open the console using '~'.
  2. Enter viewmodel_fov #, where # is your desired FOV.
High fov trick on 16x9 monitors with 21x9 resolutions[citation needed]
It is possible to achieve a Actual HFOV:121.34 degrees with a 21x9 aspect ratio resolutions on 16x9, 16x10, 4x3, 5x4 monitors. By creating a custom resolution in CustomResolutionUtility. Note: TF2 doesn't respect custom resolutions, created in NVIDIA control panel. They must only be forced by putting a 21x9 resolution above the standard ones in CRU and switching to a 21x9 resolution before launching TF2. https://www.mouse-sensitivity.com/ https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU
Plugins[citation needed]
It is possible to increase the FOV limit up to 130 or even unplayable 179, using server-side plugins such as this one. However it is important to note that, while allowed by the ETF2L, and while client-side plugins are not classified as a cheats they are not officially supported by Valve. Some cheats include fov increase hacks, so use at your own risk.

Input settings

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

Template:Input settings

Controller support

See also: Xbox 360 controls on the Official Team Fortress Wiki.
Enabling Xbox 360 HUD[citation needed]
  1. Open the console (~).
  2. Input exec 360controller.

Notes

To reverse the change, input exec undo360controller.

Audio settings

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

Template:Audio settings

Localizations

Language UI Audio Sub Notes
English
Brazilian Portuguese
Bulgarian
Simplified Chinese
Traditional Chinese
Czech
Danish
Dutch
Finnish
French
German
Greek
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Romanian
Russian
Spanish
Swedish
Thai
Turkish
Ukrainian

Network

In-game general multiplayer settings.
In-game general multiplayer settings.
In-game advanced options/multiplayer settings.
In-game advanced options/multiplayer settings.
For more information, see the "Source Dedicated Server" section of our Source engine article.

Multiplayer types

Type Native Players Notes
LAN play
32 Co-op, Versus
Online play
32 Co-op, Versus

Connection types

Ports

Protocol Port(s) and/or port range(s)
TCP 27014-27050
UDP 3478-4380, 27000-27030
Universal Plug and Play (UPnP) support status is unknown.

VR support

3D modes State GG3D Notes
Nvidia 3D Vision
TriDef 3D
Headsets
SteamVR
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus VR (LibOVR)
Available under Video Settings. See Oculus Rift for more information.
Windows Mixed Reality
This game might be playable with the Revive Compatibility Layer.
Devices
Tracked motion controllers
Traditional controller
Keyboard/Mouse
Play area
Seated
Standing
Room-scale

Oculus Rift

By default VR mode will run full screen, to switch back to a borderless windowed set the vr_force_windowed convar.
Toggle world view models[citation needed]
  1. Open the console (~).
  2. Enter cl_first_person_uses_world_model 1 to enable or cl_first_person_uses_world_model 0 to disable.

Issues fixed

Generic fixes for issues

Console Commands[citation needed]
  1. Reload the HUD: In console, hud_reloadscheme
  2. Resync the game state with the server (start/stop an in-game demo): In console, record s;stop
  3. Reload sound resources: In console, snd_restart
  4. Re-connect to a server: In console, retry
  5. Re-show missing/hidden viewmodel: In console, r_drawviewmodel 1
Restart the game[citation needed]
Verify Your Game Cache[citation needed]
  1. Find Team Fortress 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Go to the Local Files tab
  5. Select Verify Integrity of Game Cache...
  6. This may take a while, just wait for it to finish
  7. Once it's done press OK
  8. Launch the game
Delete your Team Fortress 2 registry settings[citation needed]
  1. Delete the entire content of HKEY_CURRENT_USER\Software\Valve\Source\tf\Settings
Reinstall Steam[citation needed]
Fully re-install Team Fortress 2[citation needed]

Sprays are not visible

Sprays are not available on official Valve servers and can be disabled per server by the server admins.
Multiplayer Decal Limit[citation needed]
  • Try raising Multiplayer Decal Limit.

Purple and black broken textures

A generic fix for this issue can be found on our Source engine page.

Game Crashes at Valve Logo on Startup

Game Crashes at Valve Logo on Startup[citation needed]

More than likely, you are having DirectX issues. Try the following:

  1. Reinstall the latest DirectX
  2. Find Team Fortress 2 in your Steam Library
  3. Right-click the game name
  4. Press Properties
  5. Select Set Launch Options...
  6. Input -dxlevel 80. 80, 81, 90, 95, and 98 are all valid options, corresponding to Shader Models. Lower is more compatible but 80 may cause more frequent crashes.
  7. Try setting -nod3d9ex. This will disable some DirectX 9 extensions used in Windows Vista/7.

Game crashes after closing MotD

Game crashes after closing MotD[citation needed]

Some servers use Pinion advertisement, a buggy plugin that sometimes crashes TF2.

  1. Update Flash/Java plugins.
  2. Disable HTML motd (in advanced options, under performance options)
  3. Install a Pinion blocker by editing the hosts file.
  4. Try adding the following lines to your autoconfig.cfg or in the lauch options
  • sv_motd_unload_on_dismissal "1" // The MOTD contents will be unloaded when the player closes the MOTD.
  • alias closed_htmlpage ""; echo BLOCKED an attempted html wait timer"
  • cl_disablehtmlmotd 1

Note that some servers require you to watch the MotD for a minimum amount of time (e.g. 30 seconds)

Cosmetic items do not appear on a player

Bug is caused by the dynamic-model-loading system implemented in Team Fortress 2.
Touch a resupply cabinet[citation needed]

Getting disconnected while playing on a LAN with multiple players

This is caused by multiple players trying to connect to a server using the same client port.
Use unique client ports[citation needed]
  • Each player needs a different client port, by adding this to the launch options: +clientport N, where N is a number between 27005 and 27032, but not 27015 or 27020.

Game cache files are stuck validating

Game cache files are stuck validating[citation needed]
  1. Close Steam and delete ClientRegistry.blob in the Steam folder:[7]
  • Windows: C:\Program Files (x86)\Steam\
  • OS X: ~/Library/Application Support/Steam/

Low FPS fix

Ubuntu (12.10 to 17.04) or any distro with Unity desktop
Fix low FPS on Ubuntu (12.10 to 17.04) or any distro with Unity desktop[citation needed]

Once the game has loaded and the FPS have dropped below playable:

  1. Press Esc. to return to the game menu.
  2. Go to Options -> Video
  3. Switch Display Mode from Fullscreen -> Windowed

From here on, the game should increase dramatically in performance.

  1. Optional: Switch back from Windowed -> Fullscreen
Linux with Cinnamon Desktop
Fix low FPS on Linux with Cinnamon Desktop[citation needed]

To increase performance:

  1. Press the Windows (Super) Key to open the mint menu
  2. Go to System Settings -> Display
  3. Enable "Skip Compositing Manager", then close the window.
  4. Launch the game
  5. Switch Display Mode from Windowed -> Fullscreen

Cinnamon, by default, skips the compositing rendering manager if an application runs fullscreen, which in turn, disables Vsync. Enabling the compositing manager turns ON Vsync and (depending on the system) slows the game down.

  1. Optional: Switch back from Windowed -> Fullscreen
Anti-Virus Exception
Add an anti-virus exception[8][9]

Anti-virus software can interfere with a file in TF2's folder, which gets updated constantly during gameplay.

  1. Open anti-virus program.
  2. Select settings > exceptions/exclusions.
  3. Add the following folders to the scan exceptions:
C:\Program Files (x86)\Steam\appcache\stats\
C:\Program Files (x86)\Steam\SteamApps\common\
C:\Program Files\Steam\appcache\stats\
C:\Program Files\Steam\SteamApps\common\

No Sound In Linux

No sound in Linux[citation needed]
  • Ensure that the PulseAudio is installed and it's daemon is enabled. If not, you can command the game to use ALSA instead by adding SDL_AUDIODRIVER=alsa to the Launch Options as a 1st thing to do.
  • If that does not work, specify AUDIODEV instead, use aplay -1 command to list available sound cards.

Loading Screen Freezes in Linux

Loading Screen Freezes in Linux[citation needed]
This happens mostly if you are on a non-english user in ArchLinux, but that may happen on other distros as well.
  1. Find and edit locale.gen file and remove the commentary (# symbol) from en_US.UTF-8
  2. Generate the locale with locale-gen command as root.

Textures load slowly on Linux

Textures load slowly on Linux[citation needed]
Happens only when you are using any configuration file responsible for improving the framerate such as Chris' FPS Config.

Set mat_picmip 2 to mat_picmip -1 in the configuration file.

Game does not start on ArchLinux

Game does not start on ArchLinux[citation needed]

Ensure that the lib32-libpng12 has been installed.

FL_LoadGlyph error in Linux

Caused by any user who inputs a Unicode symbol in chat
Make the game use Unicode supported font by default[citation needed]
  1. Open sourceschemes.res and change ConsoleText into Unifont
  2. Open chatschemes.res and change the fonts into a Unicode supported one such as Arial, Ubuntu etc.
  3. Remove/Purge the fonts-wqy-zenhei package
You must install Unicode supported fonts.
You have to perform this method in every update for the game.

Other information

API

Technical specs Supported Notes
Direct3D 9 8, 8.1 are supported, but not in competitive mode.
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
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

Middleware

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System, OpenAL, SDL SDL and OpenAL are used in Linux.
Interface SDL
Cutscenes Bink Video
Multiplayer Steamworks

Total Conversions

Name System Description
TF2 1.0.1.8 Source 2013 Windows, Mac OS X, Linux Based on the February 2008 build of the game which does not contain any additional weapons, cosmetic items or even recent game modes, it is ported into Source 2013 engine which fixes a lot of security exploits. This is currently the most original form of the game. Requires Source SDK 2013 Multiplayer.
TF2 Classic Windows, Mac OS X, Linux Based on the February 2008 build, it is a community-maintained mod which supposedly brings some features from TFC such as 4 team mode, VIP escort etc. Right now it provides community-made balances and unique weapons, new game modes like the Deathmatch mode with Mercenary class only, graphical improvements such as dynamic lighting for some particle effects and new features that are completely absent in the original game. The update cycle is very slow, but brings in many new changes that keeps it very fresh. It cant be downloaded until the release of a new version. Requires Source SDK 2013 Multiplayer and Team Fortress 2.
TF2 Vintage Windows, Mac OS X, Linux A fork of TF2 Classic. It aims to bring back the game to the pre-Mannconomy Update which happened in October 2010. Primarily focused on gameplay and quality updates. Requires Source SDK 2013 Multiplayer and Team Fortress 2.
Lambda Fortress: Extended Windows, Mac OS X, Linux Based on Team Fortress 2 Classic Beta 4. It is a community mod, which adds Half-Life: Source and Half-Life 2 campaign with co-op features. Requires Source SDK 2013 Multiplayer and Team Fortress 2.
Open Fortress Windows, Linux Based on the February 2008 build, it is a open-source mod, which adds lots of custom content such as new gamemodes and maps, Mercenary and Civilian classes. It is in development now, but can be downloaded using SVN (TortoiseSVN for Windows or various SVN clients for Linux). Requires Source SDK 2013 Multiplayer and Team Fortress 2.

Console commands

"List of useful console commands" - Official TF2 Wiki
Games running on the source engine can utilize Source Engine Console Commands for various tasks.
These commands can be saved into <path-to-game>\tf\cfg\autoexec.cfg to be executed when the game launches.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply

Notes

Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Many servers will not allow you to play with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Command line arguments

View this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.
You can launch Team Fortress 2 with launch parameters - these parameters can dictate how certain aspects of the game behave.

System requirements

Windows version requires a CPU supporting SSE instructions.
Windows
Minimum Recommended
Operating system (OS) 7
Processor (CPU) Intel Dual Core 2.8 GHz
AMD Dual Core 2.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 15 GB
Video card (GPU) Nvidia GeForce 8xxx series
ATI Radeon X1600
Intel graphics HD 3000
DirectX 8.1 compatible
DirectX 9 is required for Competitive Mode.[10]
Windows XP and Vista were previously supported, but as future updates for this game and Steam occurred; the support was dropped, even with retail copies.
macOS (OS X)
Minimum
Operating system (OS) 10.5.8
Processor (CPU) 1.7 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 15 GB
Video card (GPU) Nvidia GeForce 8xxx series
ATI Radeon X1600
Intel graphics HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Intel Dual Core 2.8 GHz
AMD Dual Core 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 15 GB
Video card (GPU) Nvidia GeForce 8600/9600 GT
ATI/AMD Radeon HD 2600/3600
OpenGL 2.1 compatible
Sound (audio device) OpenAL Compatible Sound Card
Other (Graphic Drivers: Nvidia 310, AMD 12.11)
OpenGL versions require the GL_EXT_draw_buffers2 extension[11]. A hacky workaround exists.

References

  1. Introducing PASS Time, a New Beta Game Mode! - TF2 Team - last accessed on 2016-5-22
  2. Updates - Team Fortress homepage
  3. Team Fortress 2 · AppID: 440 · Steam Database
  4. Team Fortress 2: Free-to-Play FAQ - last accessed on 2016-5-22
    "If you've ever spent money on TF2, you have a premium account. This includes purchasing the game before it was Free-to-Play, activating a retail version of the game, or making a purchase in the Mann Co. in-game store."
  5. Skipping the Valve-intro :: Team Fortress 2 Steam Community Guide - last accessed on 14-03-2018
  6. [1]
  7. https://support.steampowered.com/kb_article.php?ref=7241-EYON-2343
  8. Source thread on the Steam forums from 2009 (retrieved)
  9. Thread on the ETF2L forums
  10. Team Fortress 2 - Competitive FAQ - last accessed on July 8, 2016
  11. Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! · ValveSoftware/steam-for-linux