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 2"

From PCGamingWiki, the wiki about fixing PC games
Line 205: Line 205:
 
=== Generic fix for issues ===
 
=== Generic fix for issues ===
 
<!-- If you know of any additional steps that could be taken, please feel free to add them. -->
 
<!-- If you know of any additional steps that could be taken, please feel free to add them. -->
A generic way of solving the majority of Team Fortress 2 related problems is as below, proceed down the list if the previous list item fails; or search for your exact problem and find an exact solution.
+
{{Fixbox|1=
#If you're currently experiencing the problem in-game, try these console commands
+
{{Fixbox/fix|Console Commands}}
#* Reload the hud: In console, <code>hud_reloadscheme</code>
+
# Reload the hud: In console, <code>hud_reloadscheme</code>
#*Resync the game state with the server (start/stop an in-game demo): In console, <code>record something;stop</code>
+
# Resync the game state with the server (start/stop an in-game demo): In console, <code>record something;stop</code>
#*Reload sound resources: In console, <code>snd_restart</code>
+
# Reload sound resources: In console, <code>snd_restart</code>
#*Re-connect to a server: In console, <code>retry</code>
+
# Re-connect to a server: In console, <code>retry</code>
#Restart the game
+
{{Fixbox/fix|Restart the game}}
#Validate the game files
+
{{Fixbox/fix|Verify Your Game Cache}}
#*Right click ''Team Fortress 2'' in Steam and select ''Properties''.  Navigate into the ''Local Files'' tab and select ''Verify integrity of game cache''. Steam will then (re)download any missing or corrupt files.
+
# Find Team Fortress 2 in your Steam Library
#Delete your Team Fortress 2 user folder
+
# Right-click the game name
#*TF2's main game files are stored in <code>C:\Program Files (x86)\Steam\steamapps\</code>
+
# Select <code>Properties</code>
#:* multiplayer ob binaries.gcf
+
# Navigate to the <code>Local Files</code> tab
#:* orangebox media.gcf
+
# Select <code>Verify Integrity of Game Cache...</code>
#:* source 2007 binaries 2.gcf
+
# This may take a while, just wait for it to finish
#:* source 2007 binaries.gcf
+
# Once it's done press <code>OK</code>
#:* source 2007 shared materials.gcf
+
# Launch the game
#:* source 2007 shared models.gcf
+
{{Fixbox/fix|Delete your Team Fortress 2 user folder}}
#:* source 2007 shared sounds.gcf
+
# TF2's main game files are stored in <code>C:\Program Files (x86)\Steam\steamapps\</code>
#:* source engine.gcf
+
:: multiplayer ob binaries.gcf
#:* source materials.gcf
+
:: orangebox media.gcf
#:* source models.gcf
+
:: source 2007 binaries 2.gcf
#:* source sounds.gcf
+
:: source 2007 binaries.gcf
#:* team fortress 2 client content.gcf
+
:: source 2007 shared materials.gcf
#:* team fortress 2 content.gcf
+
:: source 2007 shared models.gcf
#:* team fortress 2 materials.gcf
+
:: source 2007 shared sounds.gcf
::The items under your steamid are just game cache and are automatically created when you start Team Fortress 2.
+
:: source engine.gcf
::So you won't need to re-download ~10GB. Delete or rename (to keep a backup) your ''Team Fortress 2'' folder. The folder will be automatically re-created the next time you launch Team Fortress 2.
+
:: source materials.gcf
# Delete your Team Fortress 2 registry settings
+
:: source models.gcf
# *Delete the entire content of <code>HKEY_CURRENT_USER\Software\Valve\Source\tf\Settings</code> in the Windows registry using ''RegEdit''.
+
:: source sounds.gcf
# Re-install Steam
+
:: team fortress 2 client content.gcf
# *Delete (or move/back up) all of your steam directories content '''excluding''' the ''steamapps'' folder and ''steam.exe''.  Launch ''steam.exe'' and all the relevant Steam files will be re-downloaded.
+
:: team fortress 2 content.gcf
# Contact Steam Support
+
:: team fortress 2 materials.gcf
# *Open a new support ticket [https://support.steampowered.com/newticket.php here], and document your problem and your attempted solutions in as much detail as possible.  Steam Support can be slow to respond to tickets, and by providing as much information as you can you negate the need for Support to contact you for more information (and thereby take longer to help solve the problem).
+
{{ii}} The items under your steamid are just game cache and are automatically created when you start Team Fortress 2.
# Fully re-install Team Fortress 2
+
{{ii}} So you won't need to re-download ~10GB. Delete or rename (to keep a backup) your ''Team Fortress 2'' folder. The folder will be automatically re-created the next time you launch Team Fortress 2.
# *This is pretty extreme, and it is therefore recommended you try and find a case of your problem happening to somebody else and see how they solved it.  You will usually never need to do this, unless Steam Support themselves are unable to help with your case.
+
{{Fixbox/fix|Delete your Team Fortress 2 registry settings}}
 +
# Delete the entire content of <code>HKEY_CURRENT_USER\Software\Valve\Source\tf\Settings</code> in the Windows registry using ''RegEdit''.
 +
{{Fixbox/fix|Reinstall Steam}}
 +
{{Fixbox/fix|Contact Steam Support}}
 +
# Open a new support ticket [https://support.steampowered.com/newticket.php here], and document your problem and your attempted solutions in as much detail as possible.  Steam Support can be slow to respond to tickets, and by providing as much information as you can you negate the need for Support to contact you for more information (and thereby take longer to help solve the problem).
 +
{{Fixbox/fix|Fully re-install Team Fortress 2}}
 +
}}
  
 
=== Game Crashes at Valve Logo on Startup ===
 
=== Game Crashes at Valve Logo on Startup ===

Revision as of 19:41, 25 July 2013

This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.

Template:Infobox

Team Fortress
Team Fortress (mod) 1996
Team Fortress Classic 1999
Fortress Forever (unofficial mod) 2007
Team Fortress 2 2007

Key points

Runs on low-end hardware.[1]
Receives frequent updates.[2]

General information

Official Team Fortress 2 Blog - Written by Valve
Official Team Fortress Wiki - Run by the Team Fortress 2 community and hosted by Valve
GitHub Issue Tracker for Team Fortress 2 and other Source-based games
Steam Users' Forums
Steam Community Discussions
Steam Workshop for Team Fortress 2
Team Fortress 2 Subreddit

Availability

Template:Availability Table

All versions require Steam, including retail.

Improvements

Skip intro videos

Instructions

Console commands

See also: List of useful console commands on the Offical TF2 Wiki
Games running on the source engine can utilize Source Engine Console Commands for various tasks. These commands can be saved into C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\cfg\autoexec.cfg to be executed when the game launches.

Launch parameters

See also: Command-line parameters on the Valve Developer Community
You can launch Team Fortress 2 with launch parameters - these parameters dictating how certain aspects of the game behaves (outside of gameplay).
Instructions

Game data

Template:Game Location Table

Achievements are stored within the Steam Community, and are thus tied to specific Steam accounts.
The .local file in Linux is likely hidden. In Ubuntu go to your Home folder and press Ctrl+H to toggle hidden files.

Save game cloud syncing

Template:Save Game Cloud Syncing

Team Fortress 2 uses the Steam Cloud to store settings, users' in-game sprays and Steam Workshop submissions.

Video settings

Template:Video Settings

Multi-monitor

See this Widescreen Gaming Forum article for a limited case script when using multiple monitors.

Field of view (FOV)

An FOV slider is available within the options which is limited to a value between 75 and 90. This sets the FOV for a 4:3 monitor. The actual FOV will be adjusted for other aspect ratios, meaning widescreens gain a higher than configured FOV.
The TF2 Tactics video on FOV has more information about FOV in TF2 and in general.
Instructions

Borderless fullscreen windowed

Instructions

Oculus Rift

Instructions

Input settings

Template:Input Settings

Controller support

See also: Xbox 360 controls on the Official Team Fortress Wiki.
Instructions

Audio settings

Template:Audio settings

Issues and fixes

Generic fix for issues

Instructions

Game Crashes at Valve Logo on Startup

Instructions

Cosmetic items do not appear on a player

This is a bug caused by the dynamic-model-loading system implemented in Team Fortress 2. Once a player touches a resupply cabinet the cosmetic items should appear.

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. To fix, 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

Close Steam and delete ClientRegistry.blob in the Steam directory:[3]

  • Windows:
    32 Bit: C:\Program Files\Steam\
    64 Bit: C:\Program Files (x86)\Steam\
  • OS X: /Users/Username/Library/Application Support/Steam/

Low FPS fix

Linux (Ubuntu 12.10)

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
Anti-Virus Exception

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 folder to the scan exceptions: C:\Program Files (x86)\Steam\appcache\stats\
Disabling Aero

Alternatively if you are using -noborder -window or just windowed mode:

Windows 7/Vista:

  1. Go to C:\Program Files (x86)\Steam\steamapps\*Your Steam Username*\team fortress 2
  2. Right click on hl2.exe.
  3. Go to the compatibility tab.
  4. Select Disable Visual Themes and Disable Desktop Composition

This will disable Windows Aero when playing TF2 in noborder mode, the same way it would disable it if you were playing in proper fullscreen, this can gain you some FPS.

Issues and fixes (Linux)

Performance

Disable desktop composition while playing a full screen game Linux Install the latest graphics drivers Linux

No audio

It might happen if there is no PulseAudio in your system. If you want to use Alsa, you need to launch the Steam or game directly with "SDL_AUDIODRIVER=alsa". (From SteamCommunity).

Black screen on launch

There are various possible reasons Team Fortress 2 is booting into a black screen on Linux.[4]. Most of the following steps require you to exit out of Steam beforehand.

Instructions
If none of these work, it may be that your graphics card is unsupported. Various AMD and Intel chips will not working with Team Fortress 2 on Linux despite working on Windows.

System requirements

Template:System Requirements

Template:System Requirements

Template:System Requirements

Useful Links

  • FPS problems article on Whisper's Wiki - a very detailed guide on how to tweak the Source engine and Steam platform, on which TF2 runs.
  • Chris' FPS Configs for TF2 - Different configuration files to automatically set all settings to their absolute lowest or highest. It is recommended to troubleshoot before resorting to these as they can cause problems.
  • TF2Mate - a TF2 configuration generator with support for various FPS configs, configurable key bindings, and other miscellaneous settings.


References