Difference between revisions of "User:MrSinistar/Sandbox"
From Retro Modding Wiki
MrSinistar (Talk | contribs) |
MrSinistar (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | AGSC uses MusyX data for the audio engine. Each sound has it's own "SoundMacro" and properties. The '''pool chunk''' is where the soundmacros are located. SoundMacros are small scripts that control how sounds are played in game, like pitch or vibrato or fade outs. Here's a description of the pool chunk: | ||
+ | |||
+ | {|class="wikitable" | ||
+ | ! Offset | ||
+ | ! Size | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x0 | ||
+ | | 4 | ||
+ | | '''Header size''' Looks like it's always 10 | ||
+ | |- | ||
+ | | 0x10 | ||
+ | | 4 | ||
+ | | '''Macro size''' | ||
+ | |- | ||
+ | | 0x14 | ||
+ | | 2 | ||
+ | | '''Macro ID''' | ||
+ | |- | ||
+ | | 0x18 | ||
+ | | colspan=2 {{unknown|Macro data, needs more research}} | ||
+ | |} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
STRG Commands are similar to CSS syntax. A ; terminates the command. & begins the command, so for example, &just=center; | STRG Commands are similar to CSS syntax. A ; terminates the command. & begins the command, so for example, &just=center; | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 19:17, 31 January 2015
AGSC uses MusyX data for the audio engine. Each sound has it's own "SoundMacro" and properties. The pool chunk is where the soundmacros are located. SoundMacros are small scripts that control how sounds are played in game, like pitch or vibrato or fade outs. Here's a description of the pool chunk:
Offset | Size | Description |
---|---|---|
0x0 | 4 | Header size Looks like it's always 10 |
0x10 | 4 | Macro size |
0x14 | 2 | Macro ID |
0x18 | Macro data, needs more research |
STRG Commands are similar to CSS syntax. A ; terminates the command. & begins the command, so for example, &just=center;
Command | Value | Description |
---|---|---|
just | center | Justifies text |
image | SI,0.70,0.68,TXTR ID | Displays an image. SI = Single Image? S,T and finally TXTR ID. Animation = SA, Animation Speed, S,T, TXTR ID, TXTR ID |
main-color | Hex Color Code | Changes color of text. |
Help us research and document! Join the discussion at: Metroid Prime Hacking Research thread @ Metroid2002.com
|