Retrochallenge Progress

I’ve established that the Infocom Z machine interpreter I have for CP/M is limited to version 3 story files and have therefore spent the last day or so trying to decide which course would be best to take for development of the game.  I’ve opted for Inform version 5.5 for DOS which I downloaded at the excellent ifarchive.  This is one of the last versions of Inform that will compile version 3 story files.  I was advised by DavidK over at the interactive fiction forum that Inform 6.15 is actually the last version that supports version 3.

He was also kind enough to point me in the direction of Dave Bernazzani’s minform library which is a stripped down Inform Library created to allow small z3 files.  Using the Inform Designers Manual by Graham Nelson I created a few rooms and objects, compiled and transferred the results to the PX-8.  Using the trick of renaming the file zork1.dat I successfully ran the game which was a nice moment.

Despite my attempts to keep descriptions as short and concise as possible the PX-8’s display doesn’t really lend itself to the task at hand, the story file will however of course run on a wide variety of retro machines so I still hope to create a decent end product.  I rather feel as though deciding to create a text adventure for the PX-8 was akin to deciding to create a new blend of tea for a chocolate tea pot but never mind.

Oh and before the pedants jump on me, I’m aware of the slightly odd notion of using compass bearings aboard a ship in orbit around Saturn but hey ho.

Here is some rather shaky footage of game running on the PX-8:-

 

Infocom Z-machine Interpreter for CP/M

I’ve had what you might call a senior moment, or a Doh! moment.  Andy over at the Vintage Computer Forums pointed out that Infocom games do of course come as two separate files, the game file (.dat) and the interpreter (.com) so I’ve had an interpreter for CP/M all along.

I downloaded some example story files in .z3 and .z5 format, moved them via floppy to my Windows 95 box and then via filink to the PX-8’s ram disk.  After copying Zork1.com from 5.25-inch floppy to the ram disk I tried changing the names of the story files to zork1.dat.  This did the trick for the .z3 files which loaded and ran, the .z5 files however would not work.

The current situation then is I need to find a way of creating my adventure and compiling it into a version 3 story file in order to play it on the PX-8.  This makes sense really as the the file size limit for version 3 files is 128K.

In the meantime I continue to map the layout of the game and create object and room descriptions.  I want to keep these concise, not only to preserve memory but to ensure they will suit the PX-8’s 80 column 8 line display.  I also have clear ideas for a few puzzles which I hope I can implement.

Retrochallenge Initial Thoughts

I recently wrote how I’d managed to acquire some classic Level 9 and Infocom text adventures that would run on my Epson PX-8.  I’ve always been a great fan of interactive fiction (IF) and some years ago I remember spending many hours writing a Star Trek themed adventure using The Quill on my Commodore 64.  As with most of my projects it showed great promise but was never finished.

I’d quite like therefore to make another attempt at such a project although I’m not sure I’m going to be able to shoehorn this in as a genuine Retrochallenge project.  Short of writing the whole thing in BASIC, which given my ham-fisted, clunky approach to coding isn’t going to happen, I’m not sure how much development will actually involve a retro machine.

Ideally I’d like to produce a game that can be played on a variety of retro platforms providing they have a Z-Machine interpreter, somewhat unfortunately one of the few platforms I don’t seem to able to find an interpreter for is CP/M.  There are a number of solutions out there for creating IF, this morning I had a quick play with Inform7 which uses a natural language approach to building your game.  I was able to quickly knock up a few rooms and objects but the system soon had me scratching my head when I tried to create anything complex.  Also, having created only a few rooms, objects and descriptions the game file was already too large for the PX-8.

I’ve decided to base the game on the 1972 film Silent Running which in my view is one of the all time great Science Fiction films, so I settled down to watch it this afternoon and used the PX-8 to write some initial room descriptions.   I’ll have another play with Inform but given the file size issue it looks as though I’m going to need another solution if this thing is ever going to run on the PX-8, either that or stick to a two or three room adventure.