Difference between revisions of "DCA file"
Jump to navigation
Jump to search
m (Espyo moved page Pikmin DCA Files to DCA file without leaving a redirect: Consistency.) |
(Added details) |
||
Line 1: | Line 1: | ||
− | + | DCA files, also known as (unsure) Demo Cutscene Animations, are the keyframed animation format of Pikmin 1. | |
− | DCA files are | + | They can only be found within the BUN file format. |
− | + | == File Structure == | |
− | + | {| class="wikitable" | |
+ | |+ DCA Header | ||
+ | ! Offset || Size || Purpose | ||
+ | |- | ||
+ | | 0x00 || 4 || Amount of Joints the file will animate. | ||
+ | |- | ||
+ | | 0x04 || 4 || Amount of frames in the animation. | ||
+ | |} | ||
− | {{Credits|Minty_Meeo}} | + | {| class="wikitable" |
+ | |+ 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 'sx_param' and 'sy_param', a table of 2 ints read 3 times | ||
+ | |- | ||
+ | | 0x || 24 || Internally named 'rx_param' and 'ry_param', a table of 2 ints read 3 times | ||
+ | |- | ||
+ | | 0x || 24 || Internally named 'tx_param' and 'ty_param', a table of 2 ints read 3 times | ||
+ | |} | ||
+ | |||
+ | {{Credits|Ambrosia, Minty_Meeo}} | ||
[[Category:Pikmin]] | [[Category:Pikmin]] | ||
[[Category:File formats]] | [[Category:File formats]] |
Revision as of 23:11, 29 March 2020
DCA files, also known as (unsure) Demo Cutscene Animations, are the keyframed animation format of Pikmin 1. They can only be found within the BUN file format.
File Structure
Offset | Size | Purpose |
---|---|---|
0x00 | 4 | Amount of Joints the file will animate. |
0x04 | 4 | Amount of frames in the animation. |
Offset | Size | Purpose |
---|---|---|
0x08 | 4 | Amount of scaling values |
0x0C | 0x08 value | Scaling value |
Offset | Size | Purpose |
---|---|---|
0x0? | 4 | Amount of rotation values |
0x0? | 0x0? value | Rotation value |
Offset | Size | Purpose |
---|---|---|
0x0? | 4 | Amount of translation values |
0x0? | 0x0? value | Translation value |
Offset | Size | Purpose |
---|---|---|
0x00 | 4 | Index of the joint |
0x04 | 4 | Parent of the joint |
0x08 | 24 | Internally named 'sx_param' and 'sy_param', a table of 2 ints read 3 times |
0x | 24 | Internally named 'rx_param' and 'ry_param', a table of 2 ints read 3 times |
0x | 24 | Internally named 'tx_param' and 'ty_param', a table of 2 ints read 3 times |
Credits: Ambrosia, Minty_Meeo