blender 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #------------------------------------------------------------------------------
  2. # $File: blender,v 1.9 2022/12/21 15:53:27 christos Exp $
  3. # blender: file(1) magic for Blender 3D related files
  4. #
  5. # Native format rule v1.2. For questions use the developers list
  6. # https://lists.blender.org/mailman/listinfo/bf-committers
  7. # GLOB chunk was moved near start and provides subversion info since 2.42
  8. # Update: Joerg Jenderek
  9. # URL: http://fileformats.archiveteam.org/wiki/BLEND
  10. # http://www.blender.org/
  11. # Reference: http://mark0.net/download/triddefs_xml.7z/defs/b/blend.trid.xml
  12. # http://formats.kaitai.io/blender_blend/index.html
  13. # Note: called "Blender 3D data" by TrID
  14. # and gzip compressed variant handled by ./compress
  15. 0 string =BLENDER Blender3D,
  16. #!:mime application/octet-stream
  17. !:mime application/x-blender
  18. !:ext blend
  19. # no sample found with extension blender
  20. #!:ext blend/blender
  21. >7 string =_ saved as 32-bits
  22. >>8 string =v little endian
  23. >>>9 byte x with version %c.
  24. >>>10 byte x \b%c
  25. >>>11 byte x \b%c
  26. >>>0x40 string =GLOB \b.
  27. >>>>0x58 leshort x \b%.4d
  28. >>8 string =V big endian
  29. >>>9 byte x with version %c.
  30. >>>10 byte x \b%c
  31. >>>11 byte x \b%c
  32. >>>0x40 string =GLOB \b.
  33. >>>>0x58 beshort x \b%.4d
  34. >7 string =- saved as 64-bits
  35. >>8 string =v little endian
  36. >>9 byte x with version %c.
  37. >>10 byte x \b%c
  38. >>11 byte x \b%c
  39. >>0x44 string =GLOB \b.
  40. >>>0x60 leshort x \b%.4d
  41. >>8 string =V big endian
  42. >>>9 byte x with version %c.
  43. >>>10 byte x \b%c
  44. >>>11 byte x \b%c
  45. >>>0x44 string =GLOB \b.
  46. >>>>0x60 beshort x \b%.4d
  47. # Scripts that run in the embedded Python interpreter
  48. 0 string #!BPY Blender3D BPython script