-
Notifications
You must be signed in to change notification settings - Fork 0
MM1 MAZEDATA Format
Navigation: Home · MM1 cross-walk · MM1 MAZEDATA Format
Might and Magic I stores maze geometry in MAZEDATA.DTA: 55 screens × 512 bytes = 28 160 bytes. Layout matches MM2 map.dat (see map.dat format):
| Offset | Size | Page |
|---|---|---|
0x000 |
256 | Visual — four 2-bit wall fields per cell (N/E/S/W): 0 open, 1 wall, 2 torch, 3 door |
0x100 |
256 | Collision — `(dark<<1) |
Overland sectors (areaa1…areae4) still use MapWalls page-0 encoding in the original game (not MM2 terrain ids). For the HTML walker, see MM1 → MM2 outdoor conversion.
MM.EXE holds a null-terminated slug table at file offset 0x10C07, in MAZEDATA order (55 entries): sorpigal, portsmit, algary, … astral. Each slug matches a companion *.OVR map script file (events), not embedded in the DTA.
Display titles and loaders: tools/mm1_maps.py, tools/export_mm1_map_walker.py.
Indoor HTML walker: wiki/mm1-maze-walker/. Regenerate with python tools/export_mm1_map_walker.py (GOG MAZEDATA.DTA, MM2 map.dat/attrib.dat for overland, lagdotcom re/lagdotcom/exported/wall*.png for dungeon walls).
- Docs Wiki Hub ← full doc index
- Getting Started ← read this first
- Overview
- Workspace Notes
- Open Questions
- Full Analysis
- Game Remake
- Startup and Init
- Runtime Memory Map
- Main Loop and Map
- Exploration Input and Options
- Party and Session
- Game State Struct
- Data Hunk mm2 data 00
- Time Era Calendar
- GFX Loading
- ANM TV Format
- PC DOS graphics
- SNES graphics
- 3D View and Game Screen
- Amiga 3D Render Process
- Scripted Scene Graphics
- Event Graphics Opcodes
- Title Screen Assets
- Title Screen Animation
- Format inventory
- items.dat
- monsters.dat
- roster.dat
- attrib.dat
- map.dat
- spells & item use
- event.dat
- Events by location ← 71 maps
- Events hub (numbered)
- Event Script Opcodes
-
Event Script DSL ←
.mm2evtauthoring - Event Text Rendering
- Event Graphics Opcodes
- Combat Overview
- Combat System
- Encounter Tables
- Spell Cast ASM
- monsters.dat abilities
- Spells and item use
- Town Services
- Spell Sources
- Character Mechanics
- Skills and Hirelings
- Commerce Formulas
- Commerce World Services
- Mount Farview Class Quest
- Class Quest HP Bug
- Event Runtime
- Event to String Path
- Embedded Exe Strings
- Copy Protection
- Time Era Calendar
- Game State Struct
- MM1 Overview ← hub + decode status
- MM1 MAZEDATA format
- MM1 to MM2 outdoor
- MM1 WALLPIX by sector
- MM1 art & graphics
- MM1 items / monsters (status)
- MM1 map walker ↗
- MM1 2D maps gallery
- MM1 WALLPIX gallery