Fandom

Doom Wiki

PNAMES

3,484pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

PNAMES is a WAD lump that includes all the names for wall patches.

Binary data

The binary contents of the PNAMES lump starts with a header of 4 bytes, followed by all of the patch names.

PNAMES
Offset Length Name Content
0x00 4 nummappatches An integer holding a the number of following patches.
0x04 8 * nummappatches name_p[ ] Eight-character ASCII strings defining the lump names of the patches. Only the characters A-Z (uppercase), 0-9, and [ ] - _ should be used in lump names. When a string is less than 8 bytes long, it should be null-padded to the eighth byte.

All integers are 4 bytes long in x86-style little-endian order. Their values can never exceed 231-1, since Doom reads them as signed ints.

See Also

Also on Fandom

Random Wiki