nlump
A utility for working with lumps from a WAD file (used by Doom et al)
npm install nlump
NB: doesn't read WAD files, if you have a WAD file and want to get the lumps out of it, try nwad
WORK IN PROGRESS
Currently read only, lump writers to come.
Lump readers currently supported
- things
- linedefs
- sidedefs
- vertexes
- segs
- ssectors
- nodes
- sectors
- blockmap
- playpal
- pnames
- texture
- colormap
- flat
- picture (sprites, UI, walls etc.)
Not implemented yet
Pull requests would be nice!
- reject
- sound
- music
- demo
- endoom
- dmxgus
Usage
const nlump = //if you have a lump from nwad, the buffer is stored in the 'data' propertyconst result =
Example output: