1

Topic: [TOOL] tw-crc32sum

I just needed this script today, use it for generating checksums of teeworlds maps like in dm1_f35c9309.map.

Requirements: Python 3.3

Download: tw-crc32sum

Example:

$ tw-crc32sum dm1.map 
f35c9309 dm1.map

Usage:

$ tw-crc32sum --help
usage: tw-crc32sum [-h] [-q] [FILE [FILE ...]]

Print Teeworlds' CRC checksums.

positional arguments:
  FILE         With no FILE, or when FILE is -, read standard input.

optional arguments:
  -h, --help   show this help message and exit
  -q, --quiet  Quiet mode, only output the CRC checksums, omit filenames

Thanks and good bye :)

2

Re: [TOOL] tw-crc32sum

Thank you for making that public!

Not Luck, Just Magic.

3

Re: [TOOL] tw-crc32sum

awesome! useful for my new project big_smile

4

Re: [TOOL] tw-crc32sum

Heh, I just noticed that the script is 1337 bytes long (this wasn't on purpose).

5

Re: [TOOL] tw-crc32sum

heinrich5991 wrote:

Heh, I just noticed that the script is 1337 bytes long (this wasn't on purpose).

Oooooh dude, you - sir - are a liar! You cannot tell us you didn't do this on purpose... No way! :-P

» Use the Search Function before opening multiple topics...
» Member of: JsA - Just stay Alloha! (since 2009)

6

Re: [TOOL] tw-crc32sum

Thanks for sharing. I think it's a good idea to add it to the scripts directory of teeworlds. You might do a pullrequest.

7

Re: [TOOL] tw-crc32sum

heinrich5991 wrote:

Heh, I just noticed that the script is 1337 bytes long (this wasn't on purpose).

Also, when delivered by github in a gzipped manner the content is 666 bytes long.