In article <
157118926...@zzo38computer.org>,
<ne...@zzo38computer.org.invalid> wrote:
>Download:
>
http://zzo38computer.org/zmachine/interp/zmachine.ps
>
>Specify the story file name as a command-line argument (I don't know if
>any PostScript implementation other than Ghostscript allows PostScript
>files to take command-line arguments; in case you are using a different
>one, you can know to make an array called ARGUMENTS in userdict which
>contains the command line arguments).
What version of Ghostscript do I need?
It doesn't seem to like my passing the argument on the command-line:
adam@air-wired:~/Documents/src$ gs-noX11
zmachine.ps /Users/adam/Documents/IF/LTOI/zork1.z3
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Regu font from %rom%Resource/Font/NimbusMonL-Regu... 3697096 2108832 2731760 1444260 1 done.
Loading NimbusRomNo9L-Regu font from %rom%Resource/Font/NimbusRomNo9L-Regu... 3697096 2161856 2731760 1447742 1 done.
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 3697096 2206244 2751944 1454565 1 done.
Error: /undefined in ARGUMENTS
Operand stack:
Zstory
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:85/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 704
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Adam