Source code for Source SDK 2013.
Contains the game code for Half-Life 2, HL2: DM and TF2.
Now including Team Fortress 2! ✨
Clone the repository using the following command:
git clone https://github.com/ValveSoftware/source-sdk-2013
Requirements:
- Source SDK 2013 Multiplayer installed via Steam
- Visual Studio 2022 (Community, Professional, or Enterprise edition)
From the root of the cloned directory, run:
build.cmdAfter the build completes:
- Copy all contents from the
gamefolder toC:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Multiplayer - Launch the mod using the
mod_tf.cmdfile in that directory
Requirements:
- Source SDK 2013 Multiplayer installed via Steam
- podman
Inside the cloned directory, navigate to src, run:
./buildallprojectsThis 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_tfMods that are distributed on Steam MUST be built against the Steam Runtime, which the above steps will automatically do for you.
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
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.