# LvlMaze.txt

- Source: https://diablo2.org/kb/file-guides/lvlmaze-txt
- Archived from: https://d2mods.info/forum/kb/viewarticle?a=302
- Category: File guides (1.10 to 1.14)
- Game version, as labelled on the Keep: 1.10 to 1.14
- Posted by: kingpin
- Credits: by Myhrginoc, restyled by Ogodei
- Posted: 2004-09-02
- Last edited: 2018-10-24

_**LvlMaze.txt is the file that controls how many ds1 (rooms) and how large each ds1 are for random underground levels (mazes).**_

**This file is using:**  
[Levels.txt](/kb/file-guides/levels-txt)

**Name** descriptive, not loaded in game. Corresponds with Name field in [Levels.txt](/kb/file-guides/levels-txt)

**Level**: ID from [Levels.txt](/kb/file-guides/levels-txt)  
NOTE: Cave 1 is the Den of Evil, its associated treasure level is quest only.

**Rooms - Rooms(N) - Rooms(H)**: the minimum number of .ds1 map sections that will make up the maze in Normal, Nightmare and Hell difficulties.

**SizeX - SizeY**: the size in the X\\Y direction of any component ds1 map section.

**Merge**: Possibly related to how adjacent .ds1s are connected with each other, but what the different values are for is unknown.

**Beta**: Included in the original Diablo II beta tests and in the demo version..
