The 2013 edition of the Source SDK
Find a file
2025-02-18 18:51:37 +00:00
game Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
src Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
.gitattributes Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
.gitignore Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
CONTRIBUTING Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
LICENSE Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
README.md Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00
thirdpartylegalnotices.txt Add Team Fortress 2 SDK 2025-02-18 18:51:37 +00:00

Source SDK 2013

Source code for Source SDK 2013.

Contains the game code for Half-Life 2, HL2: DM and TF2.

Now including Team Fortress 2!

Build instructions

Clone the repository using the following command:

git clone https://github.com/ValveSoftware/source-sdk-2013

Windows

Requirements:

  • Source SDK 2013 Multiplayer installed via Steam
  • Visual Studio 2022

Inside the cloned directory, navigate to src, run:

createallprojects.bat

This will generate the Visual Studio project everything.sln which will be used to build your mod.

Then, on the menu bar, go to Build > Build Solution, and wait for everything to build.

You can then select the Client (Mod Name) project you wish to run, right click and select Set as Startup Project and hit the big green > Local Windows Debugger button on the tool bar in order to launch your mod.

The default launch options should be already filled in for the Release configuration.

Linux

Requirements:

  • Source SDK 2013 Multiplayer installed via Steam
  • podman

Inside the cloned directory, navigate to src, run:

./buildallprojects

This will build all the projects related to the SDK and your mods automatically against the Steam Runtime.

You can then, in the root of the cloned directory, you can navigate to game and run your mod by launching the build launcher for your mod project, eg:

./mod_tf

Mods that are distributed on Steam MUST be built against the Steam Runtime, which the above steps will automatically do for you.

Distributing your Mod

There is guidance on distributing your mod both on and off Steam available at the following link:

https://partner.steamgames.com/doc/sdk/uploading/distributing_source_engine

Additional Resources

License

The SDK is licensed to users on a non-commercial basis under the SOURCE 1 SDK LICENSE, which is contained in the LICENSE file in the root of the repository.

For more information, see Distributing your Mod.