AST (File Format): Difference between revisions
Jump to navigation
Jump to search
(Created page with "category:File formats = File Format = '''AST''' files are audio streams, found in both ''Super Mario Galaxy'' and ''Super Mario Galaxy 2''. == Header == AST file header, 0x40 bytes in length. {| class="wikitable" ! Offset !! Type !! Description |- | 0x00 || String || File magic. '''STRM''' in ASCII. |- | 0x04 || UInt32 || Size of all sound blocks. ''File Size - Header Length'' |- | 0x08 || UInt16 || Audio format. 0 = ADPCM, 1 = PCM16 |- | 0x0A || UInt16 || Bit dep...") |
(Added links to Music page and tutorials) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[category:File formats]] | [[category:File formats]] | ||
'''AST''' files are audio streams found in several JAudio2 games, including ''Super Mario Galaxy'' and ''Super Mario Galaxy 2''. Both games store their '''AST''' files in the <code>AudioRes/Stream</code> directory.<br><br> | |||
'''AST''' files are audio streams | For a comprehensive list linking '''AST''' files to the Galaxy they're used in, check the [[List of Music]] page. | ||
== Header == | == Header == | ||
Line 55: | Line 55: | ||
= Tools = | = Tools = | ||
[ | [https://www.lumasworkshop.com/tools/#audio-tools Luma's Workshop - Audio Tools] | ||
= Tutorials = | = Tutorials = | ||
[[Music | [https://www.lumasworkshop.com/guides/?d=Changing%20Background%20Music Luma's Workshop - Changing Background Music]<br> | ||
[https://www.lumasworkshop.com/guides/?d=Importing%20New%20Music%20Tracks Luma's Workshop - Importing New Music Tracks] |
Latest revision as of 07:55, 27 November 2024
AST files are audio streams found in several JAudio2 games, including Super Mario Galaxy and Super Mario Galaxy 2. Both games store their AST files in the AudioRes/Stream
directory.
For a comprehensive list linking AST files to the Galaxy they're used in, check the List of Music page.
Header
AST file header, 0x40 bytes in length.
Offset | Type | Description |
---|---|---|
0x00 | String | File magic. STRM in ASCII. |
0x04 | UInt32 | Size of all sound blocks. File Size - Header Length |
0x08 | UInt16 | Audio format. 0 = ADPCM, 1 = PCM16 |
0x0A | UInt16 | Bit depth. |
0x0C | UInt16 | Number of channels. |
0x0E | UInt16 | Unknown. |
0x10 | UInt32 | Sample rate. |
0x14 | UInt32 | Total sample count. |
0x18 | UInt32 | Loop start in samples. |
0x1C | UInt32 | Loop end in samples. |
0x20 | UInt32 | Unknown. Seems to be the size of the first block. |
0x24 | UInt32 | Unknown. Always 0. |
0x28 | UInt32 | Unknown. Always 0x7F000000. |
0x2C | Byte | Always 0. Likely padding. |
0x40 | End of Header. |
BLCK
AST file contain multiple BLCK sections, each containing sound data.
Offset | Type | Description |
---|---|---|
0x00 | String | Block magic. BLCK in ASCII. |
0x04 | UInt32 | Block size. |
0x08 | Byte | Unknown. Likely padding for alignment. |
0x20 | Byte | Sound data. |
Tools
Tutorials
Luma's Workshop - Changing Background Music
Luma's Workshop - Importing New Music Tracks