From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Software:Quake" |
|---|
| claim | "Quake's CRC (crc.c, used for pack directories and progs.dat) is CRC-16/CCITT-FALSE: polynomial 0x1021, not reflected, initial value 0xFFFF, final XOR 0, table-driven as crc = (crc << 8) ^ table[(crc >> 8) ^ byte]." |
|---|
| scope | | level | "software" |
|---|
| applies_to | "Software:Quake" |
|---|
| observed_in | |
|---|
|
|---|
| data | | function | "CRC_ProcessByte" |
|---|
| effect | "16-bit CCITT CRC over a byte stream (CRC_Init sets 0xFFFF, CRC_Value XORs with 0)" |
|---|
| test_vectors | | input | "ASCII "123456789"" |
|---|
| expected | "0x29B1" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "WinQuake/crc.c: CRC_INIT_VALUE 0xffff, CRC_XOR_VALUE 0x0000, table starting 0x0000, 0x1021, 0x2042, 0x3063 (commit bf4ac42)." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "A bitwise Python implementation with these parameters gives 0x29B1 for "123456789", the published CRC-16/CCITT-FALSE check value." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "CRC-16 algorithm" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:20:50.846Z" |
|---|
| verifications | |
|---|