xref: /dflybsd-src/contrib/file/magic/Magdir/blender (revision 6fca56fb90a257291c53bba3b861b751027c3e3d)
1f72f8299SJan Lentfer
2327e51cbSPeter Avalos#------------------------------------------------------------------------------
36fca56fbSSascha Wildner# $File: blender,v 1.8 2019/04/19 00:42:27 christos Exp $
4327e51cbSPeter Avalos# blender: file(1) magic for Blender 3D related files
5327e51cbSPeter Avalos#
6327e51cbSPeter Avalos# Native format rule v1.2. For questions use the developers list
76fca56fbSSascha Wildner# https://lists.blender.org/mailman/listinfo/bf-committers
8327e51cbSPeter Avalos# GLOB chunk was moved near start and provides subversion info since 2.42
9327e51cbSPeter Avalos
10327e51cbSPeter Avalos0		string	=BLENDER	Blender3D,
11327e51cbSPeter Avalos>7		string	=_		saved as 32-bits
12327e51cbSPeter Avalos>>8		string	=v		little endian
13327e51cbSPeter Avalos>>>9		byte	x		with version %c.
14327e51cbSPeter Avalos>>>10		byte	x		\b%c
15327e51cbSPeter Avalos>>>11		byte	x		\b%c
16327e51cbSPeter Avalos>>>0x40		string	=GLOB		\b.
17327e51cbSPeter Avalos>>>>0x58	leshort	x		\b%.4d
18327e51cbSPeter Avalos>>8		string	=V		big endian
19327e51cbSPeter Avalos>>>9		byte	x		with version %c.
20327e51cbSPeter Avalos>>>10		byte	x		\b%c
21327e51cbSPeter Avalos>>>11		byte	x		\b%c
22327e51cbSPeter Avalos>>>0x40		string	=GLOB		\b.
23327e51cbSPeter Avalos>>>>0x58	beshort	x		\b%.4d
24327e51cbSPeter Avalos>7		string	=-		saved as 64-bits
25327e51cbSPeter Avalos>>8		string	=v		little endian
26327e51cbSPeter Avalos>>9		byte	x		with version %c.
27327e51cbSPeter Avalos>>10		byte	x		\b%c
28327e51cbSPeter Avalos>>11		byte	x		\b%c
29327e51cbSPeter Avalos>>0x44		string	=GLOB		\b.
30327e51cbSPeter Avalos>>>0x60		leshort	x		\b%.4d
31327e51cbSPeter Avalos>>8		string	=V		big endian
32327e51cbSPeter Avalos>>>9		byte	x		with version %c.
33327e51cbSPeter Avalos>>>10		byte	x		\b%c
34327e51cbSPeter Avalos>>>11		byte	x		\b%c
35327e51cbSPeter Avalos>>>0x44		string	=GLOB		\b.
36327e51cbSPeter Avalos>>>>0x60	beshort	x		\b%.4d
37327e51cbSPeter Avalos
38*82c5fa3eSPeter Avalos# Scripts that run in the embedded Python interpreter
39327e51cbSPeter Avalos0		string	#!BPY		Blender3D BPython script
40