User:Lost Saga TW
Lost Saga TW Level Developer Template:Otherlang2 Welcome to the Valve Developer Community. Whether you're building a "Triple-A" commercial project or a mod for Half-Life® 2, you'll want to sign up as a Valve developer today. It's free to join, and open to anyone working with the Source Engine and the Source SDK.
Sign up to become part of the community!
Source and the Source SDK
![]() ![]() ![]() Basic settingsNameKeys that affect the menu and window title.
OptionsKeys that affect what tabs and options that show up in the Options panel. Also see Customizing Options: Keyboard.
Steam games listKeys that affect how your game or mod shows up in the Steam Library page.
Engine and toolsKeys that affect how the engine/tools runs and some options for the tools themselves.
FileSystemKeys that are within the subkey
![]() ![]()
![]() SearchPath to it. Remember to delete the SearchPath before you release. [todo tested in ?]
SearchPaths
![]() DirectoriesThe directory, which is the value of the key, will either be relative to the Game |All_Source_Engine_Paths|HL2 // Go to the executable directory, and mount a folder called HL2 in it. Game |GameInfo_Path|. // Go to the directory of where GameInfo.txt is located, and mount the folder it's in. Game "C:\MyFolderOfContent\content" // Mount this absolute directory, useful for mounting content temporarily. ![]() .vpk extension. If the VPK is a multi-chunck VPK, then put the name of the VPK in without the "_dir" or "_###" at the end.The 2 variables above will start the search in a certain directory,
// Start in the executable directory, then go back one folder so we're in Common, and then go into Portal/portal and mount portal_pak.vpk Game |All_Source_Engine_Paths|../Portal/portal/portal_pak.vpk
// Start in the executable directory, then go back two folders so we're in SteamApps, and then go into SourceMods and mount the MySourceMod folder. Game |All_Source_Engine_Paths|../../SourceMods/MySourceMod
// Mount both |All_Source_Engine_Paths| and |GameInfo_Path| variables' path. Game |All_Source_Engine_Paths|. Game |GameInfo_Path|.
// Mount the custom folder's sub-folders and VPKs. Game |GameInfo_Path|custom/* KeysIn most older Source games, the only keys for search pathing is ![]() The current keys known so far are:
Game |GameInfo_Path|MyFolder Mod |GameInfo_Path|MyFolder It can instead be shortened like this: Game+Mod |GameInfo_Path|MyFolder This saves you time from having to retype the directory over again. Automatic localizationSource automatically creates localized search paths. If you mount the folderHL2 , then when your mod runs in French HL2_French is automatically mounted just above it, overriding any content in HL2 . Todo: Does this also apply for the mod folder?
ExampleA full working GameInfo.txt ready for a Source 2013 Singleplayer mod. GameInfo
{
Game "My Mod Name"
GameLogo 0
Nodegraph 1
Title "My Mod Title"
Developer "My Name"
Developer_URL "https://developer.valvesoftware.com/wiki/Main_Page"
Type Singleplayer_Only
SupportsDX8 0
SupportsVR 0
SupportsXbox360 0
GameData HalfLife2.fgd
FileSystem
{
SteamAppId 243730
SearchPaths
{
GameBin |All_Source_Engine_Paths|SourceTest/Bin // Using the SourceTest DLLs.
// Source 2013 Singleplayer comes with Episode 2, Episode 1, and Lost Coast content. So let's mount it.
Game |All_Source_Engine_Paths|EP2/EP2_Pak.vpk // EP2 content has the highiest priority.
Game |All_Source_Engine_Paths|Episodic/EP1_Pak.vpk
Game |All_Source_Engine_Paths|SourceTest/SourceTest_Pak.vpk // Lost Coast
// Source 2013 Multiplayer comes with HL2 Deathmatch, and Lost Coast content, so let's mount the HL2 Deathmatch content too.
Game "|All_Source_Engine_Paths|../Source SDK Base 2013 Multiplayer/HL2MP/HL2MP_Pak.vpk" // Has to be in quotes because of spaces.
Game |All_Source_Engine_Paths|HL2/HL2_Misc.vpk
Game |All_Source_Engine_Paths|HL2/HL2_Sound_Misc.vpk
Game |All_Source_Engine_Paths|HL2/HL2_Sound_VO_English.vpk // Optional, just dialog.
Game |All_Source_Engine_Paths|HL2/HL2_Textures.vpk
Game+Game_Write+Mod+Mod_Write+Default_Write_Path |GameInfo_Path|.
// These search for loose files in the folders, incase we missed anything.
Game |All_Source_Engine_Paths|EP2
Game |All_Source_Engine_Paths|Episodic
Game |All_Source_Engine_Paths|SourceTest
Game |All_Source_Engine_Paths|HL2
Platform |All_Source_Engine_Paths|Platform
Platform |All_Source_Engine_Paths|Platform/Platform_Misc.vpk
}
}
}
{{otherlang2
| az = SDK Installation:az
| de = SDK Installation:de
| cs = SDK Installation:cs
| es = SDK Installation:es
| fr = SDK Installation:fr
| it = SDK Installation:it
| ru = SDK Installation:ru
| tr = SDK Installation:tr
| ka = SDK_Installation:ka
| zh-cn = SDK Installation:zh-cn
| zh-tw = SDK Installation:zh-tw
| ko = SDK Installation:ko
}} {{toc-right}}
'''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 2013]] engine branches.
Valve games since 2008 onward started to have their own SDK or Authoring Tools, and are engine versions that have no source code available to the public:
* {{Game link|Left 4 Dead Authoring Tools}}
* {{Game link|Left 4 Dead 2 Authoring Tools}}
* {{Game link|Alien Swarm SDK}} (free to all)
* {{Game link|Portal 2 Authoring Tools}}
* {{Game link|Counter-Strike: Global Offensive Authoring Tools}}
== SteamPipe migration and abandonment of the Source SDK app ==
Valve in 2013 changed how authoring tools were distributed for [[Team Fortress 2]], [[Counter-Strike Source]], [[Day of Defeat: Source]], and
[[Half-Life 2: Deathmatch]].
Previously these tools were distributed together under the "Source SDK" tool, which resided in a totally different folder from the games. Valve moved towards a model more similar to L4D and CS:GO. The SDK tools are currently shipped with the game by default. Note that the tools are only available for Windows.
The tools are located in the respective bin folder for the game (e.g: <code>[steam]/steamapps/common/Team Fortress 2/bin</code>) and are meant to be launched from the following batch files:
* hammer.bat
* faceposer.bat
* hlmv.bat
* stdudiomdl.bat
* vtex.bat
{{note|If the tools do not launch, check the environment variables on your computer and change VProject to the directory where gameinfo.txt resides}}
== 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.
=== Source 2013 ===
See: [[Source SDK 2013]].
=== Legacy branches ===
{{Steam App Install|id=211|name=Source SDK}} For future reference, or if that doesn't work:
# Open the Steam window.
# Go to the '''Library'''.
# Change the list to '''Tools'''.
# Find and double-click on the '''Source SDK''' item.
# Read over the dialog box and click '''Download and Install''' / '''Next''' to continue
# The Source SDK will then be downloaded to your computer via Steam.
== Running ==
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 [[SDK Docs|Source SDK documentation]] is a good place to start.
== Bugs and Issues ==
* Read the [[Source SDK Release Notes]] for information about the latest SDK release.
* See the [[:Category:Source SDK FAQ|Source SDK FAQ]] for answers to general SDK questions.
* For level design and Hammer editor issues, see the [[:Category:Level Design FAQ|Level Design FAQ]].
== See also ==
* [[Cleanly reinstalling Steam]]
[[Category:Source SDK FAQ]]
|