<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=AST_%28File_Format%29</id>
	<title>AST (File Format) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=AST_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=AST_(File_Format)&amp;action=history"/>
	<updated>2026-05-06T16:59:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=AST_(File_Format)&amp;diff=37&amp;oldid=prev</id>
		<title>Wexos: Imported from avsys wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=AST_(File_Format)&amp;diff=37&amp;oldid=prev"/>
		<updated>2024-05-01T16:53:04Z</updated>

		<summary type="html">&lt;p&gt;Imported from avsys wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;AST&amp;#039;&amp;#039;&amp;#039; files are sound files used in some [[GameCube]] and [[Wii]] games such as [[Super Mario Galaxy]], [[Super Mario Galaxy 2]] and [[Mario Kart: Double Dash!!]]. The file contains a header followed by blocks with data.&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
== Header ==&lt;br /&gt;
The file starts with a 0x40 bytes long header as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;File magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;STRM&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Size of all [[#BLCK|sound blocks]]&amp;#039;&amp;#039;&amp;#039; in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Audio format&amp;#039;&amp;#039;&amp;#039;. 0 = AFC ADPCM, 1 = PCM16.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || &amp;#039;&amp;#039;&amp;#039;Bits per sample&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of channels&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E || Int16 || &amp;#039;&amp;#039;&amp;#039;Loop flag&amp;#039;&amp;#039;&amp;#039;. -1 if it loops, 0 if it doesn&amp;#039;t.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Sample rate&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Total number of samples&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Loop start&amp;#039;&amp;#039;&amp;#039; in samples.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Loop end&amp;#039;&amp;#039;&amp;#039; in samples.&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || UInt32 || Seems to be the &amp;#039;&amp;#039;&amp;#039;block size of the first [[#BLCK|block]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || UInt32 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Only seen as 0.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x28 || Byte || &amp;#039;&amp;#039;&amp;#039;Volume&amp;#039;&amp;#039;&amp;#039;. Values range from 0 to 127.&lt;br /&gt;
|-&lt;br /&gt;
| 0x29 || Byte[3] || &amp;#039;&amp;#039;&amp;#039;Padding&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C || Byte[0x14] || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Only seen as 0. Probably padding.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== BLCK ==&lt;br /&gt;
A file contains many &amp;#039;&amp;#039;&amp;#039;BLCK&amp;#039;&amp;#039;&amp;#039; sections which contain sound data. Each block has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Block magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;BLCK&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Sound data size&amp;#039;&amp;#039;&amp;#039; per channel in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt32 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;, only set when audio format is ADPCM.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;, only set when audio format is ADPCM.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Byte[0x10] || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Probably padding to align sound data.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || Byte[][] || &amp;#039;&amp;#039;&amp;#039;Sound data&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
The following tools can handle AST files:&lt;br /&gt;
* [[Wexos&amp;#039;s Toolbox]], by [[Wexos]]&lt;br /&gt;
&lt;br /&gt;
[[Category:GameCube File Formats]]&lt;br /&gt;
[[Category:Wii File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>