AGSC (File Format): Difference between revisions

Jump to navigation Jump to search
>MrSinistar
>MrSinistar
Line 726: Line 726:
| colspan="7" {{unknown|}}
| colspan="7" {{unknown|}}
|}
|}
After the last soundmacro, the table terminated by a value of 0xFFFF.
==== Tables ====
'''Tables''' have two functions: for defining curves for volume scaling, or to be used as ADSR envelopes.
{| class="wikitable"
! Offset
! Size
! Description
|-
| 0x0
| 4
| '''Table size'''; (usually 0x10)
|-
| 0x4
| 2
| '''Table ID'''
|-
| 0x6
| 2
| {{unknown|'''Unknown'''}}; (always 0)
|-
| 0x8
| 1
| '''Attack time (0-255 milliseconds)'''
|-
| 0x9
| 1
| '''Attack time (256-65280 milliseconds)'''
|-
| 0x10
| colspan=2 {{unknown|End of entry}}
|}


The entire Pool chunk is terminated by a value of 0xFFFF.
The entire Pool chunk is terminated by a value of 0xFFFF.
Anonymous user

Navigation menu