summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/kicad
blob: 212a550a494a78ccbf1681ee19a62cef36a6bef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#------------------------------------------------------------------------------
# $File: kicad,v 1.2 2020/05/06 14:03:28 christos Exp $
# kicad:  file(1) magic for KiCad files
#
# See
#
#	http://kicad-pcb.org
#

# KiCad Schematic Document
0	    string  (kicad_sch
>10	    byte    0x20		KiCad Schematic Document
!:ext kicad_sch/kicad_sch-bak
>>11	    string  (version
>>>19	    byte    0x20
>>>>20	    regex   [0-9.]+		(Version %s)

# KiCad Schematic Document (Legacy)
0	    string  EESchema
>8	    byte    0x20
>>9	    string  Schematic
>>>18	    byte    0x20		KiCad Schematic Document (Legacy)
!:ext sch/bak
>>>>24	    string  Version
>>>>>31	    byte    0x20
>>>>>>32    string  x			(Version %s)

# KiCad Symbol Library
0	    string  (kicad_symbol_lib
>17	    byte    0x20		KiCad Symbol Library
!:ext kicad_sym
>>18	    string  (version
>>>26	    byte    0x20
>>>>27	    regex   [0-9.]+		(Version %s)

# KiCad Symbol Library (Legacy)
0	    string  EESchema-LIBRARY
>16	    byte    0x20		KiCad Symbol Library (Legacy)
!:ext lib
>>17	    string  Version
>>>24	    byte    0x20
>>>>25	    string  x			(Version %s)

# KiCad Symbol Library Documentation (Legacy)
0	    string  EESchema-DOCLIB
>15	    byte    0x20		KiCad Symbol Library Documentation (Legacy)
!:ext dcm
>>17	    string  Version
>>>24	    byte    0x20
>>>>25	    string  x			(Version %s)

# KiCad Board Layout
0	    string  (kicad_pcb
>10	    byte    0x20		KiCad Board Layout
!:ext kicad_pcb/kicad_pcb-bak
>>11	    string  (version
>>>19	    byte    0x20
>>>>20	    regex   [0-9.]+		(Version %s)

# KiCad Footprint
0	    string  (module
>7	    byte    0x20		KiCad Footprint
!:ext kicad_mod

# KiCad Footprint (Legacy)
0	    string  PCBNEW-LibModule-V1	    KiCad Footprint (Legacy)
!:ext mod

# KiCad Netlist
0	    string  (export
>7	    byte    0x20		KiCad Netlist
!:ext net

# KiCad Symbol Library Table
0	    string  (sym_lib_table
>14	    byte    0xA			KiCad Symbol Library Table
>14	    byte    0xD			KiCad Symbol Library Table
>14	    byte    0x20		KiCad Symbol Library Table

# KiCad Footprint Library Table
0	    string  (fp_lib_table
>13	    byte    0xA			KiCad Footprint Library Table
>13	    byte    0xD			KiCad Footprint Library Table
>13	    byte    0x20		KiCad Footprint Library Table