AGSC (File Format): Difference between revisions

>MrSinistar
>MrSinistar
Line 84: Line 84:
|-
|-
| 0x0
| 0x0
| 4
| '''Size'''
|-
| 0x4
| 4
| '''Soundmacro ID'''
|-
| 0x8
| 1
| 1
| '''Command ID''' (varies; there are 79 known commands in the MusyX audio engine.)
| '''Command ID''' (varies; there are 79 known commands in the MusyX audio engine.)
|-
|-
| 0x1
| 0x9
| 7
| 7
| '''Command arguments''' (varies between commands)
| '''Command arguments''' (varies between commands)
|-
|-
| 0x8
| 0xA
| colspan=2 {{unknown|End of entry}}
| colspan=2 {{unknown|End of entry}}
|}
|}


The SoundMacro terminates when the END command is executed.  The command ID for END is 0 and has null command arguments; the next SoundMacro begins after reading it. The entire Pool chunk is terminated by a value of 0xFFFFFFFF.
The SoundMacro will continue with commands until it terminates when the END command is executed.  The command ID for END is 0 and has null command arguments; the next SoundMacro begins after reading it. The entire Pool chunk is terminated by a value of 0xFFFFFFFF.


These are the possible commands:
These are the possible commands:
Anonymous user