Vengeance of Excalibur

Vengeance of Excalibur (1991, Synergistic Software / Virgin Games) is the sequel to Spirit of Excalibur, moving the action from post-Arthurian Britain to a re-imagined medieval Spain woven through with Arabian Nights and Arthurian fantasy elements — the demonic Shadowmaster has entrapped the King and stolen the court enchantress Nineve, and the game plays out across seven episodes/scenarios of overhead-map travel, town encounters, and turn-based combat.
This is one of the most thoroughly reverse-engineered games in the middilgard project — every major data format is decoded and cross-verified against the game’s own disassembled loading/rendering code.
What’s been decoded
Section titled “What’s been decoded”| Area | Status |
|---|---|
| IMAG (bitmap images) | 496/496 |
| FRML (animation sprites) | 55/55 |
| Palette system | 18 PALT resources. Each scene’s palette is _apPaletteIndex[(descriptor >> 18) & 0x3f] (the 14-byte table at DATA+0x740, identical on DOS VGA). Applying it per scene took the objects drawn under the wrong PALT in this project’s scene viewer from 1,854 of 4,637 (in 184 of 266 scenes) to 0 on both platforms |
| World map + tile atlas | 123×101 tiles, byte-exact Iberian coastline |
| Entity data | 92 unique entities across 7 scenarios |
| Location data | 74 named locations, shared across episodes |
| Item types | 61 items — weapons, armour, spells, treasure |
| Item placements | 172 placements across 7 scenarios (24/16/37/32/21/15/27). Corrected from 130: the placement table’s base was read 28 bytes late (0x26bc, really 0x26a0), the 2026-11-13 audit found |
| Entity-class bytecode VM | 34 classes, the same “FSME” VM as Spirit of Excalibur. _DoAnim, _DoFrmlScript and every opcode handler run on the original code with 0 mismatches; death animations are re-derived from script entry 12 (see the Animation Gallery) |
Save format (EPISODE<n>.DAT) |
A 38-record _Save/_Restore chain read from the code: 10,474 bytes, the size of every Amiga episode file; the DOS files’ 10,280 accounted for to the byte. The episode file replaces the compiled defaults before anything plays |
| Game logic | The army round, the duel, map movement, encounters, doors, mercenaries, items and trade, scenes and events, saves and the animation VM all run on the original 68000 code and agree with this project’s rules on every vector, each with a null control. Only the viewer’s battle sandbox plays any of it. See How We Verified the Rules |
Scene rendering (SCEN) |
266/266 resources, fully traced, zero deviation |
| Terrain factor/type tables | Confirmed statically compiled in the executable |
| DOS VGA port | 467 IMAG, 51 FRML, same world map — verified end-to-end |
Text (CSTR) |
Every string now exported through its resource’s own codec. Printable strings, raw read to codec read: Amiga 191 to 248 of 248 (57 were LZSS and came out as noise before), DOS VGA 191 to 248 of 248, and the English/German/French DOS release 666 to 1,328 of 1,328. Amiga and DOS VGA agree on 247 of 248 strings by id; the one difference (hint 239) is a real text change |
Two items remain open (wiring the verified rules into screens, and an exporter follow-up), both listed on Status & Open Work.
Explore
Section titled “Explore”- How We Verified the Rules: the original 68000 code run routine by routine beside this project’s TypeScript, where it differs from Spirit’s, and the corrections it forced.
- Items — the full 61-entry weapon/armour/spell/treasure catalogue.
- The Map — the 123×101 tile strategic map of Iberia, with all 74 named locations.
- Scene Viewer Gallery — six named locations rendered as full landscape-plus-object composites, the same way the game itself draws them.
- Animation Gallery — all 55 decoded FRML animation-sprite sheets, with their derived frame-segmentation.
The container and pixel formats Vengeance shares with the other four games are documented once, in Shared Formats.
Source of truth
Section titled “Source of truth”These pages are a curated summary of the main repository’s raw research
notes (not part of this site) — and where they disagree, the raw notes
win: docs/vengeance/plan.md for the full reimplementation status, and
docs/vengeance/amiga/engine.md and gameplay-data.md for the byte-level
evidence, and docs/vengeance/amiga/logic-harness.md for every verified
routine.