Crowbar::Rules::WADRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for Doom WAD files (IWAD and PWAD). Preserves 12-byte WAD header (identification, lump count, directory offset) and 16-byte directory lump entries (filepos, size, 8-byte ASCII name), while mutating lump directory tables, lump names, and lump data payloads (THINGS coordinates/types, VERTEXES, LINEDEFS, and sound/graphics lumps).
Constants
IWAD_MAGIC = Bytes[73, 87, 65, 68]
PWAD_MAGIC = Bytes[80, 87, 65, 68]
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source