Skip to content
Vairn edited this page Jun 2, 2026 · 13 revisions
Spellbook icon (book.32 frame 0)

Might & Magic II

Amiga reverse-engineering wiki

Data formats · 68k runtime · combat · events · graphics · MM2ED


GitHub Map Walker


Start Here Overview Data Formats Gallery MM2ED


Visual guides

RE pipeline
RE pipeline
map.dat layout
map.dat layout
Combat loop
Combat loop

Creepy Crawler
Creepy Crawler
Town auto-maps
Town auto-maps

📦 Data formats

ASM-confirmed .dat layouts with round-trip Python & C codecs.

→ Format inventory

⚔️ Game systems

68000 traces for combat, world simulation, and scripts.

→ Full analysis

🐉 Sprite gallery

Decoded .32 tilesets and .anm combat animations from original assets.

→ Gallery home

🛠️ Tools & code

Decoders, disassembly helpers, and the ImGui data editor.

→ Open questions


By the numbers

256

items

256

monsters

96

spells

60

map screens

71

event locations

Tip

New here? Start with Getting StartedOverviewformat inventory. Editing data files? Jump to MM2ED Editor. Tracing combat or scripts? Combat Overview · Combat System · Event Script Opcodes. Audio? Audio Sounds Music.

Important

Endianness — MM2 .dat multibyte fields are little-endian on disk (matching our codecs and Blitz3D editors). The 68000 runtime may byte-swap after load — trace ASM before assuming otherwise.

📑 All quick links
If you want to… Start here
Understand the project Getting StartedOverviewdat Files and Formats
Edit .dat files MM2ED Editor + sidebar Data formats
Trace combat or scripts Combat Overview · Combat System · Event Script Opcodes
Audio / walk beep / SFX Audio Sounds Music
MM1 map cross-walk MM1 MAZEDATA · MM1 outdoor
Browse decoded art Gallery
See what's still unknown Open Questions
Boot & memory map Startup and Init · Runtime Memory Map
RE tooling RE Tools

Synced from Vairn/MM2 · python wiki/scripts/export-github-wiki.py

🏠 Home


Getting started

Runtime & engine

Graphics

UI

Data formats (.dat)

Combat

Audio

Game systems

Might and Magic I (DOS)

Gallery

Tools

Clone this wiki locally