Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 1999 13:40:02 -0700 (PDT)
From:      dbushong@CSUA.Berkeley.EDU (David Bushong)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/12554: File to go in /usr/src/usr.bin/file/Magdir/warcraft2
Message-ID:  <199907252040.NAA83221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/12554; it has been noted by GNATS.

From: dbushong@CSUA.Berkeley.EDU (David Bushong)
To: sheldonh@uunet.co.za (Sheldon Hearn)
Cc: dbushong@CSUA.Berkeley.EDU, freebsd-gnats-submit@freebsd.org
Subject: Re: bin/12554: File to go in /usr/src/usr.bin/file/Magdir/warcraft2
Date: Sun, 25 Jul 1999 13:36:12 -0700 (PDT)

 > On Mon, 19 Jul 1999 12:14:55 MST, David Bushong wrote:
 > 
 > > I think file(1) should have as "bloated" a magic database as possible.
 > > I think if file(1) recognized every possible file format on earth,
 > > that would be really cool.
 > 
 > You motivate the case for file(1) magic bloat very well. :-)
 > 
 > So how about a deal? You gimme magic for Orcs&Humans (WarCraft I),
 > WarCraft II (PC) and I'll commit them along with your one all in one go.
 > That is, unless I've missed the point and your game uses the same game
 > file format as the Blizzard game.
 > 
 > Deal?
 > 
 > Ciao,
 > Sheldon.
 > 
 The game I was working on, "XCraft" is a clone of WarCraft II, and thus used
 the same file format for maps (PUDs).  I do not own WarCraft I, and don't
 really know what format its maps used, however, I could probably hunt it up
 on the net and throw something together, except that I don't think anywone
 ever really cared about War I format map files (I didn't see any user made
 ones distributed, etc etc)  Now some StarCraft .scm and .scx magic might be
 useful, if only they didn't compress/encrypt their maps with no discernable
 way to determine anything about them (except for that they are SC maps)..
 here's the magic to recognize them:
 
 #------------------------------------------------------------------------------
 # starcraft: file(1) magic for StarCraft MPQ (data) files
 #
 # From:  David Bushong <david@bushong.net>
 #
 0       string          MPQ\32\ \0\0\0                  StarCraft MPQ Data
 
 which could possibly be tossed together with warcraft2 into a "blizzard" file,
 but I avoided doing that before to avoid using a company name as a file name.
 
 --David Bushong
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907252040.NAA83221>