<?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=BFASD_%28File_Format%29</id>
	<title>BFASD (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=BFASD_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=BFASD_(File_Format)&amp;action=history"/>
	<updated>2026-05-06T16:59:53Z</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=BFASD_(File_Format)&amp;diff=84&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=BFASD_(File_Format)&amp;diff=84&amp;oldid=prev"/>
		<updated>2024-05-01T17:07:00Z</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;A &amp;#039;&amp;#039;&amp;#039;BFASD&amp;#039;&amp;#039;&amp;#039; file (&amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;inary ca&amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;e &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;nimation &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;ound &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;ata) contains information related to how certain models produce sound based on their skeleton animation on [[Wii U]]. It is a direct update of the [[Wii]] format [[BRASD]].&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
== File Header ==&lt;br /&gt;
This is the structure for a BFASD header.&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;FASD&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt16 || {{BOM}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x06 || UInt16 || Header size. Always 00 14.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt32 || Version. Always 01 00 00 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || Length of the file in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of sections&amp;#039;&amp;#039;&amp;#039;. Always 00 01.&lt;br /&gt;
|-&lt;br /&gt;
| 0x12 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Section 1 flag&amp;#039;&amp;#039;&amp;#039;. Always 80 00 00 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || UInt32 || Offset to &amp;#039;&amp;#039;&amp;#039;[[#DATA|DATA section]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || UInt32 || Length of &amp;#039;&amp;#039;&amp;#039;[[#DATA|DATA section]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DATA ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;DATA&amp;#039;&amp;#039;&amp;#039; section starts with a section header.&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;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;DATA&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Length of this section.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Event Header ==&lt;br /&gt;
After the &amp;#039;&amp;#039;&amp;#039;DATA&amp;#039;&amp;#039;&amp;#039; header comes the header for the event.&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 || UInt32 || Number of frames in corresponding animation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Event reference flag&amp;#039;&amp;#039;&amp;#039;. Always 0x8100.&lt;br /&gt;
|-&lt;br /&gt;
| 0x06 || UInt16 || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Int32 || &amp;#039;&amp;#039;&amp;#039;Offset to the [[#Event|events]]&amp;#039;&amp;#039;&amp;#039;, relative to 0x04 in this structure. Always 0x0C.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || Number of [[#Event|event]]s.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Event ===&lt;br /&gt;
An event is split up into two structures. The first event structure contains information about the frames and the second event structure contains information about the sound. In a file all the event structure 1 comes first, and after that, all the event structure 2. It is the event that controls the info about the animation sound and stores a reference to a [[BFSAR]] sound effect.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Event structure 1&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || Start frame.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || Int32 || &amp;#039;&amp;#039;&amp;#039;End frame&amp;#039;&amp;#039;&amp;#039;. If no end frame is used, this is set to -1.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flags. 1 means that the event is a trigger, 2 means that the end frame is positive infitie and 4 means that the start frame is negative infinite.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || SByte || Number of loops.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Playback loop interval after the number of loops.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt16 || &amp;#039;&amp;#039;&amp;#039;Offset to structure 2 flag&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E || UInt16 || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Int32 || &amp;#039;&amp;#039;&amp;#039;Offset&amp;#039;&amp;#039;&amp;#039; to start of the event structure 2 used in this event. Relative to the start of this event entry.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Event structure 2 stores some more information about the sound. It has a string reference stored to a [[BFSAR]] sound effect and some sound settings.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Event structure 2&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Option flags&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;xxxx xxAB&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; is set if the sound should continue after the animation has stopped.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; is set if sequence variable is enabled.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Placeholder for sound index. Always 0xFFFFFFFF.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || Offset flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || Int32 || Sound label offset.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Byte || Sound volume.&lt;br /&gt;
|-&lt;br /&gt;
| 0x11 || Byte || &amp;#039;&amp;#039;&amp;#039;Playback direction&amp;#039;&amp;#039;&amp;#039;. 0 = both, 1 = forward and 2 = backward&lt;br /&gt;
|-&lt;br /&gt;
| 0x12 || Byte || &amp;#039;&amp;#039;&amp;#039;Sequence variable index&amp;#039;&amp;#039;&amp;#039;. 0 - 15 are local variables and 16 - 31 global variables.&lt;br /&gt;
|-&lt;br /&gt;
| 0x13 || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || Float || Pitch.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || UInt32 || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || UInt32 || &amp;#039;&amp;#039;&amp;#039;User Parameter&amp;#039;&amp;#039;&amp;#039;. Unknown meaning.&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || String || &amp;#039;&amp;#039;&amp;#039;Sound Name&amp;#039;&amp;#039;&amp;#039;. This string is null-terminated ASCII string and refers to a [[BFSAR]] sound effect.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle BFASD files: &lt;br /&gt;
* [[Wexos&amp;#039;s Toolbox]], by [[Wexos]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Wii U File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>