ProtocolNumbers.wiki
author sheepluva
Thu, 23 Mar 2023 20:47:32 +0000
changeset 2221 4bf8172a73a1
parent 1994 11cd96da0d02
permissions -rw-r--r--
TableOfContents: TableOfContents: Adjust two Entries

#summary Explanation and list of protocol numbers

= Protocol numbers =

Hedgewars uses *protocol numbers* to encode different Hedgewars versions. The protocol number is mainly used on the server. It is important because players have to be on the same version to play together. The protocol number also used in the file name of demos (e.g. “DemoName.57.hwd”). 

In Hedgewars, all versions without a “-dev” are called “stable” releases. These are the releases you find on the official Download page. Note that for some releases, the protocol number is not increased. This is the case for backwards-compatible bugfix releases. Thus, protocol number 55 is valid for 0.9.24 and 0.9.24.1.

A “-dev” in the version number means it is a version in *dev*elopment. This is not really a specific version, more like a shorthand. A version X.Y.Z-dev means that it could be a build of any commit after the previous stable relese but before the next stable release X.Y.Z.

E.g. the development version before 0.9.24 is 0.9.24-dev.

Since 0.9.25-dev, you can run “`hwengine --protocol`” in the commandline to get the current protocol number of your installed Hedgewars.

== List of protocol numbers ==

|| *Protocol number* || *Version* ||
|| 60 || 1.0.1-dev ||
|| 59 || 1.0.0 ||
|| 58 || 1.0.0-dev ||
|| 57 || 0.9.25 ||
|| 56 || 0.9.25-dev ||
|| 55 || 0.9.24 ||
|| 54 || 0.9.24-dev ||
|| 53 || 0.9.23 ||
|| 52 || 0.9.23-dev ||
|| 51 || 0.9.22 ||
|| 50 || 0.9.22-dev ||
|| 49 || 0.9.21 ||
|| 48 || 0.9.21-dev ||
|| 47 || 0.9.20 ||
|| 46 || 0.9.20-dev ||
|| 45 || 0.9.19 ||
|| 44 || 0.9.19-dev ||
|| 43 || 0.9.18 ||
|| 42 || 0.9.18-dev ||
|| 41 || 0.9.17 ||
|| 40 || 0.9.17-dev ||
|| 39 || 0.9.16 ||
|| 38 || 0.9.16-dev ||
|| 37 || 0.9.15 ||
|| 35 || 0.9.14.1 ||
|| 34 || 0.9.15-dev ||
|| 33 || 0.9.14 ||
|| 32 || 0.9.14-dev ||
|| 31 || 0.9.13 ||
|| 30 || 0.9.13-dev ||
|| 29 || 0.9.12 ||
|| 28 || 0.9.12-dev ||
|| 27 || 0.9.11 ||
|| 26 || 0.9.11-dev ||
|| 25 || 0.9.10 ||
|| 24 || 0.9.10-dev ||
|| 23 || 0.9.9 ||
|| 22 || 0.9.9-dev ||
|| 21 || 0.9.8 ||
|| 20 || 0.9.8-dev ||
|| 19 || 0.9.7 ||
|| 17 || 0.9.7-dev ||

== Source ==
For an up-to-date version of the list, see [https://hg.hedgewars.org/hedgewars/file/default/gameServer/Utils.hs] and look for the function `protoNumber2ver`.