Inform 7 Handbook by Jim Aikin

Total Page:16

File Type:pdf, Size:1020Kb

Inform 7 Handbook by Jim Aikin Inform 7 Handbook by Jim Aikin version 2.0 (May 2015) valid for 6L38 1 The Inform 7 Handbook is copyright (c) 2015 by Jim Aikin. The Inform 7 Handbook has been released under and is subject to the terms of the Creative Commons Public License, the terms of which are hereby incorporated by reference. Please see Appendix C of this book and read it before using this material. Your use of this material signifies your agreement to the terms of the License. You are free to copy, distribute, and transmit this work, and you are free to excerpt and adapt it, in whole or in part, subject to the following conditions: 1) You must attribute the work by prominently displaying the words “Inform 7 Handbook, by Jim Aikin.” 2) You may not in any way suggest that Jim Aikin endorses you or your use of the Inform 7 Handbook. 3) You may not receive any monetary or other compensation for your copying, distribution, or transmission of this work, nor for any derivative work that incorporates it, in whole or in part. 4) If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. 5) For any reuse or distribution, you must make clear to others the license terms of this work by incorporating the text of the license (see Appendix C), or by including a link to a Web page wherein the license resides. 2 Table of Contents Foreword................................................................................................................................................8 Acknowledgments............................................................................................................................11 About the Author..............................................................................................................................11 Chapter 1: Getting Started.................................................................................................................12 Downloading & Installing................................................................................................................14 The Inform 7 Program......................................................................................................................14 The Page Headers........................................................................................................................16 The Go! Button............................................................................................................................20 The Release Button......................................................................................................................22 Other Features..............................................................................................................................23 Using the Built-In Documentation...................................................................................................23 What Happens in a Game.................................................................................................................24 Entering Commands....................................................................................................................25 Downloading & Playing Games.......................................................................................................29 What’s This .z8 Stuff All About, Anyway?.................................................................................29 Writing Your First Game..................................................................................................................31 From the Top................................................................................................................................32 The Detail Trap............................................................................................................................33 Title Trickery...............................................................................................................................33 Telling a Story..............................................................................................................................35 Managing Your Project(s)............................................................................................................35 About Inform Source Code..........................................................................................................36 All About Bugs.................................................................................................................................36 Testing Your Game...........................................................................................................................38 Using the Debugging Commands.....................................................................................................39 Another Way to Debug................................................................................................................41 Puzzles..............................................................................................................................................43 Extensions for Inform.......................................................................................................................44 Where to Learn More.......................................................................................................................46 Chapter 2: Rooms & Scenery.............................................................................................................47 Creating Your First Room................................................................................................................48 Scenery.............................................................................................................................................51 The Names of Things...................................................................................................................52 How Much Scenery Is Enough?..................................................................................................55 Distant Scenery.................................................................................................................................56 Adding More Rooms to the Map......................................................................................................58 The Great Outdoors..........................................................................................................................61 Enterable Scenery.............................................................................................................................64 Doors................................................................................................................................................65 Locked Doors...............................................................................................................................67 Secret Doors.................................................................................................................................69 3 Dangerous Doors.........................................................................................................................70 Travel by Fiat...................................................................................................................................71 Windows...........................................................................................................................................71 “You can’t go that way.”...................................................................................................................72 Duplicate Exits & Twisty Connections............................................................................................73 Hallways with Lots of Doors.......................................................................................................75 Changing the Map During the Game...............................................................................................76 Regions.............................................................................................................................................78 Backdrops.........................................................................................................................................80 Removing a Backdrop.................................................................................................................80 Dark Rooms......................................................................................................................................81 Backdrops in Dark Rooms...........................................................................................................84 Seemingly Identical Rooms..............................................................................................................84 Floorless Rooms...............................................................................................................................85 When Is a Room “visited”?..............................................................................................................85 More About Room Descriptions.......................................................................................................87 Chapter 3: Things................................................................................................................................90 Creating Things................................................................................................................................90
Recommended publications
  • Alan Adventure System V3.0
    The ALAN Adventure Language Reference Manual Version 3.0beta2 Alan Adventure System - Reference Manual This version of the manual was printed on September 26, 2011 - ii - Alan Adventure System - Reference Manual Table of Contents 1 INTRODUCTION.........................................................................11 1.1 Programmer’s Pitch........................................................................................................12 1.2 To the Reader.................................................................................................................12 2 CONCEPTS......................................................................................13 2.1 What Is An Adventure?................................................................................................13 2.2 Elements Of Adventures.................................................................................................15 2.3 Alan Fundamentals.......................................................................................................16 What Is A Language?....................................................................................................................................16 The Alan Idea..................................................................................................................................................18 What’s Happening?........................................................................................................................................18 The Map..........................................................................................................................................................19
    [Show full text]
  • DESIGN-DRIVEN APPROACHES TOWARD MORE EXPRESSIVE STORYGAMES a Dissertation Submitted in Partial Satisfaction of the Requirements for the Degree Of
    UNIVERSITY OF CALIFORNIA SANTA CRUZ CHANGEFUL TALES: DESIGN-DRIVEN APPROACHES TOWARD MORE EXPRESSIVE STORYGAMES A dissertation submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in COMPUTER SCIENCE by Aaron A. Reed June 2017 The Dissertation of Aaron A. Reed is approved: Noah Wardrip-Fruin, Chair Michael Mateas Michael Chemers Dean Tyrus Miller Vice Provost and Dean of Graduate Studies Copyright c by Aaron A. Reed 2017 Table of Contents List of Figures viii List of Tables xii Abstract xiii Acknowledgments xv Introduction 1 1 Framework 15 1.1 Vocabulary . 15 1.1.1 Foundational terms . 15 1.1.2 Storygames . 18 1.1.2.1 Adventure as prototypical storygame . 19 1.1.2.2 What Isn't a Storygame? . 21 1.1.3 Expressive Input . 24 1.1.4 Why Fiction? . 27 1.2 A Framework for Storygame Discussion . 30 1.2.1 The Slipperiness of Genre . 30 1.2.2 Inputs, Events, and Actions . 31 1.2.3 Mechanics and Dynamics . 32 1.2.4 Operational Logics . 33 1.2.5 Narrative Mechanics . 34 1.2.6 Narrative Logics . 36 1.2.7 The Choice Graph: A Standard Narrative Logic . 38 2 The Adventure Game: An Existing Storygame Mode 44 2.1 Definition . 46 2.2 Eureka Stories . 56 2.3 The Adventure Triangle and its Flaws . 60 2.3.1 Instability . 65 iii 2.4 Blue Lacuna ................................. 66 2.5 Three Design Solutions . 69 2.5.1 The Witness ............................. 70 2.5.2 Firewatch ............................... 78 2.5.3 Her Story ............................... 86 2.6 A Technological Fix? .
    [Show full text]
  • Metadefender Core V4.12.2
    MetaDefender Core v4.12.2 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of Metadefender Core 14 1. Quick Start with Metadefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 21 1.3. Scan Files with Metadefender Core 21 2. Installing or Upgrading Metadefender Core 22 2.1. Recommended System Requirements 22 System Requirements For Server 22 Browser Requirements for the Metadefender Core Management Console 24 2.2. Installing Metadefender 25 Installation 25 Installation notes 25 2.2.1. Installing Metadefender Core using command line 26 2.2.2. Installing Metadefender Core using the Install Wizard 27 2.3. Upgrading MetaDefender Core 27 Upgrading from MetaDefender Core 3.x 27 Upgrading from MetaDefender Core 4.x 28 2.4. Metadefender Core Licensing 28 2.4.1. Activating Metadefender Licenses 28 2.4.2. Checking Your Metadefender Core License 35 2.5. Performance and Load Estimation 36 What to know before reading the results: Some factors that affect performance 36 How test results are calculated 37 Test Reports 37 Performance Report - Multi-Scanning On Linux 37 Performance Report - Multi-Scanning On Windows 41 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3. Configuring Metadefender Core 50 3.1. Management Console 50 3.2.
    [Show full text]
  • Metadefender Core V4.13.1
    MetaDefender Core v4.13.1 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of Metadefender Core 14 1. Quick Start with Metadefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 21 1.3. Scan Files with Metadefender Core 21 2. Installing or Upgrading Metadefender Core 22 2.1. Recommended System Requirements 22 System Requirements For Server 22 Browser Requirements for the Metadefender Core Management Console 24 2.2. Installing Metadefender 25 Installation 25 Installation notes 25 2.2.1. Installing Metadefender Core using command line 26 2.2.2. Installing Metadefender Core using the Install Wizard 27 2.3. Upgrading MetaDefender Core 27 Upgrading from MetaDefender Core 3.x 27 Upgrading from MetaDefender Core 4.x 28 2.4. Metadefender Core Licensing 28 2.4.1. Activating Metadefender Licenses 28 2.4.2. Checking Your Metadefender Core License 35 2.5. Performance and Load Estimation 36 What to know before reading the results: Some factors that affect performance 36 How test results are calculated 37 Test Reports 37 Performance Report - Multi-Scanning On Linux 37 Performance Report - Multi-Scanning On Windows 41 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3. Configuring Metadefender Core 50 3.1. Management Console 50 3.2.
    [Show full text]
  • The Post Infocom Text Adventure Collection
    The Post Infocom Text Adventure Collection Many of us played and loved the text adventures produced by Infocom in the 1980’s. They were rich in story and puzzles, and contained some excellent writing. In the years since Infocom’s demise in 1989, there have been a lot of good games produced using the Z-Machine - the game format that Infocom was using. This gives us a chance to make these modern-day games run on the computers of the 80’s, like the Commodore 64. I decided to create a collection of Z-machine games for the C64, and this is it. All in all, it’s 31 games, released in 1993-2015. Each game has been put into its own directory, in which is also an empty disk for game saves and a file called AUTOSWAP.LST to make life easier for people using the SD2IEC diskdrive substitute. If you haven’t played text adventures before, or feel that you never got the hang of it, you should read the chapter How to play a text adventure. If you want more of a background on Infocom and the game format they used, you should read the chapter about The Zork Machine at the end of this document. There is also a chapter about the process of porting Z-machine games to the C64 and, finally, a chapter about writing your own games. I created this documentation as a PDF, so that you could easily print it out and keep it nearby if you’re enjoying the collection on a real C64.
    [Show full text]
  • With the 24Th Annual Ifcomp Just Around the Corner (July 1St) We Spoke to the New Organizer Jacqueline Ashwell to Get Some Histo
    With the 24th annual IFComp just around the corner (July 1st) we spoke to the new organizer Jacqueline Ashwell to get some history on the event and what to expect from the overlooked niche. Q - What is IFComp and what is its purpose? IFComp, formally called The Annual Interactive Fiction Competition, is a game design competition that welcomes all kinds of text-driven digital stories and games, which are made freely available in order to encourage the creation, play, and discussion of interactive fiction. Q - For the sake of the competition what counts as IF? The IFComp defines interactive fiction in fairly broad terms as videogames whose player interactions center on text. We’ve watched interactive fiction evolve over the decades, and we’re not out to constrain that evolution. Q - The competition has been running since 1995, how do you feel it, and other competitions have affected the IF landscape? The competitions give authors two key things: structure and venue. Anyone at any time can write and release anything they want to. Some people need a deadline to make that passion project happen, and the comps provide that. Some people, left unchecked, will endlessly add to the scope of their game, possibly to the point that it would otherwise never see the light of day, and the comps can help constrain that sprawl. Some people don’t know how to promote their game to ensure people can find it or get the feedback to learn and grow, and the comps help with that. Q - The IFComp has an interesting prize pool system where donors can enter prizes ranging from cash to food to professional services.
    [Show full text]
  • Electronic Literature” Was Going on at the Boston Public Library That Evening of April 25, 2001
    one THE PLEASURE OF THE TEXT ADVENTURE It was strange enough that a reading of “electronic literature” was going on at the Boston Public Library that evening of April 25, 2001. About a hun- dred people were gathered in the main auditorium, lured by the publicity from sponsoring organizations—the Boston Cyberarts Festival and the Electronic Literature Organization—and clearly interested to see what new sorts of literary works people were creating for computers. The focus was not only on the author on stage, but also on the image being projected from a computer beside the author. But was something wrong with the screen as the first reader looked up to introduce his work? Instead of a Web browser or some sort of e-book interface, as one would expect from contemporary computers, there was an obsolete-looking command line.Was this going to be some homage to antiquated entertainment software of the 1980s? A nod to the influence of Pac-Man, or something, before the more serious stuff kicked in? It may have been hard to tell what it was, for Adam Cadre had only a few minutes to start in on a reading of Photopia, a work of interactive fic- tion in different segments, each of which is told in a different voice. The work, winner of the 1998 Interactive Fiction Competition, used an inter- face that would be familiar to players of the famous early interactive fiction Zork, but Photopia was in many ways unlike anything that had been done in the 1980s or at any time before.
    [Show full text]
  • A Sequence of Possibilities
    A Sequence of Possibilities Constructive fictions, quantum authoring, and the search for an ideal story system A thesis paper submitted in partial satisfaction of the requirements for the degree of Masters of Fine Arts in Digital Arts and New Media University of California Santa Cruz by Aaron A. Reed June 2011 [Edition 1: June 9, 2011] ABSTRACT The rise of the interactive story over the past few decades has presented the- orists and authors with a number of significant conceptual challenges, among the most foundational of which is the question of how to produce compelling experi- ences with nondeterministic and participatory narratives. While some preliminary attempts at creating taxonomies to catalogue the space of interactive stories have been advanced, there is still a confusion in both terminology and practice of what to call and how to understand the interactive story. I propose to define a particular subset of interactive story which I find most fascinating, the story system, a machine that enacts an ergodic multi-form story using procedures to both vary the narrative and encourage complete traversals. I profile several existing story systems, includ- ing 1893: A World’s Fair Mystery, Echo Bazaar, and Balance of Power: 21st Cen- tury. I then discuss a set of experimental interactive narratives I created or helped author content for as part of my MFA thesis work, discussing both how they func- tion in relation to existing paradigms such as interactive fiction and hypermedia, and how they relate to the new concept of the story system. Several insights arose out of these experiments, including the concept of quantum authoring, where au- thors must keep a number of possible story states superimposed in their heads while creating content, and the need for better tools and high-level systems for authoring and managing procedurally narrative stories.
    [Show full text]
  • The Z-Machine Standards Document: Contents
    The Z-Machine Standards Document: Contents The Z-Machine Standards Document Version 1.0 22nd June 1997 two misprints corrected, 9th August resources appendix updated and discovery added to header table, 4th September ● Preface ● Overview of Z-machine architecture Fundamentals ● 1. The memory map ● 2. Numbers and arithmetic ● 3. How text and characters are encoded ● 4. How instructions are encoded ● 5. How routines are encoded ● 6. The game state: storage and routine calls Input/Output ● 7. Output streams and file handling ● 8. The screen model ● 9. Sound effects ● 10. Input streams and devices Tables ● 11. The format of the header ● 12. The object table ● 13. The dictionary and lexical analysis Instruction Set ● 14. Complete table of opcodes (with Inform assembly syntax) file:///D|/doc/zspec10/index.html (1 of 2) [6/22/2000 4:34:11 PM] The Z-Machine Standards Document: Contents ● 15. Dictionary of opcodes An Unusual Font ● 16. Font 3 and character graphics Appendices ● A. Error messages and debugging ● B. Conventional contents of the header ● C. Resources available (with WWW links) ● D. A short history of the Z-machine ● E. Statistics ● F. Canonical story files file:///D|/doc/zspec10/index.html (2 of 2) [6/22/2000 4:34:11 PM] The Z-Machine Standards Document: Preface Preface The Z-machine was created on a coffee table in Pittsburgh in 1979. It is an imaginary computer whose programs are adventure games, and is well-adapted to its task, implementing complex games remarkably compactly. They were still perhaps 100K long, too large for the memory of the home computers of their day, and the Z-machine seems to have made the first usage of virtual memory on a microcomputer.
    [Show full text]
  • IF Theory Reader
    IF Theory Reader edited by Kevin Jackson-Mead J. Robinson Wheeler > Transcript On Press Boston, MA All authors of articles in this book retain their own copyrights. Neither the editors nor the publisher make any copyright claims. Version 1, March 2011. Version 2, April 2011. Please send corrections to [email protected]. Contents Preface Crimes Against Mimesis 1 Roger S. G. Sorolla Theory Toward a Theory of Interactive Fiction 25 Nick Montfort Characterizing, If Not Defining, Interactive Fiction 59 Andrew Plotkin not that you may remember time: Interactive Fiction, Stream-of-Consciousness Writing, and Free Will 67 Mark Silcox 2 Brief Dada Angels 89 Ryan Stevens, writing as Rybread Celsius Object Relations 91 Graham Nelson IF as Argument 101 Duncan Stevens The Success of Genre in Interactive Fiction 111 Neil Yorke-Smith Parser at the Threshold: Lovecraftian Horror in Interactive Fiction 129 Michael Gentry Distinguishing Between Game Design and Analysis: One View 135 Gareth Rees Natural Language, Semantic Analysis, and Interactive Fiction 141 Graham Nelson Afterword: Five Years Later 189 Graham Nelson Craft Challenges of a Broad Geography 203 Emily Short Thinking Into the Box: On the Use and Deployment of Puzzles 229 Jon Ingold PC Personality and Motivations 249 Duncan Stevens Landscape and Character in IF 261 Paul O’Brian Hint Development for IF 279 Lucian Smith Descriptions Constructed 291 Stephen Granade Mapping the Tale: Scene Description in IF 299 J. Robinson Wheeler Repetition of Text in Interactive Fiction 317 Jason Dyer NPC Dialogue Writing 325 Robb Sherwin NPC Conversation Systems 331 Emily Short History 10 Years of IF: 1994–2004 359 Duncan Stevens The Evolution of Short Works: From Sprawling Cave Crawls to Tiny Experiments 369 Stephen Granade History of Italian IF 379 Francesco Cordella Racontons une histoire ensemble: History and Characteristics of French IF 389 Hugo Labrande Preface This is a book for which people in the interactive fiction community have been waiting for quite some time.
    [Show full text]
  • Z-Machine and Descendants
    Glk! A universal user interface for IF! Andrew Plotkin — BangBangCon ’17 Glk! A universal user interface! for interactive fiction! Relatively universal, anyhow. Universal-ish. # 1 Glk! A universal user interface for IF! Andrew Plotkin — BangBangCon ’17 Andrew Plotkin [email protected] http://zarfhome.com/ https://github.com/erkyrath @zarfeblong on Twitter Glk, Glulx, Hadean Lands, System’s Twilight, Spider and Web, Capture the Flag with Stuff, Shade, this t-shirt I’m wearing, Seltani, The Dreamhold, Branches and Twigs and Thorns, quite a lot of adventure game reviews, Praser 5, Boodler, A Change in the Weather, an imperfect diagram of the Soul Reaver timeline, Dual Transform, Draco Concordans, and you know how that game Mafia is also called Werewolf? Ok, funny story there — # 2 Glk! A universal user interface for IF! Andrew Plotkin — BangBangCon ’17 Zork 1 (Infocom) # 3 GrueFacts™: A grue can eat doughnuts indefinitely. Glk! A universal user interface for IF! Andrew Plotkin — BangBangCon ’17 Z-machine and descendants 1979: Z-machine design 1980: Z-machine version 3 (Zork 1) 1985: Z-machine version 4 (A Mind Forever Voyaging) 1987: ITF (first open-source Z-interpreter) 1988: Z-machine version 6 (Zork Zero) 1989: Infocom shuts down 1993: Inform (Curses) 1994: Inform 5 1996: Inform 6 1997: Glk spec 1999: Glulx spec 2006: Inform 7 2008: Parchment (first Javascript Z-interpreter) # 4 GrueFacts™: The first grue to swim around the world was named Amelia Nosewig. Glk! A universal user interface for IF! Andrew Plotkin — BangBangCon ’17 XZip (Curses, Graham Nelson) # 5 GrueFacts™: Grues live an average of 67 years, after which they retire to Iceland.
    [Show full text]
  • Metadefender Core V4.17.3
    MetaDefender Core v4.17.3 © 2020 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of MetaDefender Core 14 1. Quick Start with MetaDefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 21 1.3. Process Files with MetaDefender Core 21 2. Installing or Upgrading MetaDefender Core 22 2.1. Recommended System Configuration 22 Microsoft Windows Deployments 22 Unix Based Deployments 24 Data Retention 26 Custom Engines 27 Browser Requirements for the Metadefender Core Management Console 27 2.2. Installing MetaDefender 27 Installation 27 Installation notes 27 2.2.1. Installing Metadefender Core using command line 28 2.2.2. Installing Metadefender Core using the Install Wizard 31 2.3. Upgrading MetaDefender Core 31 Upgrading from MetaDefender Core 3.x 31 Upgrading from MetaDefender Core 4.x 31 2.4. MetaDefender Core Licensing 32 2.4.1. Activating Metadefender Licenses 32 2.4.2. Checking Your Metadefender Core License 37 2.5. Performance and Load Estimation 38 What to know before reading the results: Some factors that affect performance 38 How test results are calculated 39 Test Reports 39 Performance Report - Multi-Scanning On Linux 39 Performance Report - Multi-Scanning On Windows 43 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3.
    [Show full text]