xref: /dragonfly/contrib/file/magic/Magdir/kicad (revision 6a3cbbc2)
1
2#------------------------------------------------------------------------------
3# $File: kicad,v 1.1 2018/10/01 18:39:21 christos Exp $
4# kicad:  file(1) magic for KiCad files
5#
6# See
7#
8#	http://kicad-pcb.org
9#
10
11# KiCad Schematic Document
120	    string  EESchema
13>8	    byte    0x20
14>>9	    string  Schematic
15>>>18	    byte    0x20		KiCad Schematic Document
16!:ext sch/bak
17>>>>24	    string  Version
18>>>>>31	    byte    0x20
19>>>>>>32    string  x			(Version %s)
20
21# KiCad Symbol Library
220	    string  EESchema-LIBRARY
23>16	    byte    0x20		KiCad Symbol Library
24!:ext lib
25>>17	    string  Version
26>>>24	    byte    0x20
27>>>>25	    string  x			(Version %s)
28
29# KiCad Symbol Library Documentation
300	    string  EESchema-DOCLIB
31>15	    byte    0x20		KiCad Symbol Library Documentation
32!:ext dcm
33>>17	    string  Version
34>>>24	    byte    0x20
35>>>>25	    string  x			(Version %s)
36
37# KiCad Board Layout
380	    string  (kicad_pcb
39>10	    byte    0x20		KiCad Board Layout
40!:ext kicad_pcb/kicad_pcb-bak
41>>11	    string  (version
42>>>19	    byte    0x20
43>>>>20	    byte    x			(Version %c)
44
45# KiCad Footprint
460	    string  (module
47>7	    byte    0x20		KiCad Footprint
48!:ext kicad_mod
49
50# KiCad Footprint (Legacy)
510	    string  PCBNEW-LibModule-V1	    KiCad Footprint (Legacy)
52!:ext mod
53
54# KiCad Netlist
550	    string  (export
56>7	    byte    0x20		KiCad Netlist
57!:ext net
58
59# KiCad Symbol Library Table
600	    string  (sym_lib_table
61>14	    byte    0xA			KiCad Symbol Library Table
62>14	    byte    0xD			KiCad Symbol Library Table
63>14	    byte    0x20		KiCad Symbol Library Table
64
65# KiCad Footprint Library Table
660	    string  (fp_lib_table
67>13	    byte    0xA			KiCad Footprint Library Table
68>13	    byte    0xD			KiCad Footprint Library Table
69>13	    byte    0x20		KiCad Footprint Library Table
70