Note: This article needs to be cleaned up. Map data lumps See also map format - the information below is outdated and does not cover UDMF, USDF or ZSDF For some lumps, however, the location is crucial. The string must be null-terminated if shorter than 8 bytes.įor many lumps, where they're located in the WAD is of no consequence, though there are typically some guidelines to make the file easily readable by other people. Only the characters A-Z (uppercase), 0-9 and -_ should be used in Lump names (an exception has to be made for some of the ArchVile sprites, which use "\"). The structure of each entry is as follows:Īn integer holding a pointer to the start of the lump's data in the fileĪn integer representing the size of the lump in bytesĪSCII string defining the lump's name. The length of the directory is determined by the number given in the WAD header. It consists of a number of entries, each with a length of 16 bytes. The directory associates names of lumps with the data that belong to them. Their values can never exceed 2 31-1 since Doom reads them as signed ints. It contains three values:ĪSCII string "PWAD" or "IWAD", defines whether the WAD is a PWAD or an IWADĪn integer specifying the number of entries in the directoryĪn integer holding a pointer to the location of the directoryĪll integers are 4 bytes long in x86-style little-endian order. A WAD file always starts with a 12-byte header.
0 Comments
Leave a Reply. |