ANCS (File Format): Difference between revisions

no edit summary
>Embyr 75
m ({{research}})
imported>Antidote
No edit summary
Line 197: Line 197:
=== Particles ===
=== Particles ===


Note: if the flag value at the start of the node is 5 instead of 6, when of these values is missing. It's currently not known specifically which one it toggles, so be careful.
Note: if the flag value at the start of the node is 5 instead of 6, one of these values is missing. It's currently not known specifically which one it toggles, so be careful. However if the value is 10 the data is from Metroid Prime 2 and special attention must be paid in order to properly read the information.


{| class="wikitable"
{| class="wikitable"
Line 203: Line 203:
! Count
! Count
! Description
! Description
! Notes
|-
|-
| u32
| u32
Line 211: Line 212:
| PC
| PC
| '''Particle file IDs'''
| '''Particle file IDs'''
|
|-
|-
| u32
| u32
Line 219: Line 221:
| SC
| SC
| '''Swoosh particle file IDs'''
| '''Swoosh particle file IDs'''
|
|-
|-
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
|-
| u32
| u32
| 1
| 1
| '''Electric particle count''' (EC)
| '''Electric particle count''' (EC)
|
|-
|-
| [[ELSC (File Format)|ELSC]]
| [[ELSC (File Format)|ELSC]]
| EC
| EC
| '''Electric particle file IDs'''
| '''Electric particle file IDs'''
|
|-
|-
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
| u32
| 1
| {{unknown|'''Unknown'''}}
| Only in Metroid Prime 2
|-
| u32
| 1
| {{unknown|'''Unknown'''}}
| Only in Metroid Prime 2
|}
|}


Line 257: Line 274:
=== Effects ===
=== Effects ===


This section is used for effect placement - binding particles to bones, which is used for things like Space Pirate eye fire. It starts with a 32-bit count value, then this stuct repeats:
This section is used for effect placement - binding particles to bones, which is used for things like Space Pirate eye fire. It starts with a 32-bit count value, then this struct repeats:


{| class="wikitable"
{| class="wikitable"
Line 263: Line 280:
! Count
! Count
! Description
! Description
! Notes
|-
|-
| string
| string
| 1
| 1
| '''Effect name'''
| '''Effect name'''
|
|-
|-
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
|-
| string
| string
| 1
| 1
| '''Effect name 2'''
| '''Effect name 2'''
| Metroid Prime 1 only
|-
| u32
| 1
| {{unknown|'''Unknown'''}}
| Metroid Prime 2 only
|-
|-
| char
| char
| 4
| 4
| '''"PART" fourCC'''
| '''"PART" fourCC'''
|
|-
|-
| [[PART (File Format)|PART]]
| [[PART (File Format)|PART]]
| 1
| 1
| '''Particle file ID'''
| '''Particle file ID'''
|
|-
|-
| string
| string
Line 291: Line 319:
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
|-
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
|-
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|}
|}


Line 309: Line 340:
! Count
! Count
! Description
! Description
! Notes
|-
|-
| [[CMDL (Metroid Prime)|CMDL]]
| [[CMDL (Metroid Prime)|CMDL]]
Line 320: Line 352:
| u32
| u32
| 1
| 1
| {{unknown|'''Unknown count''' (UC)}}
| Action ID Count (AC)
|-
|-
| u32
| u32
| UC
| AC
| {{unknown|'''Unknowns'''}}
| '''ActionIDs'''
|
|-
| u32
| 1
| {{unknown|'''Unknown'''}}
| Only in Metroid Prime 2
|-
| u8
| 1
| {{unknown|'''Unknown bool?'''}}
| Only in Metroid prime 2
|}
 
=== Metroid Prime 2 Unknown Struct ====
Immediately following the the footer is a second count/struct pair that only appears in Metroid Prime 2, it is currently unknown what purpose this serves. The count is a 32bit integer and is directly followed by an array of the following struct:
 
{| class="wikitable"
! Type
! Description
|-
| u32
| '''Action ID'''
|-
| CAABox
| {{unknown|'''Unknown'''}}
|}
|}


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime 2: Echoes]]
[[Category:Metroid Prime 2: Echoes]]
Anonymous user