Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

source-sdk-2013

> 编程语言
Open source

The 2013 edition of the Source SDK

9.9K stars0 likes1 views
WebsiteGitHub

About

The 2013 edition of the Source SDK

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 with the following workload and components:
    • Desktop development with C++:
      • MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
      • Windows 11 SDK (10.0.22621.0) or Windows 10 SDK (10.0.19041.1)
  • Python 3.13 or later

Inside the cloned directory, navigate to src, run:

bat
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:

bash
./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:

bash
./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

  • Valve Developer Wiki

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.

Issues· 1113 open

View all issuesOpen on GitHub
  • #268

    VR Supoprt / HUD Broken again?

    Updated Sep 27, 2026
  • #1722

    Source 2013 Singleplayer Crashes Immediately When Launched [Linux]

    Updated Sep 24, 2026
  • #2098

    C_HL2MP_Player client side ragdoll should inherit the owner's position and animation exactly when created client side.

    Updated Sep 22, 2026
  • #2092

    Just change the AppID in the sample gameinfos to HL2DM.

    Updated Sep 19, 2026
  • #1903

    VBSP generates wrong collision for some brushes

    Updated Sep 6, 2026
  • #633

    Possibility of Portal 1 Code Inclusion

    Updated Sep 5, 2026
  • #2042

    Bug Report: Valve Update Breaks Steam Game Server Visibility on Linux/ARM Emulation

    Updated Aug 30, 2026
  • #1998

    Is source sdk updated to work with 20th anniversary?

    Updated Aug 29, 2026
  • #1974

    Model scaling turns quadratic for one-bone models compiled without $staticprop

    Updated Aug 25, 2026
  • #1135

    [TF2 SDK] Game crashes after damaging Robot Destruction robots

    Updated Aug 22, 2026

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言