This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
banjo_kazooie:animations [2024/11/26 16:23] BanjoFreak64 [Animation Data] |
banjo_kazooie:animations [2026/01/31 22:52] (current) minirop [Element Header] fixed address in table |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ^ Address ^ Value / Syntax ^ Description ^ | ^ Address ^ Value / Syntax ^ Description ^ | ||
| | 0x0000 | [<color #ed1c24>xx xx</color>] | Start Frame of animation | | | 0x0000 | [<color #ed1c24>xx xx</color>] | Start Frame of animation | | ||
| - | | 0x0004 | [<color #ffaec9>yy yy</color>] | End Frame of animation | | + | | 0x0002 | [<color #ffaec9>yy yy</color>] | End Frame of animation | |
| - | | 0x0008 | [<color #a800ff>zz zz</color>] | Element Count | | + | | 0x0004 | [<color #a800ff>zz zz</color>] | Element Count | |
| - | | 0x000C | [00 00] | Padding / Unknown | | + | | 0x0006 | [00 00] | Padding / Unknown | |
| **Example (60f0.bin, Banjo's Backflip at address 0x0):** | **Example (60f0.bin, Banjo's Backflip at address 0x0):** | ||
| Line 25: | Line 25: | ||
| ^ Offset from End of Header ^ Value / Syntax ^ Description ^ | ^ Offset from End of Header ^ Value / Syntax ^ Description ^ | ||
| | 0x0000 | [<color #00c6ff>aa a</color><color #ff8a00>b</color>] | <color #00c6ff>aa</color> = Internal Bone ID, <color #ff8a00>b</color> = Transform Type* | | | 0x0000 | [<color #00c6ff>aa a</color><color #ff8a00>b</color>] | <color #00c6ff>aa</color> = Internal Bone ID, <color #ff8a00>b</color> = Transform Type* | | ||
| - | | 0x0004 | [<color #5724ff>cc cc</color>] | Data Count | | + | | 0x0002 | [<color #5724ff>cc cc</color>] | Data Count | |
| **Example (60f0.bin, Banjo's Backflip at address 0x08):** | **Example (60f0.bin, Banjo's Backflip at address 0x08):** | ||
| Line 44: | Line 44: | ||
| | Z Translation | 8 | | | Z Translation | 8 | | ||
| ===== Transform Structure ===== | ===== Transform Structure ===== | ||
| - | The transform structure details the frames in which a transformation of the bone occurs (i.e. translate, rotate, or scale) and by how much the bone moves between frames with respect to the scale of the model (transform factor).Transform structure is repeated for instances [<color #5724ff>cc cc</color>] before introducing the next element header where [<color #5724ff>cc cc</color>] = [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:animations#element_header:~:text=0x0004-,%5Bcc%20cc%5D,-Data%20Count|Data Count]]. The first two bytes of data contain two bits representing unknown values and fourteen bits which determine the frame of a transformation. | + | The transform structure details the frames in which a transformation of the bone occurs and by how much the bone moves between frames with respect to the scale of the model (transform factor). Transform structure is repeated for instances [<color #5724ff>cc cc</color>] before introducing the next element header where [<color #5724ff>cc cc</color>] = [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:animations#element_header:~:text=0x0004-,%5Bcc%20cc%5D,-Data%20Count|Data Count]]. The first two bytes of data contain two bits representing unknown values and fourteen bits which determine the frame of a transformation. |
| *Bitwise Parameters: | *Bitwise Parameters: | ||