RogueForge

Rogue Restoration Project, Redux!

In 2026 we went back to first principles: the three source trees that survive close to their releases (Rogue 3.6, 5.2 and 5.4), and the original programs preserved in Berkeley's BSD distribution trees. Where a binary survives, a version is done when its source compiles back into it.

Claude, Anthropic’s AI model, did the heavy lifting, reading PDP-11 and VAX machine code one function at a time and rewriting C until the compilers of the day produced the very same bytes. Six versions so far. Nothing counted until it recompiled.

Each room is a version, joined by a corridor to the one it grew from; the pale corridor marks work that PC Rogue and Rogue 5.3 shared. Rog-O-Matic stands alone: it plays Rogue rather than descending from it. Lit rooms have been published in their Redux form, and lavender rooms are coming soon. Choose a room to read about it.

The versions of Rogue published in their Redux form, each joined to the one it grew from. Choose a room to read about it, or see every version below.

Why we started over

RogueForge has restored Rogue and its descendants since the early 2000s. Those restorations began from source code that happened to survive: copies passed between sites, edited, ported and edited again. None of them could say for certain what the code that Berkeley compiled in 1981 actually looked like.

In 2026 the Rogue Restoration Project went back to first principles. Three source trees survive that are likely close to their versions: Rogue 3.6, 5.2 and 5.4. And the programs themselves survive: the BSD distribution trees kept on Kirk McKusick's CSRG archive discs and at The Unix Heritage Society hold copies of the original executables. Start from the nearest source tree. Work out what the binary says it really was. Prove it by compiling with the compilers of the day and getting the same file, byte for byte. Read the whole story.

How a version is rebuilt

  1. Find the binary. Take the executable or object file from a dated distribution, such as Rogue 3.4 from 2.8BSD or Rogue 5.3 from 4.2BSD.
  2. Read the machine code. Disassemble and decompile it with Ghidra and radare2, after fixing their PDP-11 and VAX support well enough to trust.
  3. Write the C. Start from the closest surviving source, then change it function by function until each one compiles to the instructions in the binary.
  4. Prove it. Build with the original compiler, assembler and linker, ported to modern Linux, and compare the whole file. Done means the checksums match.

Claude did most of the reading, rewriting and recompiling, working alongside a person who decided what counted as evidence. How that worked.

Where things stand

Version Rebuilt from Result
Rogue 3.4 2.8BSD, PDP-11, May 1981 Byte-identical
Rogue 3.6 4.1BSD, VAX, October 1981 Byte-identical
2.9BSD, PDP-11, March 1983 Byte-identical
Rogue 4.22 4.1aBSD, VAX, March 1982 Byte-identical
Rogue 5.2 4.1BSD last tape, VAX, July 1982 Byte-identical
Rogue 5.3 4.2BSD, VAX, August 1983 Byte-identical, symbol table included
Rogue 5.4 4.3BSD, VAX, January 1986 Identical code, after two small patches

Every rebuilt version has its own repository under github.com/rogueforge, named for the date and system of the binary it matches.

Every version

Six versions of Rogue were rebuilt from their original binaries in 2026, and PC Rogue, Super-Rogue, Advanced Rogue and UltraRogue are coming soon. The rest are restorations from their authors' source, made between 1992 and 2006, and still waiting for the same treatment.

Rogue at Berkeley

Michael Toy, Glenn Wichman and Ken Arnold's game, as found with BSD Unix for the PDP-11 and the VAX.

VersionYearMachineStatus
Rogue 3.41981PDP-11Rebuilt from the binary
Rogue 3.61981VAX and PDP-11Rebuilt from the binary
Rogue 4.221982VAXRebuilt from the binary
Rogue 5.21982VAXRebuilt from the binary
Rogue 5.31983VAXRebuilt from the binary
Rogue 5.41985VAXRebuilt from the binary

Rogue on the PC

The A.I. Design version for the IBM PC, sold by Epyx, which grew from Berkeley's Rogue 5.2.

VersionYearMachineStatus
PC Rogue 1.481983–86IBM PCComing soon

Bell Labs and after

Larger games grown from the Rogue 3.6 source by programmers at AT&T, and the games that grew from those.

VersionYearMachineStatus
Super-Rogue 9.01983–84UnixComing soon
Advanced Rogue 1.01984UnixNot yet restored
Advanced Rogue 5.81984–86UnixComing soon
Advanced Rogue 5.8s1984–86UnixNot yet restored
Advanced Rogue 7.71986UnixComing soon
UltraRogue 1.0.71985–86UnixComing soon
XRogue 8.01989–91AT&T UNIX PCRestored from author source

Rog-O-Matic

Not a version of Rogue but a player of it: the program from Carnegie Mellon that plays the game by itself.

VersionYearMachineStatus
Rog-O-Matic XIV1984VAXRestored from author source