kvog.sh Notes Code About

Team Fortress 2 modding

SDK Development

Note: This is mostly speculation. Valve is very hush-hush about their development practices.

The public release of the SDK is not identical to live TF2. For example, NotificationQueue_Add is disabled in the public SDK but not in live TF2.

Valve uses Perforce P4 for version control, so all syncs between the public SDK and live TF2 are likely done by hand. Because of this, large PRs that span multiple files are usually not accepted.

GitHub pull requests are merged from time to time by EricS-Valve; often late in the day.

Building the SDK

Build instructions can be found in the SDK README.

VPC targets Visual Studio 2022 (v143 toolset). VS 2026 can be used if you install the VS 2022 toolchain:

@REM run in admin command prompt
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" modify    ^
    --installPath "C:\Program Files\Microsoft Visual Studio\18\Community"   ^
    --add Microsoft.VisualStudio.Component.VC.14.44.17.14.x86.x64           ^
    --add Microsoft.VisualStudio.Component.VC.14.44.17.14.MFC --passive --norestart

Running the SDK

VPC does not generate the correct debug options for Visual Studio. Use the following:

Debug builds are currently broken. There is a workaround available but not merged: #1303.