Skip to content
Rex St. John
gamein progress

Spelljammer 1992 Reboot

A reboot of Spelljammer: Pirates of Realmspace (SSI, 1992), in progress at the Claude for Games hackathon in San Francisco on Oct 12, 2026.

Three.js / Vite / JavaScript / Ghidra / REA / MZap / Python / DOSBox-X

Video

The clone running in the browser (on X).

Problem

I played Spelljammer: Pirates of Realmspace in elementary school. Strategic Simulations published it in 1992, for DOS. I captained a magical ship through Realmspace, fought ballista duels, and boarded neogi warships.

I reached the end. A bug made the game impossible to finish. I never beat it. Today the original only runs in an emulator, and there is no way to play it in a browser.

Solution

A clean-room Three.js reimplementation that runs in the browser. The code is all new, written from what I worked out of the original's logic with Ghidra, REA, and the MZap overlay merge. Art, text, and music load at runtime from your own GOG copy. None of the game's files are in the repo.

Status: the full main quest, stages 0 through 9, is implemented. All 20 steps of the logic walkthrough test pass. Boarding fights, captain creation, and the ship and crew screens are built. A browser test that clicks through the real screens is in progress: 8 of 17 steps pass so far, and the citadel fight needs spells next.

Analysis

This is a clone, not a remake from memory. Every rule comes from the original's own code, recovered with Ghidra and REA after the MZap overlay merge exposed the hidden game logic. Where the community walkthrough and the code disagree, the code wins, and the difference is logged.

The walkthrough doubles as the test suite. Each quest step, written in my own words, is an automated check, and the clone has to pass all of them. Three.js makes the graphics the easy part. The real work is matching the original's numbers and screens exactly.

Clean room is the other constraint. The repo holds only new code and docs. The art, text, and music load at runtime from your own GOG copy, so the project can be public without shipping a single file from the 1992 game.

Screens

  • In-game screenshot of the Spelljammer title screen in the Three.js clone
    The title screen, running in the browser in the Three.js clone.
  • In-game screenshot of captain creation showing a human lawful good fighter's stats
    Captain creation. Sex, race, class, alignment, then rolled stats.
  • In-game screenshot of the Anadia port menu with the pub, temple, shipyard and store
    Docked at Anadia. The port menu with the pub, temple, shipyard and general store.
  • In-game screenshot of the Umberguard shipyard with the shipwright behind his desk
    The Umberguard shipyard, where you buy, sell and rename ships.
  • In-game screenshot of the ship in orbit around a planet
    In orbit, ready to leave and spelljam to the next port.
  • In-game screenshot of the first-person space view with an enemy ship closing in
    First-person space view. A Calamari ship moves to intercept.
  • In-game screenshot of a boarding battle on a top-down deck map
    Grapples away. A boarding fight on the enemy deck.
  • Architecture diagram: your own GOG install feeds runtime loaders, which feed the Three.js front end and rules modules
    Clean room by design. The game's art, text and music load from your own copy at runtime.
  • Terminal screenshot of npm test: 41 tests passing, including walkthrough steps W1 to W20
    A real run of npm test on a fresh clone: 41 of 41 pass, including all 20 walkthrough steps.