From owner-freebsd-bugs Sun Jul 25 13:40: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8FACF14F24 for ; Sun, 25 Jul 1999 13:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA83221; Sun, 25 Jul 1999 13:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 25 Jul 1999 13:40:02 -0700 (PDT) Message-Id: <199907252040.NAA83221@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: dbushong@CSUA.Berkeley.EDU (David Bushong) Subject: Re: bin/12554: File to go in /usr/src/usr.bin/file/Magdir/warcraft2 Reply-To: dbushong@CSUA.Berkeley.EDU (David Bushong) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 # 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