Game Internals › Alternate Reality: The Dungeon

Alternate Reality: The Dungeon

Datasoft's 1987 role-playing game, on the Apple II. The pages below were decoded from the game's own code with Claude in 2026. My notes from 2008, and the files they came with, are further down this page.

2008 notes

These are my notes from back in 2008, when I was manually reverse engineering The Dungeon internals. All other sections are 2026 or later, with Claude.

  • Item format - A file describing how items (including spells) are represented in memory in the dungeon. This is the entirety (well almost) of my current knowledge.
  • Monster format - A file describing how monsters are represented on disk in the dungeon. Some aspects are still unknown. The in-memory representation is different, and many monsters run custom code on loading to alter their stats (such as novices setting guild and alignment, or the thief template modifying itself into a cutthroat or brigand).
  • Weapons - File from Guilherme de Sousa, discussing dungeon item format.
  • Dan Pinal on Weapon stats - One of the developers of the dungeon talking about specifics of a few weapons.
  • Dan Pinal on items - Dan Pinal talking about how dungeon items are stored.
  • Weapon damages - Appraisals by the Enchantress on many weapons and armor. From Jason Frear.

As far as I can tell, Weapons and Shields are different only in name. Shields tend to have low damage and high parry, and weapons the other way around.