Reviving ZZT

ZZT was (is) an ancient shareware DOS game that runs in character mode, created and published by Tim Sweeney. Originally published by Potomac Computer Systems, a company ran out of the basement of Sweeney’s house, when it expanded its software selection it was renamed to Epic MegaGames, and later Epic Games, under which title it remains today, still headed by Tim Sweeney after all these years. He would go on to create the Unreal Engine, upon which the modern fortunes of the company were founded.

Images from the Worlds of ZZT bot

But back to ZZT, which is still a nifty piece of software, and a lot of fun to mess around with. It included an editor that allowed users to create their own scenarios, which spawned a modding community that survives to this day. Noted game designer and educator anna anthropy wrote a book about ZZT for Boss Fight and she continues to carry its banner today. ZZT scenarios both old and new can be found on the site Museum of ZZT, and every three hours Mastodon bot Worlds of ZZT publishes screenshots from random ZZT adventures.

Because it’s a character-mode game, ZZT modules are often confused with classic roguelike computer games. ZZT is not necessarily a roguelike, but it may be possible for someone to write a classic-style roguelike game in ZZT.

But running a DOS game nowadays is not as easy as it used to be. It requires the use of either a vintage computer system running a compatible DOS, a virtual machine like VirtualBox or Docker, or some DOS emulator, such as DOSbox, a tool for emulating a working DOS system that can run on current OSes, or Zeta, a DOS emulator with just enough features to get ZZT working.

ZZT was written in Turbo Pascal, but its source code had been misplaced by Tim Sweeney and was considered lost, until very recently (the past few days), when a nearly-complete version of ZZT 3.0 was found. Most of it can be downloaded from The Almost of ZZT, on Github, which is that version minus some parts of the source that are considered to be under third-party copyright.

Since it is incomplete it is not useful for compiling a working game, and is presented for historical reasons more than anything. Fortunately, there already exists The Reconstruction of ZZT, a reverse-engineered (with Sweeney’s blessing) version from 2020 that compiles to identical binaries.

ZZT is a subject that deserves much more detail than I can give it in an introductory post like this. Maybe later….

Video: The Sad End of Phil Katz

We mostly try to stick with games here, but just about everyone in the Windows ecosystem uses ZIP archive files. They’ve long become a de facto standard, with tools for working with them in Windows supplied by Microsoft as early as the Windows 95 Powertoys Plus! Pack. Nowadays, support for them is built right into Windows Explorer, and you can even open them like folders, which felt like some kind of magic when that feature debuted.

The ZIP format was once one of several competing compression and archiving formats, with others being LHA/LZH, ARC, ARJ, CAB, and of course on the Unix/Linux side of things Tar, Gzip and GZ. Other than the Unix types, those others are mostly dead now. There are some relative newcomers, RAR and 7Z, but most people just stick with ZIP without even caring to know of the format’s origins.

ZIP was the format produced by the shareware PKZip compression tools, named for its co-creator Phil Katz. Katz created it in response to a lawsuit from the company behind the (now obscure) SEA format. Rather than fight it, he and Gary Conway designed their own format and made tools to work with it. Then as now, the world loves an underdog, and many people flocked to the format. In 1989 they released the format to the public domain.

Phil Katz’s later life was ruined by alcoholism, which the above video from the Dave’s Garage YouTube channel is about. A sad end to someone who popularized a piece of technology that still sees use millions of times a day.

ZIP is so ubiquitous now that lots of people use it without even realizing. DOCX, ODF, EPUB, and JAR are all secret ZIP files under the hood.

Katz’s company PKWare remains to this day, although they’re now focused on data security, and as you can see from their website they now look exactly like the kind of faceless monolith that all tech companies eventually mutate into. They still steward the format, and in that tonedeaf way of corporations, now hold a forbidding number of patents, and claim, “The free license grant offered in prior APPNOTE publications has been discontinued.” Presumably people just use the last public domain version, since once something is in the public domain, it’s there forever, thank frog.

(EDIT: xot on Twitter mentions that Windows ZIP support first appeared in the Win95 Plus! Pack, correction made above.)

The Dark History of Zip Files (YouTube, Dave’s Garage)