From 1330f12d788fd01d85f4325d6d0096fc90249925 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 13 Oct 2017 20:47:14 +0000 Subject: [PATCH] Move dbpf to its own file and fix it --- magic/Magdir/console | 15 +-------------- magic/Magdir/dbpf | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 magic/Magdir/dbpf diff --git a/magic/Magdir/console b/magic/Magdir/console index 0b824028..33dc14a0 100644 --- a/magic/Magdir/console +++ b/magic/Magdir/console @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: console,v 1.33 2017/10/13 15:37:30 christos Exp $ +# $File: console,v 1.34 2017/10/13 20:47:14 christos Exp $ # Console game magic # Toby Deshane @@ -847,16 +847,3 @@ >>>>>>0x5B byte 0x02 >>>>>>>0x54 belong x Nintendo amiibo NFC dump - amiibo ID: %08X- >>>>>>>0x58 belong x \b%08X - -# Maxis Database Packed Files, the stored data file format used by all -# Maxis games after the Sims: http://wiki.niotso.org/DBPF -# http://www.wiki.sc4devotion.com/index.php?title=DBPF -# 12 Oct 2017, Kip Warner -0 string DBPF Maxis Database Packed File (Version -4 ulelong x \b%u. -8 ulelong x \b%u) -!:ext dbpf/package/dat/sc4 -4 ulelong 1 ->8 ulelong 0 ->>24 ledate x created: %s ->>28 ledate x \b, modified: %s diff --git a/magic/Magdir/dbpf b/magic/Magdir/dbpf new file mode 100644 index 00000000..65cab61e --- /dev/null +++ b/magic/Magdir/dbpf @@ -0,0 +1,17 @@ + +#------------------------------------------------------------------------------ +# $File: dbpf,v 1.1 2017/10/13 20:47:14 christos Exp $ +# dppf: Maxis Database Packed Files, the stored data file format used by all +# Maxis games after the Sims: http://wiki.niotso.org/DBPF +# http://www.wiki.sc4devotion.com/index.php?title=DBPF +# 13 Oct 2017, Kip Warner +0 string DBPF Maxis Database Packed File +>4 ulelong x \b, version: %u. +>>8 ulelong x \b%u +>>>36 ulelong x \b, files: %u +!:ext dbpf/package/dat/sc4 +!:mime application/x-maxis-dbpf +4 ulelong 1 +>8 ulelong !1 +>>24 ledate !0 \b, created: %s +>>>28 ledate !0 \b, modified: %s -- 2.50.0