1226048Sobrien
268349Sobrien#------------------------------------------------------------------------------
3284193Sdelphij# $File: blender,v 1.6 2014/08/30 08:34:17 christos Exp $
4175296Sobrien# blender: file(1) magic for Blender 3D related files
568349Sobrien#
6175296Sobrien# Native format rule v1.2. For questions use the developers list 
7175296Sobrien# http://lists.blender.org/mailman/listinfo/bf-committers
8175296Sobrien# GLOB chunk was moved near start and provides subversion info since 2.42 
968349Sobrien
10175296Sobrien0		string	=BLENDER	Blender3D,
11175296Sobrien>7		string	=_		saved as 32-bits
12175296Sobrien>>8		string	=v		little endian
13175296Sobrien>>>9		byte	x		with version %c.
14175296Sobrien>>>10		byte	x		\b%c
15175296Sobrien>>>11		byte	x		\b%c
16175296Sobrien>>>0x40		string	=GLOB		\b.
17175296Sobrien>>>>0x58	leshort	x		\b%.4d
18175296Sobrien>>8		string	=V		big endian
19175296Sobrien>>>9		byte	x		with version %c.
20175296Sobrien>>>10		byte	x		\b%c
21175296Sobrien>>>11		byte	x		\b%c
22175296Sobrien>>>0x40		string	=GLOB		\b.
23175296Sobrien>>>>0x58	beshort	x		\b%.4d
24175296Sobrien>7		string	=-		saved as 64-bits
25175296Sobrien>>8		string	=v		little endian
26175296Sobrien>>9		byte	x		with version %c.
27175296Sobrien>>10		byte	x		\b%c
28175296Sobrien>>11		byte	x		\b%c
29175296Sobrien>>0x44		string	=GLOB		\b.
30175296Sobrien>>>0x60		leshort	x		\b%.4d
31175296Sobrien>>8		string	=V		big endian
32175296Sobrien>>>9		byte	x		with version %c.
33175296Sobrien>>>10		byte	x		\b%c
34175296Sobrien>>>11		byte	x		\b%c
35175296Sobrien>>>0x44		string	=GLOB		\b.
36175296Sobrien>>>>0x60	beshort	x		\b%.4d
37175296Sobrien
38284193Sdelphij# Scripts that run in the embedded Python interpreter
39175296Sobrien0		string	#!BPY		Blender3D BPython script
40