Team Fortress 2, but with a lot of fixes, quality of life improvements and performance optimizations!
What is Team Comtress 2? It's a version of Team Fortress 2, based on the recent leak which aims to fix many bugs, performance issues, etc. Imagine it like mastercomfig super charged!
Obviously, as a leaked build, it's not useful for getting better performance in Casual on its own (you can't use this build to connect to any existing servers), but it can help me a lot if you all can test it, so that I am more confident in sending many of these changes to Valve for them to include in the base game! Please let me know how it works for you!
- Download
game_clean.zip
from the latest release. - Copy your current
Team Fortress 2
installation to a new folder. - Extract the ZIP download to this new folder.
- Make sure you don't have any configs installed.
- Double click
start_tf2.bat
. Note that you must have Steam running. - Enjoy!
Note: TC2 bundles the stock HUD with CriticalFlaw's HUD fix in the custom folder
Although configs are not recommended (use video options to customize), there are some new customization variables you can try that haven't been added yet!
Console commands/variables:
tf_taunt_first_person_enable
: Forces first person tauntstf_viewmodels_offset_override
: Unlocked from base TF2, format is x y ztf_disable_weapon_skins
: Disables skinstf_skip_halloween_bomb_hat_translucency
: Halloween bomb hat will disappear if spy cloaks, instead of turning translucent along with cloakr_skybox_lowend
: Use low quality skybox textures only meant for DX8tf_hud_target_id_disable
: Disable searching for a player to show the target ID fortf_viewmodel_alpha
: Controls how translucent viewmodels are (1-255)dsp_off
: Unlocked from base TF2, disables sound positional effectscl_ragdoll_disable
: Disables all corpse effects (gibs, disintegration, ragdolls)tf_fx_blood
: Controls blood splatter effectsfx_drawimpactdebris
,fx_drawimpactdust
,fx_drawmetalspark
: Unlocked from base TF2, controls bullet impact dustcl_hud_playerclass_playermodel_lod
: Controls LOD for the player model preview in the HUDg_ragdoll_fadespeed
,g_ragdoll_lvfadespeed
: Controls how fast ragdolls fade (lv is for low violence mode)cl_particle_retire_cost
: Unlocked from base TF2, set to0.0001
to force lower quality particlesr_force_fastpath 1
: Forces shader fast paths for higher GPU performance.tf_weaponspread_continuous_seed
: If set to >-1, the base seed for fixed recoil spread for continuo us single bullet fire weapons.tf_weaponspread_continuous_seed_multishot
: If set to >-1, the base seed for fixed recoil spread for continuous multi-bullet fire weapons like the Minigun.
Launch options:
-particle_fallback
: 2 uses DX8 particles, 1 uses lowend DX9 particles, 0 uses default.
DISCLAIMER: If you are not a developer, building the game from source is not what you want. Use the pre-built Releases. Also, building this on Mac/Linux, while possible, is not covered here. Please let us know if you get it to work!
- Get Visual Studio 2019 Community Edition for building TF2. The required installation components are: "Desktop development with C++" and the "C++ MFC for latest v142 build tools (x86 & x64)".
- Clone this repo.
- Run the download libs script.
- Open
/thirdparty/protobuf-2.5.0/vsprojects/libprotobuf.vcxproj
- Run both the Debug and the Release builds
- Run
regedit
and add an association for the latest VS (add a key atHKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}
, add aString
property namedDefaultProjectExtension
, set the value tovcproj
) - Set the environment variable
VALVE_NO_AUTO_P4
totrue
andPreferredToolArchitecture
tox64
. - Run
/creategameprojects_dev.bat
- Open
/games.sln
- Build the VS project
- The executables are placed at
../game/hl2.exe
for the client and at../game/srcds.exe
for the server. Note: this path is outside the repository.
- For the compiled binaries to run, you will need to copy your current TF2 installation to
../game
(relative to your repostiory, outside of it). - To setup debugging, in Visual Studio, select
Client (TF)
as the startup project, then go to itsProperties->Configuration Properties->Debugging
. SetCommand
to your../game/hl2.exe
binary, theCommand Arguments
to-steam -game tf -insecure -novid -nojoy -nosteamcontroller -nohltv -particles 1 -noborder -particle_fallback 2 -dev -allowdebug
andWorking Directory
to your game installation folder i.e.../game/bin
. Note: all the paths here are relative to your copy of the repository (same place wheregames.sln
is located), do not set these values verbatim. - For server, follow the same procedures but choose the
Server (TF)
project and set theCommand
to../game/srcds.exe
. The suggested server launch options are-game tf -console -nomaster -insecure +sv_pure 0 +maxplayers 32 +sv_lan 1 -dev -allowdebug
.
NOTE: Team Comtress 2 is no longer compatible with mastercomfig. Please do not use mastercomfig or any other TF2 config.
See the Valve dev wiki page for another explanation of the last two steps.
Other launch options to consider:
sw
to force windowed mode-w WIDTH -h HEIGHT
to set the resolution+map MAPNAME
to automatically launch a map on startup
Valve, the Valve logo, Steam, the Steam logo, Team Fortress, the Team Fortress logo, Source, the Source logo are trademarks and/or registered trademarks of Valve Corporation in the U.S. and/or other countries.
Team Comtress 2 is not sponsored, endorsed, licensed by, or affiliated with Valve Corporation.
See license for details.