From lyndon@thingfish.v-wave.com  Sat Aug  1 18:49:45 1998
Received: from thingfish.v-wave.com (thingfish.v-wave.com [24.108.17.129])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA15581
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 1 Aug 1998 18:49:40 -0700 (PDT)
          (envelope-from lyndon@thingfish.v-wave.com)
Received: (from lyndon@localhost)
	by thingfish.v-wave.com (8.9.1/8.9.1) id TAA00988;
	Sat, 1 Aug 1998 19:49:20 -0600 (MDT)
Message-Id: <199808020149.TAA00988@thingfish.v-wave.com>
Date: Sat, 1 Aug 1998 19:49:20 -0600 (MDT)
From: lyndon@orthanc.ab.ca
Reply-To: lyndon@orthanc.ab.ca
To: FreeBSD-gnats-submit@freebsd.org
Subject: adventures should be magic
X-Send-Pr-Version: 3.2

>Number:         7466
>Category:       bin
>Synopsis:       new adventure magic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug  1 18:50:01 PDT 1998
>Closed-Date:    Thu Aug 6 23:26:53 PDT 1998
>Last-Modified:  Thu Aug  6 23:27:06 PDT 1998
>Originator:     
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
The Frobozz Magic Homing Pigeon Company
>Environment:

>Description:

This PR contains additional magic for file(1) describing
various adventure game data files.

>How-To-Repeat:

>Fix:
	
Add the following to /usr/src/usr.bin/file/Magdir/adventure:


#------------------------------------------------------------------------------
# adventure:  file(1) magic for Infocom (and other) adventure games
#
# Adventure game formats
#
# from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
# Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998
#
# Contributed to FreeBSD by Lyndon Nerenberg <lyndon@orthanc.ab.ca>.
# This file was taken from the Interactive Fiction archives at
# ftp://ftp.gmd.de/if-archive/utilities/magic (*the* place for text
# adventure games from a by-gone era). Please send me updates and
# I'll make sure they get back to the GMD archives. (1998 AUG 1)
#
# ALAN
# I assume there are other, lower versions, but these are the only ones I
# saw in the archive.
#
0	beshort	0x0206	ALAN text adventure code data
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: phk 
State-Changed-When: Tue Aug 4 02:24:54 PDT 1998 
State-Changed-Why:  
Please submit the file in uuencoded format, the gnats software just 
loves files with '>' in them. 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Thu Aug 6 23:26:53 PDT 1998 
State-Changed-Why:  
committed, thanks 
>Unformatted:
 >2	byte	<10	version 2.6%d
 #
 # Infocom
 #
 # (Note: to avoid false matches Z-machine version 1 and 2 are not
 # recognized since only the oldest Zork I and II used them.  Similarly
 # there are 4 Infocom games that use verion 4 that are not recognized.)
 #
 0	byte	3	Infocom game data (Z-machine 3,
 >2	beshort	<0x7fff	Release %3d,
 #>26	beshort >0	Size %d*2
 >18	string	>\0	Serial %.6s)
 0	byte	5	Infocom game data (Z-machine 5,
 >2	beshort	<0x7fff	Release %3d,
 #>26	beshort >0	Size %d*4
 >18	string	>\0	Serial %.6s)
 0	byte	6	Infocom game data (Z-machine 6,
 >2	beshort	<0x7fff	Release %3d,
 #>26	beshort >0	Size %d*8
 >18	string	>\0	Serial %.6s)
 0	byte	8	Infocom game data (Z-machine 8,
 >2	beshort	<0x7fff	Release %3d,
 #>26	beshort >0	Size %d*8
 >18	string	>\0	Serial %.6s)
 #
 # TADS (Text Adventure Development System)
 #
 0	string	TADS	TADS adventure game data
 >13	string	>\0	(ver. %.6s,
 >22	string	>\0	date %s)
