.DMZ File Format Specification
Last updated: 8/30/99

A .DMZ File has the following format:

*      
Name
Author 
Size
Maze Data

          *: An * on a line by itself before the Name line 
             indicates a maze that can only be used by the 
             registered version of MidiMaze II.

       Name: One line of text, 30 characters or less.
             MidiMaze II displays this on the bottom row of the screen
             when the maze is loaded.

     Author: One line of text, 30 characters or less.
             This is not displayed by MidiMaze II, but is part
             of the .MZE file format.  The Registered version
             of ENMZE will encode this with the file, so that
             when it is decoded it appears both in a comment
             block and in the Author position.

             The freeware version of ENMZE puts the text
             "MM2 Conversion Utilities" there, and ignores
             the Author line.
 
       Size: The size of the maze, counting from 0.  If you have
             started with a maze 15 Xs wide, you have a size 14 maze.
             The size *must* be two digits (put a 0 in front
             if you need to.)  Sizes can range from 02-62, and must
             be even.

  Maze Data: The maze data block is an array of characters:
               X is a wall
               . is blank space
               I is an Invisible Wall
               D is a Door
             See below for an example.

Blank Lines: Blank lines are generally ignored, but may cause an
             error if they occur in the Data area.

     Spaces: Spaces on blank lines are ignored.  Spacing is kept
             in the Name and Author fields.  Spaces before or after
             the Size are ignored, but a space between digits will
             cause an error.  Spaces in the Maze Data will cause an
             error unless they are between the end of the line and
             the line feed/carriage return.

Sample .DMZ file:

*
This is a Test!
Michael Miller
08
XXXXXXXXX
X...X...X
X...I...X
XDDXX...X
X.......X
X...XXIIX
X...D...X
X...X...X
XXXXXXXXX