Source SDK Base 2013: Difference between revisions
Jump to navigation
Jump to search

Tip:Despite the names, both Source SDK Base 2013 - Singleplayer and Source SDK Base 2013 - Multiplayer (
only) can be used for singleplayer.
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 that does not modify game code.
The
TF2 branch version of Source SDK Base 2013 - Multiplayer makes some changes which break singleplayer mode, such as save loading not working correctly[1] and attempting to load any map with maxplayers (singleplayer) and cl_localnetworkbackdoor both set to 1 will also crash the game[2] (not affected on "sourcetest" (Source Engine Test).
mNo edit summary |
|||
Line 5: | Line 5: | ||
{{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 that does not modify game code.<br> | {{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 that does not modify game code.<br> | ||
{{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 runs on {{src13mp|1}}, but it has been upgraded to {{Tf2branch|2}}, which might be incompatible with mods built on legacy version of {{srcsdk13mp|1}} (that runs on {{src13mp|1}}).<!-- | :{{Note|This branch originally runs on {{src13mp|1}}, but it has been upgraded to the {{Tf2branch|2}}, which might be incompatible with mods built on 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 | ||
::# A window will open. Go to "Betas", select {{Code|previous2021}} beta branch. | ::# A window will open. Go to "Betas", select {{Code|previous2021}} beta branch. | ||
::# Steam will automatically re-download the files. Once it's done, run Source SDK Base 2013 MP as normal, or use | ::# Steam will automatically re-download the files. Once it's done, run Source SDK Base 2013 MP as normal, or use its tools. | ||
}} | }} | ||
* {{src13sp|2|nt=sdk}} (AppID: {{code|243730}} - {{Steam|launch/243730|Click to Install}}) | * {{src13sp|2|nt=sdk}} (AppID: {{code|243730}} - {{Steam|launch/243730|Click to Install}}) | ||
Line 22: | Line 22: | ||
::# 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 March 4, 2025, this branch hasn't been updated yet to received new features from {{hl2|1}} 20th Anniversary Update (radial fog, classic particles, etc.) or {{tf2branch|1}}.}} | : {{Note|Currently, as of March 4, 2025, this branch hasn't been updated yet to received 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 == |
Revision as of 07:34, 30 March 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) and Source SDK Base 2013 - Multiplayer (for multiplayer mods).


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 that does not modify game code.
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 runs on Source 2013 Multiplayer, but it has been upgraded to the
Team Fortress 2 branch, which might be incompatible with mods built on 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 March 4, 2025, this branch hasn't been updated yet to received 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 TF2 branch, and will require using 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 be only launched with 32-bit binaries only.
- 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)