This article's documentation is for anything that uses the Source engine. Click here for more information.

version

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
edit

Stub

This article or section is a stub. You can help by expanding it.

See also:  Source/Engine versions - list of Source engine build numbers.

version is a console command available in all Source Source games. Prints version info in the Developer Console.

Previous Source games (including early Source 2013 games), and all games since Left 4 Dead engine branch Left 4 Dead engine branch, prints protocol version, exe version and exe build date (can be also seen inside engine.dll when viewed using any text editors). Since Left 4 Dead engine branch (March 11, 2009 update), protocol version are tied to PatchVersion (NetworkVersion for Left 4 Dead 2). The Source engine build number is the number of days since November 7, 1998.

Newer version of Source 2013 games (except some titles like Garry's Mod) since late 2013 and 2014, aswell as Source SDK Base 2013 (both SP & MP, all versions) instead prints Build Label, Client/Server version, Network PatchVersion and Protocol version, which can be altered by editing steam.inf.[1]

Properties, formats, examples below.

Note.pngNote:In most cases, these versions can be changed by editing the steam.inf file. This is heavily discouraged, as it immediately renders the game unable to connect to any server for its version or for any other version (due to protocol differences), and prevent the game from playing demo files not matching the versions.


Source Source games (Valve)

[Todo]

Counter-Strike: Source Counter-Strike: Source

Build Label:           9540945   # Uniquely identifies each build
Network PatchVersion:  9540945   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:        9540945
Server AppID:           232330
Client version:        9540945
Client AppID:              240

Half-Life 2: Deathmatch Half-Life 2: Deathmatch

Build Label:           9540945   # Uniquely identifies each build
Network PatchVersion:  9540945   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:        9540945
Server AppID:           232370
Client version:        9540945
Client AppID:              320

Half-Life 2 Half-Life 2 (including Episodes, Half-Life 2: Lost Coast Half-Life 2: Lost Coast, Half-Life: Source Half-Life: Source)

Source 2013 (and later)

Build Label:           9525199   # Uniquely identifies each build
Network PatchVersion:  9525199   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version

Source 2009 (or earlier, pre-SteamPipe)

Protocol version 15
Exe version 1.0.1.0 (valve)
Exe build: 13:46:47 Nov 28 2012 (5135) (220)

Team Fortress 2 Team Fortress 2

Build Label:           9433646   # Uniquely identifies each build
Network PatchVersion:  9433646   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:        9433646
Server AppID:           232250
Client version:        9433646
Client AppID:              440

Left 4 Dead Left 4 Dead

Note.pngNote:Left 4 Dead protocol version used to be 36 to 38. After March 2009 update, protocol version are tied to PatchVersion on steam.inf.
Version 1.0.4.4 (left4dead)
Exe build: 18:44:09 Oct 18 2024 (9477) (500)

Left 4 Dead 2 Left 4 Dead 2

Version 2.2.4.3 (left4dead2)
Network Version 2.1.0.0
Exe build: 14:34:57 Jan 16 2025 (9477) (550)

Portal 2 Portal 2

Protocol version 2001
Exe version 2.0.0.1 (portal2)
Exe build: 15:28:04 Jan 17 2025 (9568) (620)

Counter-Strike: Global Offensive Counter-Strike: Global Offensive

Protocol version 13881 [1575/1575]
Exe version 1.38.8.1 (csgo)
Exe build: 13:57:33 Aug 24 2023 (8802) (730)
Windows version 6.2
Steam beta name: csgo_legacy

Source SDK Base

Source SDK Base 2006 Source SDK Base 2006

Protocol version 7
Exe version 1.0.0.1 (sourcetest)
Exe build: 17:27:58 Dec  3 2009 (4044)

Source SDK Base 2007 Source SDK Base 2007

Protocol version 14
Exe version 1.0.0.1 (sourcetest)
Exe build: 13:53:25 Feb  1 2010 (4104) (215)

Source SDK Base 2013 - Singleplayer Source SDK Base 2013 - Singleplayer

Build Label:           2229597   # Uniquely identifies each build
Network PatchVersion:  2229597   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Note.pngNote:Network Patch version reported as "1.0.1.0" when steam.inf is removed/renamed.
upcoming beta branch
Build Label:           2422905   # Uniquely identifies each build
Network PatchVersion:  2422905   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Note.pngNote:Network Patch version reported as "1.0.1.0" when steam.inf is removed/renamed.

Source SDK Base 2013 - Multiplayer Source SDK Base 2013 - Multiplayer (Legacy)

Build Label:           6630498   # Uniquely identifies each build
Network PatchVersion:  6630498   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:        6630498
Server AppID:           244310
Client version:        6630498
Client AppID:           243750
Note.pngNote:previous2021 beta build. Released July 6, 2021.

Source SDK Base 2013 - Multiplayer Source SDK Base 2013 - Multiplayer (TF2 branch)

Build Label:           9546320   # Uniquely identifies each build
Network PatchVersion:  9546320   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:        9546320
Server AppID:           244310
Client version:        9546320
Client AppID:           243750
Note.pngNote:Released February 18, 2025. Up to date as of March 29, 2025.

Source Source games (Third-party)

Counter-Strike Online 2 Counter-Strike Online 2

Note.pngNote:Can be only seen using custom launcher that allows user to enable console.
Protocol version 24
Exe version  ()
Exe build: 12:14:05 Feb  6 2018 (7031) (0)

Empires Mod

Build Label:              2564   # Uniquely identifies each build
Network PatchVersion: 2.35.1.2564   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:           2564
Server AppID:           460040
Client version:              2
Client AppID:            17740

Garry's Mod Garry's Mod

Broom icon.png
This article or section needs to be updated to include current information regarding the subject because:
Needs update with the release of March 2025. Info below are from older versions which was temporarily added.
Remember to check for any notes left by the tagger at this article's talk page.
Protocol version 24
Exe version 2023.06.28 (garrysmod)
Exe build: 14:59:07 Oct 15 2024 (9474) (4000)
GMod version 2024.10.16, branch: x86-64, multicore: 0
Windows 64bit

No More Room in Hell No More Room in Hell

Build Label:              1132   # Uniquely identifies each build
Network PatchVersion:  1.1.3.2   # Determines client and server compatibility
Protocol version:           24   # High level network protocol version
Server version:           1132
Server AppID:           317670
Client version:              1
Client AppID:           224260

Postal III Postal III

Protocol version 15
Exe version 1.0.1.0 (valve)
Exe build: 19:23:40 Jan 24 2012 (4826) (215)

Portal Stories: Mel Portal Stories: Mel

Protocol version 2001
Exe version 2.0.0.1 (portal_stories)
Exe build: 11:53:30 Mar  2 2021 (8151) (317400)

SiN Episodes SiN Episodes

Protocol version 7
Exe version 1.0.0.0 (sine)
Exe build: 15:28:59 Jul 14 2006 (2722)

Jabroni Brawl: Episode 3 Jabroni Brawl: Episode 3

Protocol version 158
Exe version 158 (jbep3)
Exe build: 20:25:22 Jul 14 2023 (1568) (869480)
Steam beta name: 

References

CollapseReferences
1. Early Half-Life 2 SteamPipe build (such as build 5288 / May 7 2013), prints version number and build date like previous Source branches. This was later changed in late 2013 (but doesn't applies to all Source 2013 games like Garry's Mod), many Source 2013 games now prints network patch version, along with client & server versions from steam.inf. The code which prints version number be only seen on both leaked full Source 2007 engine code in 2012 and full Source 2013 Multiplayer (TF2) code in 2020.

Source 2007:

  • For legal reasons, leaked code will not be provided here. But it can be found on 🖿\engine\host_cmd.cpp (line 947).

Source 2013:

  • For legal reasons, leaked code will not be provided here. But it can be found on 🖿\engine\host_cmd.cpp (line 1190).