CLSN (File Format): Difference between revisions

Jump to navigation Jump to search
oops I forgot about the tree
>Aruki
>Aruki
(oops I forgot about the tree)
Line 59: Line 59:
| ''Triangle Count''
| ''Triangle Count''
| '''Triangles Array'''
| '''Triangles Array'''
|
|-
| [[Chunk Descriptor (Tropical Freeze)|Chunk Descriptor]]
| 1
| '''Tree Chunk Descriptor'''
| Data type is <code>TREE</code>
|-
| u32
| 1
| '''Leaf Node Count'''
|
|-
| [[#Tree Leaf Node|Tree Leaf Node]]
| ''Leaf Node Count''
| '''Leaf Node Array'''
|  
|  
|-
|-
Line 67: Line 82:


{| class="wikitable"
{| class="wikitable"
! Offset
! Type
! Type
! Count
! Count
Line 72: Line 88:
! Description
! Description
|-
|-
| 0x0
| u32
| u32
| 1
| 1
Line 77: Line 94:
|  
|  
|-
|-
| 0x4
| u32
| u32
| 1
| 1
Line 82: Line 100:
|  
|  
|-
|-
| 0x8
| u32
| u32
| 1
| 1
Line 87: Line 106:
|  
|  
|-
|-
| 0xC
| u32
| u32
| 1
| 1
Line 92: Line 112:
|  
|  
|-
|-
| 0x10
| u32
| u32
| 1
| 1
Line 97: Line 118:
|  
|  
|-
|-
| 0x14
| colspan=4 {{unknown|End of collision material}}
| colspan=4 {{unknown|End of collision material}}
|}
|}
Line 103: Line 125:


{| class="wikitable"
{| class="wikitable"
! Offset
! Type
! Type
! Count
! Count
Line 108: Line 131:
! Description
! Description
|-
|-
| 0x0
| u32
| u32
| 3
| 3
Line 113: Line 137:
|  
|  
|-
|-
| 0xC
| u16
| u16
| 1
| 1
Line 118: Line 143:
|  
|  
|-
|-
| 0xE
| u16
| u16
| 1
| 1
Line 123: Line 149:
| This is probably just padding.
| This is probably just padding.
|-
|-
| 0x10
| colspan=4 {{unknown|End of triangle}}
| colspan=4 {{unknown|End of triangle}}
|}
=== Tree Leaf Node ===
{| class="wikitable"
! Offset
! Type
! Count
! Name
! Description
|-
| 0x0
| vector3
| 2
| '''Axis-Aligned Bounding Box'''
| Represented by a pair of points where point 1 is min and point 2 is max.
|-
| 0x18
| u32
| 1
| {{unknown|'''Unknown'''}}
|
|-
| 0x1C
| u32
| 1
| {{unknown|'''Unknown'''}}
|
|-
| 0x20
| u32
| 1
| {{unknown|'''Unknown'''}}
|
|-
| 0x24
| colspan=4 {{unknown|End of leaf node}}
|}
|}


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Donkey Kong Country: Tropical Freeze]]
[[Category:Donkey Kong Country: Tropical Freeze]]
Anonymous user

Navigation menu