CLAN Format

CLAN Format

CLAN (.bclan) is the layout animation format used on the 3DS. It stands for (Binary) CTR Layout Animation, and is similar to the RLAN format used on the Wii.

OffsetSizeTypeDescription
0x000x4StringSignature (CLAN)
0x040x2UInt16Byte Order Mark
0x060x2UInt16Header Length
0x080x4UInt32Revision
0x0C0x4UInt32File Size
0x100x4UInt32Nr Sections

pat1 (Pattern 1) #

OffsetSizeTypeDescription
0x000x4StringSignature (pat1)
0x040x4UInt32Section Size
0x080x4UInt32Flags?
0x0C0x4UInt32?
0x100x4Int32?
0x140x4UInt32?
0x180x10StringPattern name

pai1 (Pattern Instruction? 1) #

OffsetSizeTypeDescription
0x000x4StringSignature (pai1)
0x040x4UInt32Section Size
0x080x4UInt32?
0x0C0x4UInt32Flags?
0x100x4UInt32Nr entries?
0x140x4UInt32Entries offset (relative to pai1)

Instruction? entry #

OffsetSizeTypeDescription
0x000x14StringTarget panel name
0x140x4UInt32Flags?
0x180x4UInt32Animation entry offset (relative to entry)
0x1C0x4UInt32? (if flag bit 1 is set)

Animation entry #

OffsetSizeTypeDescription
0x000x4StringAnimation type

NameDescription

CLPA

CTR Layout PAne SRT (Scale/Rotate/Translate) animation.

CLTS

CTR Layout Texture SRT animation.

CLVI

CTR Layout VIsibility animation.

CLVC

CTR Layout Vertex Color animation.

CLMC

CTR Layout Material Color animation.

CLTP

CTR Layout Texture Pattern animation.
0x040x1UInt8Nr of animations
0x050x3UInt8[3]Padding
????

See also #

Category:File formats