home
download
installation
documentation
port notes
links

mapdump

mapdump is a small utility for looking at the data in Wolfenstein 3D map files. It can do three things:
  • Print the information from MAPHEAD and the headers in GAMEMAPS
  • Output the map data in hex
  • Output the map as an image in PNG format
Examples of image files generated are available. The utility is available from the download page.

Usage

Usage: mapdraw [OPTION]...
Show information about Wolfenstein 3D maps

  --help      Show this help
  --map=M     dump map number M
  --ext=XXX   look for files with extension XXX
              usually WL1 WL6 SDM or SOD
  --head      show map header information
  --png       draw the map as PNG image file to map_XXX_M.png
  --text      draw the map as hex ascii to stdout

Examples

$ mapdraw --ext=WL1 --map=4 --png
Writes an image of map 4 from GAMEMAPS.WL1 to map_WL1_4.png
$ mapdraw --ext=WL1 --map=4 --text
Writes a hex dump of map 4 from GAMEMAPS.WL1 to standard output.

Last updated 7th March 1999
© Copyright 1999 David Haslam dch@sirius.demon.co.uk