Skip to content

Getting Started

Vairn edited this page Jun 2, 2026 · 5 revisions

Getting Started

Navigation: Home · You are here: Getting Started

RE pipeline overview
Binary → disassembly → docs → codecs → MM2ED + wiki

Welcome to the Might & Magic II (Amiga) reverse-engineering wiki. This page is the recommended reading order — pick a path based on what you want to do.


Choose your path

I want to understand the project

  1. Overview — doc map & address rules
  2. dat Files and Formats — every .dat file
  3. Runtime Memory MapA4 workspace
  4. Full Analysis — long-form narrative

I want to edit game data

  1. MM2ED Editor — ImGui editor build
  2. items.dat Format · monsters.dat
  3. map.dat Format · event.dat Format
  4. RE Tools — Python round-trip codecs

I want to trace game logic

  1. Main Loop and Map — scheduler
  2. Combat OverviewCombat System
  3. Event Script Opcodes — script VM
  4. 3D View and Game Screen — renderer

Key concepts (visual)

Data files talk to each other

map.dat + attrib + event

map.dat page 1 sets bit 0x80 on event tiles. event.dat triplets reference those cells. attrib.dat picks wall/floor .32 sheets and neighbour links.

Combat is a round loop

Combat round loop

Encounters start from event opcode OP_12. See Combat Overview for the mermaid chart and command keys (A/F/S/C/U/B/R/E/V).

Events fire on step

Event trigger flow


Interactive tools

Tool Link What it does
Map walker GitHub Pages First-person 3D — all 60 screens
Sprite gallery Gallery Decoded .32 tilesets + .anm combat art
MM2ED Editor docs Edit .dat files with live hex + previews

Endianness reminder

Important

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


What's still unknown?

Open Questions tracks unresolved fields and next ASM trace targets.

🏠 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