SDK Installation

From Valve Developer Community
Revision as of 19:01, 26 June 2013 by Powerlord (talk | contribs) (Added note about set_sdk_env)
Jump to: navigation, search
Čeština Deutsch Español Français Italiano Русский Türkçe 简体中文 简体中文 한국어 ქართული ენა

The Source SDK is freely available to all Steam users. It is used to develop mods and content for the Source 2006, Source 2007 and Source 2009 engine branches.

More recent Valve games each have their own SDK or Authoring Tools:

("Authoring Tools" means that source code is not provided.)

Authoring tools currently shipped as beta with their respective games

We're in the process of changing how the authoring tools are distributed for the following games:

  • Team Fortress 2
  • Counter-strike: Source
  • Day of Defeat: Source
  • Half-Life: Deathmatch

Previously these tools were distributed together in a single package (the "Source SDK" application), which resided in a totally different folder from the games. We're moving towards a model more similar to L4D and CS:GO. The SDK tools are currently shipped with the game by default, so all you need to do to get the tools is launch the game to sync it to the latest build.

Now look in the bin folder. (E.g: [steam]/steamapps/common/Team Fortress 2/bin) You should see several new batch files in the bin folder, which can be used to setup the proper environment and launch the tools:

  • hammer.bat
  • faceposer.bat
  • hlmv.bat
  • stdudiomdl.bat
  • vtex.bat

Use these batch files to launch the tools. The SDK launcher is no longer used.

If you have issues getting these to launch, running set_sdk_env.bat first may fix the problem.

Installation of source code and launcher

The following instructions are appropriate if you need to download Source code. If you only need the authoring tools, they probably do not apply to you.

Click here to install the Source SDK. For future reference, or if that doesn't work:

  1. Open the Steam window.
  2. Go to the Library.
  3. Change the list to Tools.
  4. Find and double-click on the Source SDK item.
  5. Read over the dialog box and click Download and Install / Next to continue
  6. The Source SDK will then be downloaded to your computer via Steam.


Once Steam has finished downloading you can launch the SDK from the Tools tab. You can also create a desktop shortcut by right-clicking on the SDK in the Tools tab and clicking Create desktop shortcut from the context menu that appears.

When you first run the SDK it will spend a long time extracting its downloaded archive to loose files on your disk. This will not happen again until the SDK is next updated.

After that, you will be able to select a game and run any of the tools provided by the launcher. However, you will run into problems unless the game you want to work with is fully up to date. You can make sure it is by launching the game and quitting once you get to the main menu.

Where do I go from here?

If you want to learn about how to create content for the Source Engine in general, the main page of the Source SDK documentation is a good place to start.

Bugs and Issues

See also