Usage: zmachine [ -p protocolfile ] [ -w protocol linewith ] [ -s storyfile ] [ -r restorefile ] [ <storyfile>.dat ] [ <restorefile>.sav ] -p protocolfile : send output after script command to protocolfile -w protocol linewith: set protocol linewith to linewith -s storyfile : use storyfile (only necessary if storyfile ends not with .dat) -r restorefile : restore savefile restorefile before starting game (only necessary if restorefile ends not with .sav) <storyfile>.dat : use storyfile.dat <restorefile>.sav : restore restorefile.dat -cli : ZMachine will not prompt user to hit return on exit. -nowrap : Do not handle long lines the "amiga" way. May be necessary for running on some non-amiga terminals over serial connection. If you call zmachine without arguments, it trys to open the file Story.Data on the current working directory.
Notice the default file extensions. Zmachine checks and enforces these (case-sensitively) when started from CLI. If lots of people are bothered by this, I can change it.