Changes

Jump to navigation Jump to search
2,350 bytes added ,  02:03, 25 December 2016
Created page with "{{Stub}} CLAN (.bclan) is the layout animation format used on the 3DS. It stands for ('''B'''inary) '''C'''TR '''L'''ayout '''An'''imation, and is similar to the RLAN format..."
{{Stub}}

CLAN (.bclan) is the layout animation format used on the 3DS. It stands for ('''B'''inary) '''C'''TR '''L'''ayout '''An'''imation, and is similar to the RLAN format used on the Wii.

== Header ==
{| class="wikitable" border="1"
|-
!Offset!!Size!!Type!!Description
|-
|0x00||0x4||String||Signature (CLAN)
|-
|0x04||0x2||UInt16||Byte Order Mark
|-
|0x06||0x2||UInt16||Header Length
|-
|0x08||0x4||UInt32||Revision
|-
|0x0C||0x4||UInt32||File Size
|-
|0x10||0x4||UInt32||Nr Sections
|}

== pat1 (Pattern 1) ==
{| class="wikitable" border="1"
|-
!Offset!!Size!!Type!!Description
|-
|0x00||0x4||String||Signature (pat1)
|-
|0x04||0x4||UInt32||Section Size
|-
|0x08||0x4||UInt32||Flags?
|-
|0x0C||0x4||UInt32||?
|-
|0x10||0x4||Int32||?
|-
|0x14||0x4||UInt32||?
|-
|0x18||0x10||String||Pattern name
|}

== pai1 (Pattern Instruction? 1) ==
{| class="wikitable" border="1"
|-
!Offset!!Size!!Type!!Description
|-
|0x00||0x4||String||Signature (pai1)
|-
|0x04||0x4||UInt32||Section Size
|-
|0x08||0x4||UInt32||?
|-
|0x0C||0x4||UInt32||Flags?
|-
|0x10||0x4||UInt32||Nr entries?
|-
|0x14||0x4||UInt32||Entries offset (relative to pai1)
|}

=== Instruction? entry ===
{| class="wikitable" border="1"
|-
!Offset!!Size!!Type!!Description
|-
|0x00||0x14||String||Target panel name
|-
|0x14||0x4||UInt32||Flags?
|-
|0x18||0x4||UInt32||Animation entry offset (relative to entry)
|-
|0x1C||0x4||UInt32||? (if flag bit 1 is set)
|}

=== Animation entry ===
{| class="wikitable" border="1"
|-
!Offset!!Size!!Type!!Description
|-
|0x00||0x4||String||Animation type
{| class="wikitable sortable"
! Name !! Description
|-
| align=center | CLPA || '''C'''TR '''L'''ayout '''PA'''ne SRT (Scale/Rotate/Translate) animation.
|-
| align=center | CLTS || '''C'''TR '''L'''ayout '''T'''exture '''S'''RT animation.
|-
| align=center | CLVI || '''C'''TR '''L'''ayout '''VI'''sibility animation.
|-
| align=center | CLVC || '''C'''TR '''L'''ayout '''V'''ertex '''C'''olor animation.
|-
| align=center | CLMC || '''C'''TR '''L'''ayout '''M'''aterial '''C'''olor animation.
|-
| align=center | CLTP || '''C'''TR '''L'''ayout '''T'''exture '''P'''attern animation.
|}
|-
|0x04||0x1||UInt8||Nr of animations
|-
|0x05||0x3||UInt8[3]||Padding
|-
|?||?||?||?
|}

== See also ==
* http://wiki.tockdom.com/wiki/BRLAN
* http://wiibrew.org/wiki/Wii_Animations#Animations_.28.2A.brlan.29
157

edits

Navigation menu