xref: /freebsd/contrib/file/magic/Magdir/blender (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
1
2#------------------------------------------------------------------------------
3# $File: blender,v 1.8 2019/04/19 00:42:27 christos Exp $
4# blender: file(1) magic for Blender 3D related files
5#
6# Native format rule v1.2. For questions use the developers list
7# https://lists.blender.org/mailman/listinfo/bf-committers
8# GLOB chunk was moved near start and provides subversion info since 2.42
9
100		string	=BLENDER	Blender3D,
11>7		string	=_		saved as 32-bits
12>>8		string	=v		little endian
13>>>9		byte	x		with version %c.
14>>>10		byte	x		\b%c
15>>>11		byte	x		\b%c
16>>>0x40		string	=GLOB		\b.
17>>>>0x58	leshort	x		\b%.4d
18>>8		string	=V		big endian
19>>>9		byte	x		with version %c.
20>>>10		byte	x		\b%c
21>>>11		byte	x		\b%c
22>>>0x40		string	=GLOB		\b.
23>>>>0x58	beshort	x		\b%.4d
24>7		string	=-		saved as 64-bits
25>>8		string	=v		little endian
26>>9		byte	x		with version %c.
27>>10		byte	x		\b%c
28>>11		byte	x		\b%c
29>>0x44		string	=GLOB		\b.
30>>>0x60		leshort	x		\b%.4d
31>>8		string	=V		big endian
32>>>9		byte	x		with version %c.
33>>>10		byte	x		\b%c
34>>>11		byte	x		\b%c
35>>>0x44		string	=GLOB		\b.
36>>>>0x60	beshort	x		\b%.4d
37
38# Scripts that run in the embedded Python interpreter
390		string	#!BPY		Blender3D BPython script
40