vendor/file: upgrade from 5.32 to 5.38
[dragonfly.git] / contrib / file / magic / Magdir / kicad
blob00c9ead5ae9bca52758875bbc1357ae17fa1a132
2 #------------------------------------------------------------------------------
3 # $File: kicad,v 1.1 2018/10/01 18:39:21 christos Exp $
4 # kicad:  file(1) magic for KiCad files
6 # See
8 #       http://kicad-pcb.org
11 # KiCad Schematic Document
12 0           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)
21 # KiCad Symbol Library
22 0           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)
29 # KiCad Symbol Library Documentation
30 0           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)
37 # KiCad Board Layout
38 0           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)
45 # KiCad Footprint
46 0           string  (module
47 >7          byte    0x20                KiCad Footprint
48 !:ext kicad_mod
50 # KiCad Footprint (Legacy)
51 0           string  PCBNEW-LibModule-V1     KiCad Footprint (Legacy)
52 !:ext mod
54 # KiCad Netlist
55 0           string  (export
56 >7          byte    0x20                KiCad Netlist
57 !:ext net
59 # KiCad Symbol Library Table
60 0           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
65 # KiCad Footprint Library Table
66 0           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