←back to thread

156 points ChristopherDrum | 2 comments | | HN request time: 0.001s | source

I recently brought Infocom's original UNIX z-machine source code back to life on modern systems. The modified source code, instructions on usage, a build of the z-machine, and examples of embedded game executables are available.

There is also a detailed write-up about the state of the original source code, the porting process, and the invaluable role Justine Tunney's Cosmpolitan project played in bringing the Zork trilogy (and more) to Windows/Mac/Linux/bsd for arm/x86 machines over the course of a lazy Sunday.

Show context
hans_0l0 ◴[] No.43680032[source]
What is going on here?

[~/Downloads] $ chmod +x zork*

[~/Downloads] $ ./zork1

Cannot open assembly './zork1': File does not contain a valid CIL image.

replies(3): >>43680082 #>>43680218 #>>43682889 #
jchw ◴[] No.43680082[source]
Do you have some sort of binfmt_misc setup for Windows/.NET executables? You might be able to get it to work by running `sh ./zork1` instead.
replies(1): >>43686528 #
1. hans_0l0 ◴[] No.43686528[source]
Yay, this works :-)

West of House You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here.

replies(1): >>43687116 #
2. ChristopherDrum ◴[] No.43687116[source]
Wonderful, thanks for playing!