her is a patch which seems to work if map files are tested with $ file -z foo.mpz for example, please consider integrating/upstreaming it
Thanks -- Martin Erik Werner <martinerikwer...@gmail.com>
Description: Detect cube and cube2 games maps This patch adds detection for maps of cube and cube2 based games, it currently supports the games AssaultCube, Sauerbraten and Blood Frontier/Red Eclipse. Author: Martin Erik Werner <martinerikwer...@gmail.com> Bug-Debian: http://bugs.debian.org/652988 Last-Update: 2011-12-22 --- a/magic/Makefile.am +++ b/magic/Makefile.am @@ -52,6 +52,7 @@ $(MAGIC_FRAGMENT_DIR)/convex \ $(MAGIC_FRAGMENT_DIR)/cracklib \ $(MAGIC_FRAGMENT_DIR)/ctags \ +$(MAGIC_FRAGMENT_DIR)/cubemap \ $(MAGIC_FRAGMENT_DIR)/dact \ $(MAGIC_FRAGMENT_DIR)/database \ $(MAGIC_FRAGMENT_DIR)/diamond \ --- a/magic/Makefile.in +++ b/magic/Makefile.in @@ -247,6 +247,7 @@ $(MAGIC_FRAGMENT_DIR)/convex \ $(MAGIC_FRAGMENT_DIR)/cracklib \ $(MAGIC_FRAGMENT_DIR)/ctags \ +$(MAGIC_FRAGMENT_DIR)/cubemap \ $(MAGIC_FRAGMENT_DIR)/dact \ $(MAGIC_FRAGMENT_DIR)/database \ $(MAGIC_FRAGMENT_DIR)/diamond \ --- /dev/null +++ b/magic/Magdir/cubemap @@ -0,0 +1,8 @@ + +#------------------------------------------------------------------------------ +# $File: cubemaps,v 1.0 2011/12/22 09:01:05 christos Exp $ +# file(1) magic(5) data for cubemaps Martin Erik Werner <martinerikwer...@gmail.com> +# +0 string ACMP Map file for the AssaultCube FPS game +0 string CUBE Map file for cube and cube2 engine games +0 string MAPZ) Map file for the Blood Frontier/Red Eclipse FPS games
signature.asc
Description: This is a digitally signed message part