-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinf.6
136 lines (122 loc) · 4.54 KB
/
inf.6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.\" Copyright (c) 2019, 2024 Andy Kosela <[email protected]>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in
.\" the documentation and/or other materials provided with the
.\" distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''
.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
.\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd December 6, 2024
.Dt INF 6
.Os
.Sh NAME
.Nm inf
.Nd Inform 6 programming language
.Sh SYNOPSIS
.Nm
.Ar game.inf
.Nm
.Op Fl 5
.Ar game.inf
.Nm
.Op Fl r
.Ar game.scr game.z3
.Nm
.Op Fl w
.Ar game.key game.z3
.Nm
.Op Fl h
.Pp
.Sh DESCRIPTION
Inform is a design system for interactive fiction, created in 1993.
Interactive fiction is a literary form which involves programming a
computer so that it presents a reader with a text which can be explored.
Inform aims to make the burden of learning to program such texts as
light as possible. It is a tool for writers intrigued by computing, and
computer programmers intrigued by writing. Perhaps these are not so
very different pursuits, in their rewards and pleasures:
The sheer joy of making things... the fascination of fashioning
complex puzzle-like objects of interlocking moving parts and
watching them work in subtle cycles... the delight of working in
such a tractable medium. The programmer, like the poet, works only
slightly removed from pure thought-stuff. He builds his castles in
the air, from air, creating by exertion of the imagination.
(Frederick P. Brooks, "The Mythical Man-Month", 1972)
Inform 6.15 was the last release which supported creating Z-code version
3 (ZIP) games which are suitable to be played on 8-bit micros. This
release specifically supports creating Atari XL/XE disk images.
More resources:
http://www.inform-fiction.org
http://www.ifarchive.org
http://en.wikipedia.org/wiki/Interactive_fiction
.Sh OPTIONS
The following command line arguments are supported:
.Bl -tag -width Fl
.It Fl 5
create Z-code V5 release.
.It Fl r
replay game from a transcript file.
.It Fl w
replay game from a walkthrough file.
.It Fl h
show usage.
.Sh EXAMPLES
.nf
$ inf game.inf
which compiles your source file into a Z-code v3 release. It also
creates Atari XL/XE MD disk image ready to be played.
If you have a transcript file from game, you can use the -r option to
replay it in game.z3
$ inf -r game.scr game.z3
You will receive three files.
game.scr - new transcript file
game.key - walkthrough file
game.qzl - save game from a transcript file
You can also construct a simple walkthrough file and then automatically
replay its sequence of commands in your games.
Example of a game.key
L
N
W
GET LAMP
SCORE
A walkthrough file can be very short, meant just to test some sequence
of commands within your game, or it can be a full solution walkthrough.
$ inf -w game.key game.z3
Once again you will receive three files.
game.scr - new transcript file
game.key - walkthrough file
game.qzl - save game from a walkthrough file
.Sh FILES
.Bl -tag -width ".Pa /usr/local/share"
.It Pa /usr/local/share/inform615
.Sh SEE ALSO
.Xr frotz 6
.Sh AUTHORS
.An Graham Nelson <[email protected]> -- Inform programming
language and compiler
.An Andy Kosela <[email protected]> -- inf tool and packaging
.Sh THANKS TO
Will Crowther and Don Woods for creating the original Adventure, Infocom
for the Z-machine standard and memorable titles like Zork, Graham Nelson
for designing this beautiful engine for creating worlds in text.
rec.arts.int-fiction and rec.games.int-fiction community of IF authors
and enthusiasts.