Editing DCK file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | DCK files, | + | DCK files, also known as (unsure) Demo Cutscene Keyframes, are an interpolated keyframed animation format of Pikmin 1. |
− | They can only be found within the | + | They can only be found within the BUN file format. |
+ | |||
+ | == File Structure == | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | |+ DCK | + | |+ DCK Header |
! Offset || Size || Purpose | ! Offset || Size || Purpose | ||
|- | |- | ||
− | | 0x00 || 4 || Amount of | + | | 0x00 || 4 || Amount of Joints the file will animate. |
|- | |- | ||
− | | 0x04 || 4 || Amount of frames in the animation | + | | 0x04 || 4 || Amount of frames in the animation. |
|} | |} | ||
Line 40: | Line 41: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |+ DCK | + | |+ DCK Joint |
! Offset || Size || Purpose | ! Offset || Size || Purpose | ||
|- | |- | ||
Line 47: | Line 48: | ||
| 0x04 || 4 || Parent of the joint | | 0x04 || 4 || Parent of the joint | ||
|- | |- | ||
− | | 0x08 || 36 || Internally named | + | | 0x08 || 36 || Internally named 'sx_param', 'sy_param' and 'sz_param', a table of 3 ints read 3 times |
|- | |- | ||
− | | 0x2C || 36 || Internally named | + | | 0x2C || 36 || Internally named 'rx_param', 'ry_param' and 'rz_param', a table of 3 ints read 3 times |
|- | |- | ||
− | | 0x80 || 36 || Internally named | + | | 0x80 || 36 || Internally named 'tx_param', 'ty_param' and 'rz_param', a table of 3 ints read 3 times |
|} | |} | ||