You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="SAVA_(File_Format)" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Retro Modding Wiki">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">&lt;br&gt;
&lt;div style=&quot;overflow-x:auto;&quot;&gt;
{| cellspacing=&quot;3&quot; style=&quot;padding:0px; margin:0px; width:100%; background-color: transparent; white-space:nowrap;&quot;
|colspan=2|
{| width=100% style=&quot;padding:0px; background-color: transparent;&quot;
|style=&quot;width:40%; text-align:center; white-space:nowrap;&quot;|
&lt;div style=&quot;font-size:162%&quot;&gt;Welcome to the [[Retro Modding Wiki:About|Retro Modding Wiki]]&lt;/div&gt;
&lt;div style=&quot;font-size: 95%&quot;&gt;an encyclopedia about modding and hacking games from Retro Studios.&lt;/div&gt;
&lt;div style=&quot;font-size: 75%&quot;&gt;With [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles and counting.&lt;/div&gt;
|style=&quot;width:16%&quot;|
*[[Metroid Prime]]
*[[Metroid Prime 2: Echoes]]
*[[Metroid Prime 3: Corruption‏‎]]
|style=&quot;width:16%&quot;|
*[[Donkey Kong Country Returns]]
*[[Donkey Kong Country Returns 3D]]
*[[Donkey Kong Country: Tropical Freeze‏‎]]
|style=&quot;width:16%&quot;|
*[[:Category:File Formats‏‎|File Formats‏‎]]
*'''[[Special:Categories|All categories]]'''
|}
|}
&lt;/div&gt;
&lt;br&gt;
{{Mainpagelinks}}
&lt;noinclude&gt;[[Category:Retro Modding Wiki]]&lt;/noinclude&gt;</rev>
        </revisions>
      </page>
      <page pageid="322" ns="0" title="SAND (File Format)">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">The '''SAND format''' appears in Metroid Prime 3. It stores various animation-related data, which is used by [[CHAR (Metroid Prime 3)|CHAR files]]. Most of the data in this format appeared in the [[ANCS (File Format)|ANCS format]] in Prime 1/2.

__TOC__

== Format ==

{| class=&quot;wikitable&quot;
! Type
! Count
! Name
! Notes
|-
| u16
| 1
| {{unknown}}
| Always 0
|-
| u32
| 1
| '''Transition Count'''
| Number of animation transitions.
|-
| [[#Transition|Transition]]
| ''Transition Count''
| '''Transition Array'''
| Array of animation transitions.
|-
| u32
| 1
| '''Half Transition Count'''
| Number of half transitions.
|-
| [[#Half Transition|Half Transition]]
| ''Half Transition Count''
| '''Half Transition Array'''
| Array of half transitions.
|-
| [[Meta-Transition]]
| 1
| '''Default Transition'''
| 
|-
| u32
| 1
| '''Additive Animation Count'''
| Number of additive animations.
|-
| [[#Additive Animation|Additive Animation]]
| ''Additive Animation Count''
| '''Additive Animation Array'''
| Array of additive animations. Although any animation can be used as additive, this array allows for customizing the fade in/out time for each animation.
|-
| float
| 1
| '''Default Fade-In Time'''
| Fade-in time used for additive animations not listed in the above array.
|-
| float
| 1
| '''Default Fade-Out Time'''
| Fade-out time used for additive animations not listed in the above array.
|-
| u8
| 1
| {{unknown}}
| Always 0
|-
| u32
| 1
| '''Anim Event Set Count'''
| Count of anim event sets. There'll be one set per animation that uses events (unless the animation has its events in the [[CHAR (Metroid Prime 3)|CHAR file]]).
|-
| [[#Anim Event Set|Anim Event Set]]
| ''Anim Event Set Count''
| '''Anim Event Set Array'''
| Array of animation event sets.
|}

=== Transition ===

{| class=&quot;wikitable&quot;
! Offset
! Type
! Name
! Notes
|-
| 0x0
| u8
| {{unknown}}
| Always 0
|-
| 0x1
| Asset ID ([[ANIM (Metroid Prime 3)|ANIM]])
| '''Animation ID A'''
| ID of the animation being transitioned from.
|-
| 0x9
| Asset ID ([[ANIM (Metroid Prime 3)|ANIM]])
| '''Animation ID B'''
| ID of the animation being transitioned to.
|-
| 0x11
| [[Meta-Transition]]
| '''Transition'''
| Meta-transition data.
|}

=== Half Transition ===

{| class=&quot;wikitable&quot;
! Offset
! Type
! Name
! Notes
|-
| 0x0
| u8
| {{unknown}}
| Always 0
|-
| 0x1
| Asset ID ([[ANIM (Metroid Prime 3)|ANIM]])
| '''Animation ID'''
| The animation being transitioned from.
|-
| 0x9
| [[Meta-Transition]]
| '''Transition'''
| Meta-transition data.
|}

=== Additive Animation ===

{| class=&quot;wikitable&quot;
! Offset
! Type
! Name
! Notes
|-
| 0x0
| Asset ID ([[ANIM (Metroid Prime 3)|ANIM]])
| '''Animation ID'''
| ID of the animation that these additive settings apply to.
|-
| 0x8
| float
| '''Fade-In Time'''
| Fade-in duration.
|-
| 0xC
| float
| '''Fade-Out Time'''
| Fade-out duration.
|}

=== Anim Event Set ===

{| class=&quot;wikitable&quot;
! Type
! Count
! Name
! Notes
|-
| Asset ID ([[ANIM (Metroid Prime 3)|ANIM]])
| 1
| '''Animation ID'''
| ID of the animation that these events apply to.
|-
| u32
| 1
| {{unknown}}
| 
|-
| u32
| 1
| '''Effect Event Count'''
| Number of effect events in this set.
|-
| [[Animation Events (File Format)#Effect Event|Effect Event]]
| ''Effect Event Count''
| '''Effect Event Array'''
| Array of effect events.
|-
| u32
| 1
| '''Sound Event Count'''
| Number of sound events in this set.
|-
| [[Animation Events (File Format)#Metroid Prime 3 2|Sound Event]]
| ''Sound Event Count''
| '''Sound Event Array'''
| Array of sound events.
|-
| u32
| 1
| '''User Event Count'''
| Number of user events in this set.
|-
| [[Animation Events (File Format)#Metroid Prime 3|User Event]]
| ''User Event Count''
| '''User Event Array'''
| Array of user events.
|}

[[Category:File Formats]]
[[Category:Metroid Prime 3 Prototype]]
[[Category:Metroid Prime 3: Corruption]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>