DDraceNetwork, a free cooperative platformer game
Go to file
heinrich5991 1f0b2f6ee5 Use more secure hash function for map downloads
SHA256 was chosen because it is reasonably standard, the file names
don't explode in length (this rules out SHA512) and it is supported by
basically all versions of OpenSSL (this rules out SHA512/256 and SHA3).

The protocol is changed in a backward compatible way: The supporting
server sends the SHA256 corresponding to the map in the `MAP_CHANGE`
message after the previously known fields.

For servers not supporting this protocol, the client falls back to
simply opening maps like in the previous scheme.

The filename scheme for downloaded maps changed from `{name}_{crc}.map`
to `{name}_{sha256}.map` if the SHA256 is known, otherwise it falls back
to the previous scheme.

Fixes #1691.
2019-03-08 18:59:20 +01:00
.circleci Run the tests on CircleCI 2019-02-10 17:00:08 +01:00
cmake Add the SHA256 cryptographic hash function 2019-03-08 02:22:57 +01:00
datasrc Fix a few issues raised by Codacy 2019-02-03 02:00:24 +01:00
other Merge pull request #1949 from ChillerDragon/master 2019-01-05 18:30:41 +01:00
scripts Fix Localize with no space between parameters not being detected, fix paths 2019-02-09 19:28:59 +01:00
src Use more secure hash function for map downloads 2019-03-08 18:59:20 +01:00
.gitignore Add GTest-related stuff to .gitignore 2019-03-07 14:53:54 +01:00
.gitmodules Add branch info (master) to .gitmodules 2018-11-11 13:46:50 +01:00
appveyor.yml Run tests on AppVeyor 2019-02-10 17:00:08 +01:00
bam.lua added a config option for old gcc compilers which need -msse2 flag to use _mm_pause (https://gcc-patches.gcc.gnu.narkive.com/Ypx83P9u/patch-rfa-move-x86-mm-pause-out-of-pragma-target-sse-scope) 2019-02-10 18:48:37 +01:00
CMakeLists.txt Add the SHA256 cryptographic hash function 2019-03-08 02:22:57 +01:00
configure.lua switched gcc and cl compiler detection. (#1503) 2017-10-03 19:04:22 +02:00
license.txt updated license with a list of authors and updated the year. closes #1548 2018-11-25 18:19:27 +01:00
readme.md fixed appveyor badge link 2019-02-05 17:18:05 +01:00
storage.cfg fixed currentdir and added appdir search path 2017-09-16 19:10:19 +02:00

Packaging status

Teeworlds CircleCI AppVeyor Build Status

A retro multiplayer shooter

Teeworlds is a free online multiplayer game, available for all major operating systems. Battle with up to 16 players in a variety of game modes, including Team Deathmatch and Capture The Flag. You can even design your own maps!

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. See license.txt for full license text including copyright information.

Please visit https://www.teeworlds.com/ for up-to-date information about the game, including new versions, custom maps and much more.

Instructions to build the game can be found at https://teeworlds.com/?page=docs&wiki=compiling_everything. In particular, you will need SDL2 and FreeType installed.

Originally written by Magnus Auvinen.