Source SDK Base 2013: Difference between revisions
(Valve could probably opt to merge SP and MP together… but I won't cross my fingers.) |
|||
Line 2: | Line 2: | ||
{{TabsBar|main=Source SDK Base}} | {{TabsBar|main=Source SDK Base}} | ||
{{Toc-right}} | {{Toc-right}} | ||
{{src13}} {{srcsdk13sp|3}} and {{srcsdk13mp|3}} are tools available to all Steam users which, as the name implies, is locked to {{src13|1}} engine branch, to prevent incompatible engine updates from making your mod unusable. | {{src13}} {{srcsdk13sp|3}} and {{srcsdk13mp|3}} are tools available to all Steam users which, as the name implies, is locked to {{src13|1}} engine branch, to prevent incompatible engine updates from making your mod unusable. | ||
Since Source 2013 was split into three sub-branches (originally two), there are '''{{srcsdk13sp|name}}''' (for singleplayer mods, based on {{src13sp|2}}) and '''{{srcsdk13mp|name}}''' (for multiplayer mods, based on {{tf2branch|2}}, formerly {{src13mp|2}}). | Since Source 2013 was split into three sub-branches (originally two), there are '''{{srcsdk13sp|name}}''' (for singleplayer mods, based on {{src13sp|2}}) and '''{{srcsdk13mp|name}}''' (for multiplayer mods, based on the {{tf2branch|2}}, formerly {{src13mp|2}}). | ||
{{tip|Despite the names, '''both {{srcsdk13sp|1}} and {{srcsdk13mp|1}} ({{src13mp}} only) can be used for singleplayer'''.<br>The Multiplayer branch provides additional features ([[$lightmap|static prop lightmaps]], [[BSPZIP|BSP compression]], more [[ambient cube]]s per [[visleaf]], and slightly newer code), which may be desirable over the Singleplayer branch if not using a base mod such as {{mapbase|3.1}} and not making a single-player mod | {{tip|Despite the names, '''both {{srcsdk13sp|1}} and {{srcsdk13mp|1}} ({{src13mp}} only) can be used for singleplayer'''.<br>The Multiplayer branch provides additional features ([[$lightmap|static prop lightmaps]], [[BSPZIP|BSP compression]], more [[ambient cube]]s per [[visleaf]], and slightly newer code), which may be desirable over the Singleplayer branch if not using a base mod such as {{mapbase|3.1}} and not making a single-player mod with game code untouched.<br> | ||
The {{tf2branch|2|nt=0}} version of {{srcsdk13mp|1}} makes some changes which break singleplayer mode, such as save loading not working correctly[https://github.com/ValveSoftware/source-sdk-2013/issues/629] and attempting to load any map with {{cmd|maxplayers}} (singleplayer) and {{cmd|cl_localnetworkbackdoor}} both set to {{code|1}} will also crash the game[https://github.com/ValveSoftware/source-sdk-2013/issues/610] (not affected on "sourcetest" (Source Engine Test).}} | The {{tf2branch|2|nt=0}} version of {{srcsdk13mp|1}} makes some changes which break singleplayer mode, such as save loading not working correctly[https://github.com/ValveSoftware/source-sdk-2013/issues/629] and attempting to load any map with {{cmd|maxplayers}} (singleplayer) and {{cmd|cl_localnetworkbackdoor}} both set to {{code|1}} will also crash the game[https://github.com/ValveSoftware/source-sdk-2013/issues/610] (not affected on "sourcetest" (Source Engine Test).}} | ||
== SDK Base versions == | == SDK Base versions == | ||
There are two versions of Source SDK Base(s) 2013: | There are two versions of Source SDK Base(s) 2013: | ||
* {{src13mp|2|nt=sdk}} (AppID: {{code|243750}} - {{Steam|launch/243750|Click to Install}}) | * {{src13mp|2|nt=sdk}} (AppID: {{code|243750}} - {{Steam|launch/243750|Click to Install}}) | ||
:{{Note|This branch originally | :{{Note|This branch originally ran on {{src13mp|1}}, but it has been upgraded to the {{Tf2branch|2}}, which might be incompatible with mods built on the legacy version of {{srcsdk13mp|1}} (that runs on {{src13mp|1}}).<!-- | ||
--></br>To downgrade to legacy version of Source SDK Base 2013 Multiplayer, follow the instructions: | --></br>To downgrade to legacy version of Source SDK Base 2013 Multiplayer, follow the instructions: | ||
::# Open Steam, go to '''Source SDK 2013 Multiplayer''', right click Properties | ::# Open Steam, go to '''Source SDK 2013 Multiplayer''', right click Properties | ||
Line 24: | Line 25: | ||
::# Steam will automatically re-download the files. Once it's done, try to launch the mod again. | ::# Steam will automatically re-download the files. Once it's done, try to launch the mod again. | ||
}} | }} | ||
: {{Note|Currently, as of May 30, 2025, this branch | : {{Note|Currently, as of May 30, 2025, this branch has yet to receive updates with new features from {{hl2|1}}'s 20th Anniversary Update (radial fog, classic particles, etc.) or the {{tf2branch|1}}.}} | ||
== Setting up & compiling code == | == Setting up & compiling code == | ||
Line 30: | Line 31: | ||
* [[Setting up Source SDK Base 2013 Multiplayer|Setting up Source SDK Base 2013 Multiplayer]] - for {{tf2branch|2}} (using post-2025 {{src13mp|1|nt=sdk}}) | * [[Setting up Source SDK Base 2013 Multiplayer|Setting up Source SDK Base 2013 Multiplayer]] - for {{tf2branch|2}} (using post-2025 {{src13mp|1|nt=sdk}}) | ||
* [[Setting up Source SDK Base 2013 Singleplayer|Setting up Source SDK Base 2013 Singleplayer]] - for {{src13sp|2}} (using {{src13sp|1|nt=sdk}}) | * [[Setting up Source SDK Base 2013 Singleplayer|Setting up Source SDK Base 2013 Singleplayer]] - for {{src13sp|2}} (using {{src13sp|1|nt=sdk}}) | ||
** Source code for this SDK is not yet updated, unlike TF2 branch, and will require using older version of Visual Studio or GCC to compile. | ** Source code for this SDK is not yet updated, unlike the TF2 branch, and will require using an older version of Visual Studio or GCC to compile. | ||
** Also applies to legacy (pre-2025) version of {{src13mp|1|nt=sdk}}. | ** Also applies to legacy (pre-2025) version of {{src13mp|1|nt=sdk}}. | ||
Line 42: | Line 43: | ||
=== Multiplayer branch === | === Multiplayer branch === | ||
* Source Engine Test (<code>sourcetest</code>) | * Source Engine Test (<code>sourcetest</code>) | ||
** {{Note|Source Engine Test can be | ** {{Note|Source Engine Test can only be launched with 32-bit binaries.}} | ||
* {{hl2dm|1}} shared (<code>hl2mp</code>) | * {{hl2dm|1}} shared (<code>hl2mp</code>) | ||
* {{hl2|1}} Complete (<code>hl2_complete</code>) | * {{hl2|1}} Complete (<code>hl2_complete</code>) | ||
Line 49: | Line 50: | ||
== Known issues == | == Known issues == | ||
If | If there are any issues or bugs with Source SDK 2013, including SDK Base, search for existing bugs or report it here on GitHub: | ||
*[https://github.com/ValveSoftware/source-sdk-2013/ Source SDK 2013 - GitHub Issues] | *[https://github.com/ValveSoftware/source-sdk-2013/ Source SDK 2013 - GitHub Issues] | ||
Revision as of 05:28, 30 May 2025


Source SDK Base 2013 - Singleplayer and Source SDK Base 2013 - Multiplayer are tools available to all Steam users which, as the name implies, is locked to Source 2013 engine branch, to prevent incompatible engine updates from making your mod unusable.
Since Source 2013 was split into three sub-branches (originally two), there are Source SDK Base 2013 - Singleplayer (for singleplayer mods, based on Source 2013 Singleplayer) and Source SDK Base 2013 - Multiplayer (for multiplayer mods, based on the
Team Fortress 2 branch, formerly
Source 2013 Multiplayer).


The Multiplayer branch provides additional features (static prop lightmaps, BSP compression, more ambient cubes per visleaf, and slightly newer code), which may be desirable over the Singleplayer branch if not using a base mod such as Mapbase and not making a single-player mod with game code untouched.
The

SDK Base versions
There are two versions of Source SDK Base(s) 2013:
Source SDK Base 2013 - Multiplayer (AppID: 243750 - Click to Install)
Note:This branch originally ran on Source 2013 Multiplayer, but it has been upgraded to the
Team Fortress 2 branch, which might be incompatible with mods built on the legacy version of Source SDK Base 2013 - Multiplayer (that runs on Source 2013 Multiplayer).
To downgrade to legacy version of Source SDK Base 2013 Multiplayer, follow the instructions:- Open Steam, go to Source SDK 2013 Multiplayer, right click Properties
- A window will open. Go to "Betas", select previous2021 beta branch.
- Steam will automatically re-download the files. Once it's done, run Source SDK Base 2013 MP as normal, or use its tools.
Source SDK Base 2013 - Singleplayer (AppID: 243730 - Click to Install)
Note:By default, many sourcemods (including
Mapbase), will crash when launched, unless you select the upcoming branch.
To select upcoming branch, follow the instructions:- Open Steam, go to Source SDK 2013 Singleplayer, right click Properties
- A window will open. Go to "Betas", select upcoming beta branch.
- Steam will automatically re-download the files. Once it's done, try to launch the mod again.
Note:Currently, as of May 30, 2025, this branch has yet to receive updates with new features from Half-Life 2's 20th Anniversary Update (radial fog, classic particles, etc.) or the Team Fortress 2 branch.
Setting up & compiling code
To set up Source SDK 2013 and compiling mods, see:
- Setting up Source SDK Base 2013 Multiplayer - for
Team Fortress 2 branch (using post-2025 Source SDK Base 2013 - Multiplayer)
- Setting up Source SDK Base 2013 Singleplayer - for
Source 2013 Singleplayer (using Source SDK Base 2013 - Singleplayer)
- Source code for this SDK is not yet updated, unlike the TF2 branch, and will require using an older version of Visual Studio or GCC to compile.
- Also applies to legacy (pre-2025) version of Source SDK Base 2013 - Multiplayer.
SDK Base Content
Singleplayer branch
- Source Engine Test (
sourcetest
) - Half-Life 2: Episode Two shared (
ep2
) - Half-Life 2: Episode One shared (
episodic
) - Half-Life 2 shared (
hl2
) - Source 2013 Singleplayer branch (32-bit binaries only)
Multiplayer branch
- Source Engine Test (
sourcetest
)Note:Source Engine Test can only be launched with 32-bit binaries.
- Half-Life 2: Deathmatch shared (
hl2mp
) - Half-Life 2 Complete (
hl2_complete
) - Half-Life 2 shared (
hl2
) - Team Fortress 2 branch (32/64-bit binaries)
Known issues
If there are any issues or bugs with Source SDK 2013, including SDK Base, search for existing bugs or report it here on GitHub: