Difference between revisions of "MOTN"

From Wulinshu
Jump to navigation Jump to search
(Created page with "Category:Shenmue Category:Shenmue II Category:Files Category:Animations The MOTN file format contains the animations for models based on their node structure.<...")
 
Line 17: Line 17:
| 0x08 || 0x04 || uint || Motion data offset
| 0x08 || 0x04 || uint || Motion data offset
|-
|-
| 0x0C || 0x01 || byte|| Animation count
| 0x0C || 0x04 || Attributes || Attributes
|-
|-
| 0x0D || 0x03 || ? || Unknown
| 0x0D || 0x03 || ? || Unknown
|-
|-
| 0x10 || 0x04 || uint || File size
| 0x10 || 0x04 || uint || File size
|}
====Attributes====
{| class="wikitable"
|-
! Mask !! Type !! Description
|-
| 0x00000FFF || uint12_t || Animation count
|}
|}

Revision as of 06:09, 26 April 2019

The MOTN file format contains the animations for models based on their node structure.
This format can be found in various PKS files and in the motion.bin file.

Header

Position Length Type Description
0x00 0x04 uint Motion data table offset
0x04 0x04 uint Motion name offset
0x08 0x04 uint Motion data offset
0x0C 0x04 Attributes Attributes
0x0D 0x03 ? Unknown
0x10 0x04 uint File size

Attributes

Mask Type Description
0x00000FFF uint12_t Animation count