Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Doom savegame (DSG)/struct/DSG header

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:Doom savegame (DSG)"
claim"A Doom savegame starts with a 50-byte header: 24-byte description, 16-byte "version NNN" string, skill, episode, map, 4 player-present bytes and a 24-bit big-endian level time; the file ends with the byte 0x1D."
scope
level"format"
applies_to"Format:Doom savegame (DSG)"
observed_in
Empty array
data
name"savegame header"
size"0x32"
fields
offset"0x0"
size24
type"char[24]"
name"description"
offset"0x18"
size16
type"char[16]"
name"version string"
offset"0x28"
size1
type"uint8_t"
name"gameskill"
offset"0x29"
size1
type"uint8_t"
name"gameepisode"
offset"0x2A"
size1
type"uint8_t"
name"gamemap"
offset"0x2B"
size4
type"uint8_t[4]"
name"playeringame"
offset"0x2F"
size3
type"uint8_t[3]"
name"leveltime (big-endian 24-bit)"
evidence
type"documentation"
detail"linuxdoom-1.10/g_game.c G_DoSaveGame / G_DoLoadGame (SAVESTRINGSIZE 24, VERSIONSIZE 16, end marker 0x1d). Not checked against a retail save."
confidence"medium"
related
Empty array
key"DSG header"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T03:43:17.739Z"
verifications
Empty array