CSMP (File Format): Difference between revisions

Jump to navigation Jump to search
Undo revision 359 by Parax0 (talk)
>Aruki
imported>Antidote
(Undo revision 359 by Parax0 (talk))
 
(5 intermediate revisions by 2 users not shown)
Line 14: Line 14:


{|class="wikitable"
{|class="wikitable"
!Offset
! Offset
!Size
! Size
!Description
! Description
|-
|-
|0x0
| 0x0
|4
| 4
|'''"CSMP" magic''' fourCC
| '''"CSMP" magic''' fourCC
|-
|-
|0x4
| 0x4
|4
| 4
|'''Version'''; always 1
| '''Version'''; always 1
|}
|}


Line 32: Line 32:


{|class="wikitable"
{|class="wikitable"
!Offset
! Offset
!Size
! Size
!Description
! Description
|-
|-
|0x0
| 0x0
|4
| 4
|'''Chunk type''' fourCC
| '''Chunk type''' fourCC
|-
|-
|0x4
| 0x4
|4
| 4
|'''Chunk size (N)'''
| '''Chunk size (N)'''
|-
|-
|0x8+N
| 0x8+N
|colspan=2|End of chunk
| colspan=2 {{unknown|End of chunk}}
|}
|}


Line 59: Line 59:
!Description
!Description
|-
|-
|0x0
| 0x0
|1
| 1
|'''Unknown'''
| {{unknown|'''Unknown'''
|-
|-
|0x1
| 0x1
|1
| 1
|'''Loop Flag'''
| '''Loop Flag'''
|-
|-
|0x2
| 0x2
| 4
| 4
|'''Unknown'''
| {{unknown|'''Unknown'''}}
|-
|-
|0x6
| 0x6
|2
| 2
|'''Unknown'''
| {{unknown|'''Unknown'''}}
|-
|-
|0x8
| 0x8
|4
| 4
|'''Volume'''
| '''Volume'''
|}
|}


Line 86: Line 86:
=== DATA ===
=== DATA ===


The DATA section essentially just embeds a standard DSP, including the full header and ADPCM audio data. Refer to the [[DSP (File Format)|DSP]] page for details. Note that for some reason, the DATA chunk is often 4 bytes smaller than its size indicates.
The DATA section essentially just embeds a standard DSP, including the full header and ADPCM audio data. Refer to the [[DSP (File Format)|DSP]] page for details. Note that for some reason, the DATA chunk is always 4 bytes smaller than its size indicates.


[[Category:File Formats]]
[[Category:File Formats]]
Anonymous user

Navigation menu