Scene Viewer Gallery
Six real, named locations, composited exactly as the game itself draws
them: a hand-painted landscape backdrop plus placed foreground/background
objects. Unlike War in Middle Earth (where a location’s close-up view is
procedurally generated per map tile from a seeded PRNG), Vengeance’s scenes
are authored — SCENES.RES ships 266 SCEN resources, one per
location/episode combination, each a small packed-bitfield list of object
placements. The format is fully traced end-to-end from _DrawScene/
_DrawScenePiece in the game’s executable — see
docs/vengeance/amiga/engine.md § “SCEN Format” in the main repo (not part
of this site) for the byte-level spec, confirmed byte-exact across all 266
resources with zero deviation.
These six PNGs were pre-rendered by tools/vengeance/render-scenes.ts
(every SCEN resource to its own screens/scene-<id>.png) and then
picked out by tools/vengeance/render-scene-gallery.ts for a mix of real
Iberian place names (Kurtuba/Córdoba, Aghranata/Granada, Ishbilliva/Seville,
Portsmouth) and the game’s fantastical Arabian-Nights-inflected locations
(City of Brass, Well of Souls) — a location whose id is 39 or lower resolves
to its SCEN resource directly (vengeanceSceneId(loc, scenario) in
src/assets/formats/scen.ts — no scenario multiplication needed for these
six, since they’re all loc <= 39).
Correction (2026-12-01): until now this page showed the wrong six scenes. The 2026-11-13 audit found the location table’s base had been read two slots late, so every name was paired with the scene two locations away: the images captioned here were
SCEN10, 11, 14, 26, 30 and 34, not 12, 13, 16, 28, 32 and 36. (The old “City of Brass”, for instance, was a walled Iberian town gate.) The repo’s gallery was re-pointed on 2026-11-18; this site’s copy is now resynced from it, and the captions and images agree. Source:docs/vengeance/audit-2026-11-13-changes.md, finding 1.
Each scene is drawn in its own palette: render-scenes.ts looks up
the scene’s PALT through _apPaletteIndex[(descriptor >> 18) & 0x3f],
as _DrawScene does. Since 2026-11-30 it also paints the scene’s
background fill (the low five bits of the scene’s flags byte)
before the objects; the fill is non-zero in 70 of the 266 scenes, and of
these six, Portsmouth (fill 9) and the Well of Souls (fill 15) carry one.
The interactive scene viewer in the main repo had been drawing every
object through a per-file palette guess (FILE_PALETTE_MAP) instead: 1,854 of 4,637 objects in
184 of 266 scenes came out in the wrong colours, now 0 on Amiga and DOS
VGA alike (null control: forcing scene 1 from PALT 1 to 2 adds exactly
its 34 objects). The viewer also now records each cropped image’s trimmed
offset (cropX/cropY), which had displaced 160 objects drawn from 9
cropped images. Source: docs/vengeance/amiga/engine.md § “Scene palette
in the tools” and docs/vengeance/audit-2026-11-13-changes.md.





