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, likely standing for Demo Cutscene Keyframes, are an interpolated keyframed animation format in ''[[Pikmin]]''.
+
{{todo|Research this more.}}
They can only be found within the [[BUN file]] format.
+
DCK files are a model animation format used in ''[[Pikmin]]''. DCK files use keyframes and interpolation to create fluid animation.
  
== File structure ==
+
DCK files cannot be found outside of any archive, and are instead located in [[BUN file|bundle archives]].
{| class="wikitable"
 
|+ DCK header
 
! Offset || Size      || Purpose
 
|-
 
| 0x00 || 4          || Amount of joints the file will animate
 
|-
 
| 0x04 || 4          || Amount of frames in the animation
 
|}
 
  
{| class="wikitable"
+
Sorry that's all I really know right now.  You can edit the KEY files to make them go slower and see the interpolation in action I guess.  It's the IEEE-754 float after the "spd" label.
|+ Scaling
 
! Offset || Size      || Purpose
 
|-
 
| 0x08 || 4          || Amount of scaling values
 
|-
 
| 0x0C || 0x08 value || Scaling value
 
|}
 
  
{| class="wikitable"
+
{{Credits|Minty_Meeo}}
|+ Rotation
 
! Offset || Size      || Purpose
 
|-
 
| 0x0? || 4          || Amount of rotation values
 
|-
 
| 0x0? || 0x0? value || Rotation value
 
|}
 
 
 
{| class="wikitable"
 
|+ Translation
 
! Offset || Size      || Purpose
 
|-
 
| 0x0? || 4          || Amount of translation values
 
|-
 
| 0x0? || 0x0? value || Translation value
 
|}
 
 
 
{| class="wikitable"
 
|+ DCK joint
 
! Offset || Size      || Purpose
 
|-
 
| 0x00 || 4          || Index of the joint
 
|-
 
| 0x04 || 4          || Parent of the joint
 
|-
 
| 0x08 || 36          || Internally named <code>sx_param</code>, <code>sy_param</code>, and <code>sz_param</code>, a table of 3 ints read 3 times
 
|-
 
| 0x2C || 36          || Internally named <code>rx_param</code>, <code>ry_param</code>, and <code>rz_param</code>, a table of 3 ints read 3 times
 
|-
 
| 0x80 || 36          || Internally named <code>tx_param</code>, <code>ty_param</code>, and <code>rz_param</code>, a table of 3 ints read 3 times
 
|}
 
 
 
{{Credits|Ambrosia, Minty_Meeo}}
 
  
 
[[Category:Pikmin]]
 
[[Category:Pikmin]]
 
[[Category:File formats]]
 
[[Category:File formats]]

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: