Editing DCA 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:
DCA files, likely standing for Demo Cutscene Animations, are the keyframed animation format of ''[[Pikmin]]''.
+
{{todo|Research this more.}}
They can only be found within the [[BUN file]] format.
+
DCA files are a model animation format used in ''[[Pikmin]]''. DCA files use frame-by-frame animation to show precise movements.
  
== File structure ==
+
DCA files cannot be found outside of any archive, and are instead located in [[BUN file|bundle archives]].
  
{| class="wikitable"
+
Sorry that's all I really know right now.  If you make the animation play slowly with the KEY files, they look really jittery and mess with timing. It's the IEEE-754 float after the "spd" label.
|+ DCA header
 
! Offset || Size      || Purpose
 
|-
 
| 0x00 || 4          || Amount of joints the file will animate.
 
|-
 
| 0x04 || 4          || Amount of frames in the animation.
 
|}
 
  
{| class="wikitable"
+
{{Credits|Minty_Meeo}}
|+ Scaling
 
! Offset || Size      || Purpose
 
|-
 
| 0x08 || 4          || Amount of scaling values
 
|-
 
| 0x0C || 0x08 value || Scaling value
 
|}
 
 
 
{| class="wikitable"
 
|+ 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"
 
|+ DCA joint
 
! Offset || Size      || Purpose
 
|-
 
| 0x00 || 4          || Index of the joint
 
|-
 
| 0x04 || 4          || Parent of the joint
 
|-
 
| 0x08 || 24          || Internally named <code>sx_param</code> and <code>sy_param</code>, a table of 2 ints read 3 times
 
|-
 
| 0x20 || 24          || Internally named <code>rx_param</code> and <code>ry_param</code>, a table of 2 ints read 3 times
 
|-
 
| 0x56 || 24          || Internally named <code>tx_param</code> and <code>ty_param</code>, a table of 2 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: