1238901Sandrew
2238901Sandrew#------------------------------------------------------------------------------
3238901Sandrew# $File: blender,v 1.6 2014/08/30 08:34:17 christos Exp $
4238901Sandrew# blender: file(1) magic for Blender 3D related files
5238901Sandrew#
6238901Sandrew# Native format rule v1.2. For questions use the developers list 
7238901Sandrew# http://lists.blender.org/mailman/listinfo/bf-committers
8238901Sandrew# GLOB chunk was moved near start and provides subversion info since 2.42 
9238901Sandrew
10238901Sandrew0		string	=BLENDER	Blender3D,
11238901Sandrew>7		string	=_		saved as 32-bits
12238901Sandrew>>8		string	=v		little endian
13238901Sandrew>>>9		byte	x		with version %c.
14238901Sandrew>>>10		byte	x		\b%c
15238901Sandrew>>>11		byte	x		\b%c
16238901Sandrew>>>0x40		string	=GLOB		\b.
17238901Sandrew>>>>0x58	leshort	x		\b%.4d
18238901Sandrew>>8		string	=V		big endian
19238901Sandrew>>>9		byte	x		with version %c.
20238901Sandrew>>>10		byte	x		\b%c
21238901Sandrew>>>11		byte	x		\b%c
22238901Sandrew>>>0x40		string	=GLOB		\b.
23238901Sandrew>>>>0x58	beshort	x		\b%.4d
24288943Sdim>7		string	=-		saved as 64-bits
25288943Sdim>>8		string	=v		little endian
26288943Sdim>>9		byte	x		with version %c.
27288943Sdim>>10		byte	x		\b%c
28288943Sdim>>11		byte	x		\b%c
29288943Sdim>>0x44		string	=GLOB		\b.
30288943Sdim>>>0x60		leshort	x		\b%.4d
31288943Sdim>>8		string	=V		big endian
32288943Sdim>>>9		byte	x		with version %c.
33238901Sandrew>>>10		byte	x		\b%c
34238901Sandrew>>>11		byte	x		\b%c
35238901Sandrew>>>0x44		string	=GLOB		\b.
36276789Sdim>>>>0x60	beshort	x		\b%.4d
37276789Sdim
38276789Sdim# Scripts that run in the embedded Python interpreter
39276789Sdim0		string	#!BPY		Blender3D BPython script
40276789Sdim