From 6678cf7c2ac8c768ea5efe9fe0392f07e522c963 Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 13 Jan 2008 20:35:16 +0000 Subject: Import file version 4.23 onto the vendor branch --- contrib/file/Magdir/blender | 48 ++++++++++++++++++++++++++++++++------------- 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'contrib/file/Magdir/blender') diff --git a/contrib/file/Magdir/blender b/contrib/file/Magdir/blender index 01d4e54..6ef7950 100644 --- a/contrib/file/Magdir/blender +++ b/contrib/file/Magdir/blender @@ -1,17 +1,37 @@ #------------------------------------------------------------------------------ -# blender: file(1) magic for Blender 3D data files +# blender: file(1) magic for Blender 3D related files # -# Coded by Guillermo S. Romero using the -# data from Ton Roosendaal . Ton or his company do not -# support the rule, so mail GSR if problems with it. Rule version: 1.1. -# You can get latest version with comments and details about the format -# at http://acd.asoc.euitt.upm.es/~gsromero/3d/blender/magic.blender +# Native format rule v1.2. For questions use the developers list +# http://lists.blender.org/mailman/listinfo/bf-committers +# GLOB chunk was moved near start and provides subversion info since 2.42 -0 string =BLENDER Blender3D, ->7 string =_ saved as 32-bits ->7 string =- saved as 64-bits ->8 string =v little endian ->8 string =V big endian ->9 byte x with version %c. ->10 byte x \b%c ->11 byte x \b%c +0 string =BLENDER Blender3D, +>7 string =_ saved as 32-bits +>>8 string =v little endian +>>>9 byte x with version %c. +>>>10 byte x \b%c +>>>11 byte x \b%c +>>>0x40 string =GLOB \b. +>>>>0x58 leshort x \b%.4d +>>8 string =V big endian +>>>9 byte x with version %c. +>>>10 byte x \b%c +>>>11 byte x \b%c +>>>0x40 string =GLOB \b. +>>>>0x58 beshort x \b%.4d +>7 string =- saved as 64-bits +>>8 string =v little endian +>>9 byte x with version %c. +>>10 byte x \b%c +>>11 byte x \b%c +>>0x44 string =GLOB \b. +>>>0x60 leshort x \b%.4d +>>8 string =V big endian +>>>9 byte x with version %c. +>>>10 byte x \b%c +>>>11 byte x \b%c +>>>0x44 string =GLOB \b. +>>>>0x60 beshort x \b%.4d + +# Scripts that run in the embeded Python interpreter +0 string #!BPY Blender3D BPython script -- cgit v1.1