From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Doom demo (LMP)" |
|---|
| claim | "After the header a demo stores, per tic and per present player, 4 bytes: forwardmove (int8), sidemove (int8), turn (angleturn rounded to its high byte: (angleturn+128)>>8, replayed as byte<<8), buttons; the byte 0x80 in place of a record ends the demo." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Doom demo (LMP)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | function | "G_ReadDemoTiccmd / G_WriteDemoTiccmd" |
|---|
| effect | "4 bytes per player per tic; 0x80 = DEMOMARKER end" |
|---|
| condition | "chatchar and consistancy are not recorded" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "linuxdoom-1.10/g_game.c G_ReadDemoTiccmd, G_WriteDemoTiccmd, DEMOMARKER 0x80." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Freedoom 0.13.0 demos walk to the 0x80 byte in 4*players steps (e.g. freedoom1.wad DEMO1: 1 player, 7117 tics, 28482 bytes = 13 + 7117*4 + 1)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Demo tic encoding" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:43:17.658Z" |
|---|
| verifications | |
|---|