Version: Difference between revisions
NootTheNewt (talk | contribs) (Created page with "Prints version info in console") |
(→{{source|4}} games (Third-party): - updated GMOD (July 23 2025).) |
||
(72 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
Prints version info in console | {{LanguageBar}} | ||
{{TabsBar|main=Version}} | |||
{{stub}} | |||
{{toc-right}} | |||
{{See also|[[Source/Engine versions]] - list of Source engine build numbers.}} | |||
{{This is a|console command|name=version}} | |||
Prints version info in the [[Developer Console]]. | |||
Previous Source games (including early {{src13|1}} games), and all games since {{l4dbranch|2}}, prints {{code|protocol version}}, {{code|exe version}} and {{code|exe build}} date like GoldSrc. {{code|exe build}} date can be also seen inside {{code|engine.dll}} when viewed using any text editors. Since {{l4dbranch|1}} (March 11, 2009 update), protocol version are tied to {{code|PatchVersion}} ({{code|NetworkVersion}} for {{l4d2}}). The Source engine build number is the number of days since November 7, 1998. | |||
Newer version of {{src13|1}} games (except some titles like {{gmod|1}}) since late 2013 and 2014, aswell as {{srcsdk13|1}} (both SP & MP, all versions) instead prints {{code|Build Label}}, {{code|Client/Server version}}, {{code|Network PatchVersion}} and {{code|Protocol version}}, which can be altered by editing {{Code|steam.inf}}.{{Cite|1}} | |||
Properties, formats, examples below. <!--But not the latest versions, unless someone wants to automate it.--> | |||
{{note|In most cases, these versions can be changed by editing the {{code|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|4}} games (Valve) == | |||
{{todo}} | |||
=== {{css|4}} === | |||
{{Pre|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}} | |||
=== {{hl2dm|4}} === | |||
{{pre|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}} | |||
=== {{hl2|4}} (including Episodes, {{hl2lc|4}}, {{hls|4}}) === | |||
==== Source 2013 (and later) ==== | |||
{{pre|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) ==== | |||
{{pre|Protocol version 15 | |||
Exe version 1.0.1.0 (valve) | |||
Exe build: 13:46:47 Nov 28 2012 (5135) (220)}} | |||
=== {{portal|4}} === | |||
{{pre|Build Label: 9776088 # Uniquely identifies each build | |||
Network PatchVersion: 1745010 # Determines client and server compatibility | |||
Protocol version: 24 # High level network protocol version}} | |||
=== {{tf2|4}} === | |||
{{pre|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}} | |||
=== {{l4d|4}} === | |||
{{note|Left 4 Dead protocol version used to be 36 to 38. After March 2009 update, protocol version are tied to {{code|PatchVersion}} on {{code|steam.inf}}.}} | |||
{{pre|Version 1.0.4.4 (left4dead) | |||
Exe build: 18:44:09 Oct 18 2024 (9477) (500)}} | |||
=== {{l4d2|4}} === | |||
{{pre|Version 2.2.4.3 (left4dead2) | |||
Network Version 2.1.0.0 | |||
Exe build: 14:34:57 Jan 16 2025 (9477) (550)}} | |||
=== {{p2|4}} === | |||
{{pre|Protocol version 2001 | |||
Exe version 2.0.0.1 (portal2) | |||
Exe build: 15:28:04 Jan 17 2025 (9568) (620)}} | |||
=== {{csgo|4}} === | |||
{{pre|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 == | |||
=== {{srcsdk06|4}} === | |||
{{Pre|Protocol version 7 | |||
Exe version 1.0.0.1 (sourcetest) | |||
Exe build: 17:27:58 Dec 3 2009 (4044) | |||
}} | |||
=== {{srcsdk07|4}} === | |||
{{Pre|Protocol version 14 | |||
Exe version 1.0.0.1 (sourcetest) | |||
Exe build: 13:53:25 Feb 1 2010 (4104) (215) | |||
}} | |||
=== {{srcsdk13sp|4}} === | |||
{{Pre|Build Label: 2229597 # Uniquely identifies each build | |||
Network PatchVersion: 2229597 # Determines client and server compatibility | |||
Protocol version: 24 # High level network protocol version | |||
}} | |||
{{Note|Network Patch version reported as "1.0.1.0" when {{code|steam.inf}} is removed/renamed.}} | |||
; {{code|upcoming}} beta branch | |||
{{Pre|Build Label: 2422905 # Uniquely identifies each build | |||
Network PatchVersion: 2422905 # Determines client and server compatibility | |||
Protocol version: 24 # High level network protocol version | |||
}} | |||
{{Note|Network Patch version reported as "1.0.1.0" when {{code|steam.inf}} is removed/renamed.}} | |||
=== {{srcsdk13mp|4}} (Legacy) === | |||
{{Pre|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|{{code|previous2021}} beta build. Released July 6, 2021.}} | |||
=== {{srcsdk13mp|4}} ({{tf2branch|3.1|nt=0}}) === | |||
{{Pre|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|Released February 18, 2025. Up to date as of March 29, 2025.}} | |||
== {{source|4}} games (Third-party) == | |||
{{expand| | |||
=== {{cso2|4}} === | |||
{{Note|Can be only seen using custom launcher that allows user to enable console.}} | |||
{{pre|Protocol version 24 | |||
Exe version () | |||
Exe build: 12:14:05 Feb 6 2018 (7031) (0)}} | |||
=== [[Empires|Empires Mod]] === | |||
{{pre|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}} | |||
=== {{gmod|4}} === | |||
{{Pre|Protocol version 24 | |||
Network version 2025.03.26 (garrysmod) | |||
Exe build: 17:58:45 Jul 23 2025 (9748) (4000) | |||
GMod version 2025.07.23, branch: x86_64, multicore: 0 | |||
Windows 64bit | |||
}} | |||
=== {{Nmrih|4}} === | |||
{{pre|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}} | |||
=== {{p3|4}} === | |||
{{pre|Protocol version 15 | |||
Exe version 1.0.1.0 (valve) | |||
Exe build: 19:23:40 Jan 24 2012 (4826) (215) | |||
}} | |||
=== {{psm|4}} === | |||
{{pre|Protocol version 2001 | |||
Exe version 2.0.0.1 (portal_stories) | |||
Exe build: 11:53:30 Mar 2 2021 (8151) (317400)}} | |||
=== {{sineps|4}} === | |||
{{Pre|Protocol version 7 | |||
Exe version 1.0.0.0 (sine) | |||
Exe build: 15:28:59 Jul 14 2006 (2722) | |||
}} | |||
=== {{Titanfall|4}} (Dedicated server) === | |||
{{Note|Can be only seen using custom launcher ([https://github.com/r1delta/r1delta R1Delta]) that allows user to enable console. Also, version does not print any info on in-game console, only Dedicated Server does.}} | |||
{{pre|Protocol version 2001 | |||
Exe version 2.0.0.1 (Respawn) | |||
Exe build: 19:04:45 Apr 7 2014 (5630) | |||
}} | |||
=== {{jbep3|4}} === | |||
{{pre|Protocol version 158 | |||
Exe version 158 (jbep3) | |||
Exe build: 20:25:22 Jul 14 2023 (1568) (869480) | |||
Steam beta name: }} | |||
}}<!--end - expand--> | |||
{{references|1= | |||
{{ref2|cite id=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 {{gmod|1}}), many Source 2013 games now prints network patch version, along with client & server versions from {{code|steam.inf}}. The code which prints version number be only seen on both leaked full {{src07|1}} engine code in 2012 and full {{src13mp|1}} (TF2) code in 2020. | |||
'''Source 2007:''' | |||
* For legal reasons, leaked code will not be provided here. But it can be found on {{Path|\engine\host_cmd|cpp}} (line 947). | |||
'''Source 2013:''' | |||
* For legal reasons, leaked code will not be provided here. But it can be found on {{Path|\engine\host_cmd|cpp}} (line 1190). | |||
}} | |||
}} |
Latest revision as of 22:41, 10 August 2025


version
is a console command available in all 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, prints protocol version, exe version and exe build date like GoldSrc. 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
). 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.

Source games (Valve)
[Todo]
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
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 (including Episodes,
Half-Life 2: Lost Coast,
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)
Portal
Build Label: 9776088 # Uniquely identifies each build Network PatchVersion: 1745010 # Determines client and server compatibility Protocol version: 24 # High level network protocol version
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

Version 1.0.4.4 (left4dead) Exe build: 18:44:09 Oct 18 2024 (9477) (500)
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
Protocol version 2001 Exe version 2.0.0.1 (portal2) Exe build: 15:28:04 Jan 17 2025 (9568) (620)
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
Protocol version 7 Exe version 1.0.0.1 (sourcetest) Exe build: 17:27:58 Dec 3 2009 (4044)
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
Build Label: 2229597 # Uniquely identifies each build Network PatchVersion: 2229597 # Determines client and server compatibility Protocol version: 24 # High level network protocol version

- 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

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

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

Source games (Third-party)
|
References
References | ||
---|---|---|
|