<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonbarrow</id>
	<title>3dbrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonbarrow"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/Jonbarrow"/>
	<updated>2026-05-13T02:41:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/MSBT&amp;diff=22062</id>
		<title>Nintendo Badge Arcade/MSBT</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/MSBT&amp;diff=22062"/>
		<updated>2023-01-25T03:02:01Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: Updated page to have the correct info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nintendo Badge Arcade uses &amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; files for Badge Bunny&#039;s dialog and animations&lt;br /&gt;
&lt;br /&gt;
This page will only cover &amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; control tags specific to Nintendo Badge Arcade. For more details on &amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; files in general, refer to https://github.com/kinnay/Nintendo-File-Formats/wiki/MSBT-File-Format and https://mk8.tockdom.com/wiki/MSBT_(File_Format)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;location&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Location ==&lt;br /&gt;
&lt;br /&gt;
Nintendo Badge Arcade&#039;s &amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; files are loaded using &amp;lt;code&amp;gt;BOSS&amp;lt;/code&amp;gt;. A large &amp;lt;code&amp;gt;SARC&amp;lt;/code&amp;gt; archive file is downloaded which holds all the games data. Inside this &amp;lt;code&amp;gt;SARC&amp;lt;/code&amp;gt; file, the &amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; files are stored in &amp;lt;code&amp;gt;/message/boss_REGION/LANG/slotID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;format&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;MSBT&amp;lt;/code&amp;gt; control tags have the following format&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Size !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x2 || &#039;&#039;&#039;Magic&#039;&#039;&#039;. Always &#039;&#039;&#039;0E00&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2 || 0x2 || Tag group ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 0x2 || Tag ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x6 || 0x2 || Data size&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || Data size || Data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;tag-groups&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Tag Groups ==&lt;br /&gt;
&lt;br /&gt;
Nintendo Badge Arcade uses the following known tag groups:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Tag group ID !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Badge Bunny (?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;tags&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Tags ==&lt;br /&gt;
&lt;br /&gt;
The following is an incomplete list of the tag groups tags, with names describing each tag type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;badge-bunny&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Badge Bunny (?) ===&lt;br /&gt;
&lt;br /&gt;
Tag group ID &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Tag ID !! Name !! Data format&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || Play Animation || Animation ID. See below for details&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;badge-bunny-animations&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
==== Badge Bunny Animations ====&lt;br /&gt;
&lt;br /&gt;
The following is an incomplete list of the animation datas, with names describing each, and a preview of the animation. They are in no particular order&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation ID !! Name !! Preview&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;121414CD&amp;lt;/code&amp;gt; || Flames || https://i.imgur.com/XJOXecm.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;111313CD&amp;lt;/code&amp;gt; || Pounce || https://i.imgur.com/yF5kIhz.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;00302ECD&amp;lt;/code&amp;gt; || Shocked || https://i.imgur.com/yUopyml.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;003432CD&amp;lt;/code&amp;gt; || Disappointed || https://i.imgur.com/Gg71ww3.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;030505CD&amp;lt;/code&amp;gt; || Shake My Hand || https://i.imgur.com/0koci1z.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;181F1FCD&amp;lt;/code&amp;gt; || Chop Explain || https://i.imgur.com/usfbqcq.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;002020CD&amp;lt;/code&amp;gt; || Laugh (Small) || https://i.imgur.com/eLgzpfm.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;192121CD&amp;lt;/code&amp;gt; || Laugh (Slapping) || https://i.imgur.com/YR47psp.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;002828CD&amp;lt;/code&amp;gt; || Head Shake || https://i.imgur.com/OUbeKS5.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;1D2727CD&amp;lt;/code&amp;gt; || Clap Explain || https://i.imgur.com/tCnWOdJ.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;020404CD&amp;lt;/code&amp;gt; || Awkward || https://i.imgur.com/jO6Mlfo.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;003937CD&amp;lt;/code&amp;gt; || Flushed || https://i.imgur.com/ue2vopA.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;001B1BCD&amp;lt;/code&amp;gt; || Shimmer || https://i.imgur.com/PotZ3LP.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;000000CD&amp;lt;/code&amp;gt; || Arms Crossed || https://i.imgur.com/G7VYCsu.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;001818CD&amp;lt;/code&amp;gt; || Clapping || https://i.imgur.com/fopecNR.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;1E2A2ACD&amp;lt;/code&amp;gt; || Right Hand Slap || https://i.imgur.com/fnICcPG.gif&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;171D1DCD&amp;lt;/code&amp;gt; || Music Note Burst || https://i.imgur.com/QXchrzO.gif&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;recommended-color-values&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Recommended Color Values ==&lt;br /&gt;
&lt;br /&gt;
These values are recommended for text coloration, as it is what official text is colored as. These are &#039;&#039;&#039;&#039;&#039;not&#039;&#039;&#039;&#039;&#039; restrictions&lt;br /&gt;
&lt;br /&gt;
Format is RGBA. Alpha is ignored by Nintendo Badge Arcade and is always set to &amp;lt;code&amp;gt;FF&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Color !! Value !! Note&lt;br /&gt;
|-&lt;br /&gt;
| Red || &amp;lt;code&amp;gt;FF0000FF&amp;lt;/code&amp;gt; || Used for general highlighting,&amp;lt;br&amp;gt;and game names in the Miiverse Gallery.&lt;br /&gt;
|-&lt;br /&gt;
| Green || &amp;lt;code&amp;gt;009B00FF&amp;lt;/code&amp;gt; || Rarely used, but mainly for the Miiverse Gallery.&lt;br /&gt;
|-&lt;br /&gt;
| Blue || &amp;lt;code&amp;gt;0000FFFF&amp;lt;/code&amp;gt; || Usually used for character names,&amp;lt;br&amp;gt;and themes in the Miiverse Gallery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;examples&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Below are raw hex blocks of example messages, and what they appear as.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;color-example&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Color Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Nba-example-color.png|Color Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4E 00 6F 00 72 00 6D 00 61 00 6C 00 20 00 0E 00 &lt;br /&gt;
00 00 03 00 04 00 FF 00 00 FF 52 00 65 00 64 00 &lt;br /&gt;
20 00 0E 00 00 00 03 00 04 00 00 9B 00 FF 47 00 &lt;br /&gt;
72 00 65 00 65 00 6E 00 20 00 0E 00 00 00 03 00 &lt;br /&gt;
04 00 00 00 FF FF 42 00 6C 00 75 00 65 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;font-scale-example&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Font Scale Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Nba-example-scale.png|FS Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
44 00 65 00 66 00 61 00 75 00 6C 00 74 00 20 00 &lt;br /&gt;
0E 00 00 00 02 00 02 00 74 00 53 00 69 00 7A 00 &lt;br /&gt;
65 00 20 00 37 00 34 00 20 00 0E 00 00 00 02 00 &lt;br /&gt;
02 00 54 00 53 00 69 00 7A 00 65 00 20 00 35 00 &lt;br /&gt;
34 00 20 00 0E 00 00 00 02 00 02 00 34 00 53 00 &lt;br /&gt;
69 00 7A 00 65 00 20 00 33 00 34 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/Format_Tags&amp;diff=22061</id>
		<title>Nintendo Badge Arcade/Format Tags</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/Format_Tags&amp;diff=22061"/>
		<updated>2023-01-25T02:05:03Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: Jonbarrow moved page Nintendo Badge Arcade/Format Tags to Nintendo Badge Arcade/MSBT: Rename page to be more accurate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Nintendo Badge Arcade/MSBT]]&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/MSBT&amp;diff=22060</id>
		<title>Nintendo Badge Arcade/MSBT</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/MSBT&amp;diff=22060"/>
		<updated>2023-01-25T02:05:03Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: Jonbarrow moved page Nintendo Badge Arcade/Format Tags to Nintendo Badge Arcade/MSBT: Rename page to be more accurate&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Badge Arcade plays actions and formats text with what I like to call, “tags”. Tags are a collection of hex bytes, and these tags can be placed inside of text to color or scale text, and play animations on Badge Bunny.&lt;br /&gt;
&lt;br /&gt;
These tags are used for the MSBT text inside of &amp;lt;code&amp;gt;boss.sarc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;tag-format&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Tag Format ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Begin Format Tag&lt;br /&gt;
! Type&lt;br /&gt;
! Begin Data&lt;br /&gt;
! Data&lt;br /&gt;
! End Data and Tag&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 00 00&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;03&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;00&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;02 00 78&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;00 / FF / CD&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Tags have a 4 byte section to begin the tag. The 3rd byte will be 02 if it is an action tag.&lt;br /&gt;
&lt;br /&gt;
This is followed by what type of tag it is, if it’s a text format tag.&lt;br /&gt;
&lt;br /&gt;
A 00 byte then follows to begin the tag data. This data continues until it hits either a 00, FF, or CD byte depending on what type of tag it is.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;tags&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Tags ==&lt;br /&gt;
&lt;br /&gt;
These are the tags that Badge Arcade uses to format.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 00 00 03 00 04 00 RR GG BB FF&amp;lt;/code&amp;gt;&lt;br /&gt;
| Colors text using the RR GG BB bytes as RGB hex.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 00 00 02 00 02 00 FS 00&amp;lt;/code&amp;gt;&lt;br /&gt;
| Changes the font scale using the FS byte.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 02 00 00 00 04 00 AC TI ON CD&amp;lt;/code&amp;gt;&lt;br /&gt;
| Changes Badge Bunny’s action using the AC TI ON bytes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The color and font scale tags format everything after them, unless an exit tag resets it. Action tags are to be placed at the end of a message.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;exit-tags&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Exit Tags ==&lt;br /&gt;
&lt;br /&gt;
Exit tags are simply normal tags that set the already customized values back to defaults. They are exactly like normal tags, and are provided for reference. Exit tags are not necessary if you do not want to unformat the text at any point during the message.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Exit Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 00 00 03 00 04 00 00 00 00 FF&amp;lt;/code&amp;gt;&lt;br /&gt;
| Changes text to black.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;0E 00 00 00 02 00 02 00 64 00&amp;lt;/code&amp;gt;&lt;br /&gt;
| Changes font scale to 64, the default.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If an exit tag is at the end of a message, an action tag MUST be provided, otherwise the game will read the exit tag as an action, which could cause problems.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;recommended-color-values&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Recommended Color Values ==&lt;br /&gt;
&lt;br /&gt;
These values are recommended for text coloration, as it is what official text is colored as. These are &#039;&#039;&#039;&#039;&#039;not&#039;&#039;&#039;&#039;&#039; restrictions.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Color&lt;br /&gt;
! Red&lt;br /&gt;
! Green&lt;br /&gt;
! Blue&lt;br /&gt;
|-&lt;br /&gt;
| Hex&lt;br /&gt;
| &amp;lt;code&amp;gt;#FF0000&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;#009B00&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;#0000FF&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Note&lt;br /&gt;
| Used for general highlighting,&amp;lt;br&amp;gt;and game names in the Miiverse Gallery.&lt;br /&gt;
| Rarely used, but mainly for the Miiverse Gallery.&lt;br /&gt;
| Usually used for character names,&amp;lt;br&amp;gt;and themes in the Miiverse Gallery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;actions&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Actions ==&lt;br /&gt;
&lt;br /&gt;
Actions are animations that play on Badge Bunny when he says the current message. If there are multiple action tags, only the last one will play. If there is &#039;&#039;&#039;no&#039;&#039;&#039; action tag, a default nodding animation will play.&lt;br /&gt;
&lt;br /&gt;
An incomplete list of the most common actions is below, with names describing them, and a GIF preview of the animation. They are in no particular order.&lt;br /&gt;
&lt;br /&gt;
You can substitute these into the ACTION bytes of the action tag.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Action&lt;br /&gt;
! Hex&lt;br /&gt;
! Preview&lt;br /&gt;
|-&lt;br /&gt;
| Flames&lt;br /&gt;
| &amp;lt;code&amp;gt;12 14 14&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/XJOXecm.gif&lt;br /&gt;
|-&lt;br /&gt;
| Pounce&lt;br /&gt;
| &amp;lt;code&amp;gt;11 13 13&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/yF5kIhz.gif&lt;br /&gt;
|-&lt;br /&gt;
| Shocked&lt;br /&gt;
| &amp;lt;code&amp;gt;00 30 2E&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/yUopyml.gif&lt;br /&gt;
|-&lt;br /&gt;
| Disappointed&lt;br /&gt;
| &amp;lt;code&amp;gt;00 34 32&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/Gg71ww3.gif&lt;br /&gt;
|-&lt;br /&gt;
| Shake My Hand&lt;br /&gt;
| &amp;lt;code&amp;gt;03 05 05&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/0koci1z.gif&lt;br /&gt;
|-&lt;br /&gt;
| Chop Explain&lt;br /&gt;
| &amp;lt;code&amp;gt;18 1F 1F&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/usfbqcq.gif&lt;br /&gt;
|-&lt;br /&gt;
| Laugh (Small)&lt;br /&gt;
| &amp;lt;code&amp;gt;00 20 20&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/eLgzpfm.gif&lt;br /&gt;
|-&lt;br /&gt;
| Laugh (Slapping)&lt;br /&gt;
| &amp;lt;code&amp;gt;19 21 21&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/YR47psp.gif&lt;br /&gt;
|-&lt;br /&gt;
| Head Shake&lt;br /&gt;
| &amp;lt;code&amp;gt;00 28 28&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/OUbeKS5.gif&lt;br /&gt;
|-&lt;br /&gt;
| Clap Explain&lt;br /&gt;
| &amp;lt;code&amp;gt;1D 27 27&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/tCnWOdJ.gif&lt;br /&gt;
|-&lt;br /&gt;
| Awkward&lt;br /&gt;
| &amp;lt;code&amp;gt;02 04 04&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/jO6Mlfo.gif&lt;br /&gt;
|-&lt;br /&gt;
| Flushed&lt;br /&gt;
| &amp;lt;code&amp;gt;00 39 37&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/ue2vopA.gif&lt;br /&gt;
|-&lt;br /&gt;
| Shimmer&lt;br /&gt;
| &amp;lt;code&amp;gt;00 1B 1B&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/PotZ3LP.gif&lt;br /&gt;
|-&lt;br /&gt;
| Arms Crossed&lt;br /&gt;
| &amp;lt;code&amp;gt;00 00 00&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/G7VYCsu.gif&lt;br /&gt;
|-&lt;br /&gt;
| Clapping&lt;br /&gt;
| &amp;lt;code&amp;gt;00 18 18&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/fopecNR.gif&lt;br /&gt;
|-&lt;br /&gt;
| Right Hand Slap&lt;br /&gt;
| &amp;lt;code&amp;gt;1E 2A 2A&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/fnICcPG.gif&lt;br /&gt;
|-&lt;br /&gt;
| Music Note Burst&lt;br /&gt;
| &amp;lt;code&amp;gt;17 1D 1D&amp;lt;/code&amp;gt;&lt;br /&gt;
| https://i.imgur.com/QXchrzO.gif&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;examples&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Below are raw hex blocks of example messages, and what they appear as.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;color-example&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Color Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Nba-example-color.png|Color Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
4E 00 6F 00 72 00 6D 00 61 00 6C 00 20 00 0E 00 &lt;br /&gt;
00 00 03 00 04 00 FF 00 00 FF 52 00 65 00 64 00 &lt;br /&gt;
20 00 0E 00 00 00 03 00 04 00 00 9B 00 FF 47 00 &lt;br /&gt;
72 00 65 00 65 00 6E 00 20 00 0E 00 00 00 03 00 &lt;br /&gt;
04 00 00 00 FF FF 42 00 6C 00 75 00 65 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;font-scale-example&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Font Scale Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Nba-example-scale.png|FS Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
44 00 65 00 66 00 61 00 75 00 6C 00 74 00 20 00 &lt;br /&gt;
0E 00 00 00 02 00 02 00 74 00 53 00 69 00 7A 00 &lt;br /&gt;
65 00 20 00 37 00 34 00 20 00 0E 00 00 00 02 00 &lt;br /&gt;
02 00 54 00 53 00 69 00 7A 00 65 00 20 00 35 00 &lt;br /&gt;
34 00 20 00 0E 00 00 00 02 00 02 00 34 00 53 00 &lt;br /&gt;
69 00 7A 00 65 00 20 00 33 00 34 00 00 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22019</id>
		<title>Nintendo Badge Arcade/PrizeCollection</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22019"/>
		<updated>2022-12-18T15:51:03Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: /* Language Names */ Clarified information on the language names&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;PrizeCollection&#039;&#039;&#039; SARC file has the following folder structure:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 └── pc&lt;br /&gt;
     ├── PrizeCollection.xml&lt;br /&gt;
     ├── ci&lt;br /&gt;
     └── rt&lt;br /&gt;
         ├── At&lt;br /&gt;
         ├── CI&lt;br /&gt;
         ├── Ca&lt;br /&gt;
         ├── Cr&lt;br /&gt;
         ├── FO&lt;br /&gt;
         └── Pr&lt;br /&gt;
&lt;br /&gt;
Each of the subfolders contains a custom file format storing different properties between those. Each of those files are compressed using Yaz0 compression.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Subfolder&lt;br /&gt;
! File type&lt;br /&gt;
|-&lt;br /&gt;
| ci&lt;br /&gt;
| Crane Instance (cib)&lt;br /&gt;
|-&lt;br /&gt;
| At&lt;br /&gt;
| Attachment (atb)&lt;br /&gt;
|-&lt;br /&gt;
| CI&lt;br /&gt;
| Crane Icon (icb)&lt;br /&gt;
|-&lt;br /&gt;
| Ca&lt;br /&gt;
| Category (cab)&lt;br /&gt;
|-&lt;br /&gt;
| Cr&lt;br /&gt;
| Crane (crb)&lt;br /&gt;
|-&lt;br /&gt;
| FO&lt;br /&gt;
| Fixed Object (fob)&lt;br /&gt;
|-&lt;br /&gt;
| Pr&lt;br /&gt;
| Prize (prb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PrizeCollection.xml ==&lt;br /&gt;
This file has an index of all of the game data stored here. It has the following data:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
   &amp;lt;Categories count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Category name=&amp;quot;CategoryName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Categories&amp;gt;&lt;br /&gt;
   &amp;lt;Cranes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Crane name=&amp;quot;CraneName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Cranes&amp;gt;&lt;br /&gt;
   &amp;lt;CraneIcons count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;CraneIcon name=&amp;quot;CraneIconName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneIcons&amp;gt;&lt;br /&gt;
   &amp;lt;Prizes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Prize name=&amp;quot;PrizeName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;Attachments count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Attachment name=&amp;quot;AttachmentName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Attachments&amp;gt;&lt;br /&gt;
   &amp;lt;FixedObjects count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;FixedObject name=&amp;quot;FixedObjectName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/FixedObjects&amp;gt;&lt;br /&gt;
   &amp;lt;CraneInstances&amp;gt;&lt;br /&gt;
     &amp;lt;CraneInstance name=&amp;quot;CraneInstanceName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneInstances&amp;gt;&lt;br /&gt;
 &amp;lt;/CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Crane Instance (cib) ==&lt;br /&gt;
A crane instance file stores the data of a set and the components of the machine.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CIBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x30&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Instance name&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x90&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Prize name x&lt;br /&gt;
|-&lt;br /&gt;
| 0x1880 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed Object name x&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Offset = 0x30 * x&lt;br /&gt;
&lt;br /&gt;
== Attachment (atb) ==&lt;br /&gt;
An attachment file stores the data of an immovable object and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ATBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Attachment name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of attachment&lt;br /&gt;
|-&lt;br /&gt;
| 0x80 + (w * h)&lt;br /&gt;
| w * h&lt;br /&gt;
| A8 data of previous image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane Icon (icb) ==&lt;br /&gt;
A crane icon file stores the icon of a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ICBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Category (cab) ==&lt;br /&gt;
A category file stores the data of a group of sets and its category image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CABS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x4&lt;br /&gt;
| Category ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Category name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of sets (crane instances)&lt;br /&gt;
|-&lt;br /&gt;
| 0x68&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x2080&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of category&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane (crb) ==&lt;br /&gt;
A crane file stores the background image used on a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0x10000&lt;br /&gt;
| ETC1 image? (Unknown resolution)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fixed Object (fob) ==&lt;br /&gt;
A fixed object file stores the data of the terrain and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (FOBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed object name&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x58&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of fixed object&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Prize (prb) ==&lt;br /&gt;
A prize file stores the badge data and its image. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (PRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x38&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Badge ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x44&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge file name&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge category&lt;br /&gt;
|-&lt;br /&gt;
| 0xA4&lt;br /&gt;
| 0x8&lt;br /&gt;
| Title ID it opens (0xFFFFFFFF if none)&lt;br /&gt;
|-&lt;br /&gt;
| 0xAC&lt;br /&gt;
| 0xC&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xB8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of horizontal tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xBC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of vertical tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xE0&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Badge display names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x10E0&lt;br /&gt;
| 0x20&lt;br /&gt;
| Unknown (usually zero?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| &lt;br /&gt;
| Image data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Following the badges metadata is it&#039;s image data. Each badge contains multiple images used in different places during gameplay&lt;br /&gt;
&lt;br /&gt;
An image can be either RGB565 or ETC1A4. RGB565 images are immediately followed with A4 data for itself, whereas ETC1A4 images are immediately followed with A8 data for itself&lt;br /&gt;
&lt;br /&gt;
A badge may take up multiple spaces on the Home Menu, and as such contains images for each space called &amp;quot;tiles&amp;quot;. The number of image tiles a badge uses is found in the badge metadata at offsets 0xB8 and 0xBC&lt;br /&gt;
&lt;br /&gt;
All badge image data begins with a 64x64 RGB565 image of the full badge. Following the 64x64 image is a  32x32 RGB565 image of the full badge, which is used in the badge selector in Home Menu&lt;br /&gt;
&lt;br /&gt;
If the badge is 1x1 tiles, then the first 64x64 RGB565 image is used in Home Menu to display the badge. If the badge is &#039;&#039;not&#039;&#039; 1x1, then the badge contains x*y number of additional 64x64 and 32x32 RGB565 images, where x is the number of horizontal tiles and y is the number of vertical tiles. These tiles are then used in Home Menu to display the badge. These additional images are stored immediately after the 32x32 image&lt;br /&gt;
&lt;br /&gt;
Finally, the last image in the badge image data is a single 128x128 ETC1A4 image of the full badge which is used in game&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of full badge (used in Home Menu if badge is 1x1)&lt;br /&gt;
|-&lt;br /&gt;
| 0x3100&lt;br /&gt;
| 0x800&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| 0x3900&lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 RGB565 image of full badge (used in badge selector in Home Menu)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4100&lt;br /&gt;
| 0x200&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (used in Home Menu if badge is not 1x1)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x800&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (unknown use)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x200&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 ETC1A4 image (used in game)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x4000&lt;br /&gt;
| A8 data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Language Names ==&lt;br /&gt;
Some files, like the badge and the category file, store its display name in a set of 16 different languages.&lt;br /&gt;
&lt;br /&gt;
Each language is stored as a little-endian utf16 string, in an allocated 0x100 byte section stacked on top of each other.&lt;br /&gt;
&lt;br /&gt;
A string does not need to fill the entire 0x100 byte section, the remaining data is set to null bytes&lt;br /&gt;
&lt;br /&gt;
The languages are ordered as follows:&lt;br /&gt;
&lt;br /&gt;
# Japanese&lt;br /&gt;
# English&lt;br /&gt;
# French&lt;br /&gt;
# German&lt;br /&gt;
# Italian&lt;br /&gt;
# Spanish&lt;br /&gt;
# Chinese (simple)&lt;br /&gt;
# Korean&lt;br /&gt;
# Dutch&lt;br /&gt;
# Portuguese&lt;br /&gt;
# Russian&lt;br /&gt;
# Chinese (traditional)&lt;br /&gt;
# Unknown&lt;br /&gt;
# Unknown&lt;br /&gt;
# Unknown&lt;br /&gt;
# Unknown&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22018</id>
		<title>Nintendo Badge Arcade/PrizeCollection</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22018"/>
		<updated>2022-12-18T15:43:34Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: /* Prize (prb) */ Added clarification on badge image data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;PrizeCollection&#039;&#039;&#039; SARC file has the following folder structure:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 └── pc&lt;br /&gt;
     ├── PrizeCollection.xml&lt;br /&gt;
     ├── ci&lt;br /&gt;
     └── rt&lt;br /&gt;
         ├── At&lt;br /&gt;
         ├── CI&lt;br /&gt;
         ├── Ca&lt;br /&gt;
         ├── Cr&lt;br /&gt;
         ├── FO&lt;br /&gt;
         └── Pr&lt;br /&gt;
&lt;br /&gt;
Each of the subfolders contains a custom file format storing different properties between those. Each of those files are compressed using Yaz0 compression.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Subfolder&lt;br /&gt;
! File type&lt;br /&gt;
|-&lt;br /&gt;
| ci&lt;br /&gt;
| Crane Instance (cib)&lt;br /&gt;
|-&lt;br /&gt;
| At&lt;br /&gt;
| Attachment (atb)&lt;br /&gt;
|-&lt;br /&gt;
| CI&lt;br /&gt;
| Crane Icon (icb)&lt;br /&gt;
|-&lt;br /&gt;
| Ca&lt;br /&gt;
| Category (cab)&lt;br /&gt;
|-&lt;br /&gt;
| Cr&lt;br /&gt;
| Crane (crb)&lt;br /&gt;
|-&lt;br /&gt;
| FO&lt;br /&gt;
| Fixed Object (fob)&lt;br /&gt;
|-&lt;br /&gt;
| Pr&lt;br /&gt;
| Prize (prb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PrizeCollection.xml ==&lt;br /&gt;
This file has an index of all of the game data stored here. It has the following data:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
   &amp;lt;Categories count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Category name=&amp;quot;CategoryName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Categories&amp;gt;&lt;br /&gt;
   &amp;lt;Cranes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Crane name=&amp;quot;CraneName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Cranes&amp;gt;&lt;br /&gt;
   &amp;lt;CraneIcons count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;CraneIcon name=&amp;quot;CraneIconName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneIcons&amp;gt;&lt;br /&gt;
   &amp;lt;Prizes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Prize name=&amp;quot;PrizeName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;Attachments count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Attachment name=&amp;quot;AttachmentName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Attachments&amp;gt;&lt;br /&gt;
   &amp;lt;FixedObjects count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;FixedObject name=&amp;quot;FixedObjectName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/FixedObjects&amp;gt;&lt;br /&gt;
   &amp;lt;CraneInstances&amp;gt;&lt;br /&gt;
     &amp;lt;CraneInstance name=&amp;quot;CraneInstanceName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneInstances&amp;gt;&lt;br /&gt;
 &amp;lt;/CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Crane Instance (cib) ==&lt;br /&gt;
A crane instance file stores the data of a set and the components of the machine.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CIBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x30&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Instance name&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x90&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Prize name x&lt;br /&gt;
|-&lt;br /&gt;
| 0x1880 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed Object name x&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Offset = 0x30 * x&lt;br /&gt;
&lt;br /&gt;
== Attachment (atb) ==&lt;br /&gt;
An attachment file stores the data of an immovable object and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ATBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Attachment name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of attachment&lt;br /&gt;
|-&lt;br /&gt;
| 0x80 + (w * h)&lt;br /&gt;
| w * h&lt;br /&gt;
| A8 data of previous image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane Icon (icb) ==&lt;br /&gt;
A crane icon file stores the icon of a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ICBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Category (cab) ==&lt;br /&gt;
A category file stores the data of a group of sets and its category image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CABS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x4&lt;br /&gt;
| Category ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Category name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of sets (crane instances)&lt;br /&gt;
|-&lt;br /&gt;
| 0x68&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x2080&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of category&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane (crb) ==&lt;br /&gt;
A crane file stores the background image used on a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0x10000&lt;br /&gt;
| ETC1 image? (Unknown resolution)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fixed Object (fob) ==&lt;br /&gt;
A fixed object file stores the data of the terrain and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (FOBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed object name&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x58&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of fixed object&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Prize (prb) ==&lt;br /&gt;
A prize file stores the badge data and its image. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (PRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x38&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Badge ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x44&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge file name&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge category&lt;br /&gt;
|-&lt;br /&gt;
| 0xA4&lt;br /&gt;
| 0x8&lt;br /&gt;
| Title ID it opens (0xFFFFFFFF if none)&lt;br /&gt;
|-&lt;br /&gt;
| 0xAC&lt;br /&gt;
| 0xC&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xB8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of horizontal tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xBC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of vertical tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xE0&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Badge display names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x10E0&lt;br /&gt;
| 0x20&lt;br /&gt;
| Unknown (usually zero?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| &lt;br /&gt;
| Image data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Following the badges metadata is it&#039;s image data. Each badge contains multiple images used in different places during gameplay&lt;br /&gt;
&lt;br /&gt;
An image can be either RGB565 or ETC1A4. RGB565 images are immediately followed with A4 data for itself, whereas ETC1A4 images are immediately followed with A8 data for itself&lt;br /&gt;
&lt;br /&gt;
A badge may take up multiple spaces on the Home Menu, and as such contains images for each space called &amp;quot;tiles&amp;quot;. The number of image tiles a badge uses is found in the badge metadata at offsets 0xB8 and 0xBC&lt;br /&gt;
&lt;br /&gt;
All badge image data begins with a 64x64 RGB565 image of the full badge. Following the 64x64 image is a  32x32 RGB565 image of the full badge, which is used in the badge selector in Home Menu&lt;br /&gt;
&lt;br /&gt;
If the badge is 1x1 tiles, then the first 64x64 RGB565 image is used in Home Menu to display the badge. If the badge is &#039;&#039;not&#039;&#039; 1x1, then the badge contains x*y number of additional 64x64 and 32x32 RGB565 images, where x is the number of horizontal tiles and y is the number of vertical tiles. These tiles are then used in Home Menu to display the badge. These additional images are stored immediately after the 32x32 image&lt;br /&gt;
&lt;br /&gt;
Finally, the last image in the badge image data is a single 128x128 ETC1A4 image of the full badge which is used in game&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of full badge (used in Home Menu if badge is 1x1)&lt;br /&gt;
|-&lt;br /&gt;
| 0x3100&lt;br /&gt;
| 0x800&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| 0x3900&lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 RGB565 image of full badge (used in badge selector in Home Menu)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4100&lt;br /&gt;
| 0x200&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (used in Home Menu if badge is not 1x1)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x800&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (unknown use)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x200&lt;br /&gt;
| A4 data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 ETC1A4 image (used in game)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
| 0x4000&lt;br /&gt;
| A8 data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Language Names ==&lt;br /&gt;
Some files, like the badge and the category, store its name displayed on different languages. Here is the language list:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Language&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x100&lt;br /&gt;
| Japanese&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x100&lt;br /&gt;
| English&lt;br /&gt;
|-&lt;br /&gt;
| 0x200&lt;br /&gt;
| 0x100&lt;br /&gt;
| French&lt;br /&gt;
|-&lt;br /&gt;
| 0x300&lt;br /&gt;
| 0x100&lt;br /&gt;
| German&lt;br /&gt;
|-&lt;br /&gt;
| 0x400&lt;br /&gt;
| 0x100&lt;br /&gt;
| Italian&lt;br /&gt;
|-&lt;br /&gt;
| 0x500&lt;br /&gt;
| 0x100&lt;br /&gt;
| Spanish&lt;br /&gt;
|-&lt;br /&gt;
| 0x600&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x700&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0x100&lt;br /&gt;
| Netherlands&lt;br /&gt;
|-&lt;br /&gt;
| 0x900&lt;br /&gt;
| 0x100&lt;br /&gt;
| Portuguese&lt;br /&gt;
|-&lt;br /&gt;
| 0xA00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Russian&lt;br /&gt;
|-&lt;br /&gt;
| 0xB00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xC00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xD00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xE00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xF00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22017</id>
		<title>Nintendo Badge Arcade/PrizeCollection</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade/PrizeCollection&amp;diff=22017"/>
		<updated>2022-12-18T15:14:47Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: /* Prize (prb) */ Adding missing data to PRBS file structure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;PrizeCollection&#039;&#039;&#039; SARC file has the following folder structure:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 └── pc&lt;br /&gt;
     ├── PrizeCollection.xml&lt;br /&gt;
     ├── ci&lt;br /&gt;
     └── rt&lt;br /&gt;
         ├── At&lt;br /&gt;
         ├── CI&lt;br /&gt;
         ├── Ca&lt;br /&gt;
         ├── Cr&lt;br /&gt;
         ├── FO&lt;br /&gt;
         └── Pr&lt;br /&gt;
&lt;br /&gt;
Each of the subfolders contains a custom file format storing different properties between those. Each of those files are compressed using Yaz0 compression.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Subfolder&lt;br /&gt;
! File type&lt;br /&gt;
|-&lt;br /&gt;
| ci&lt;br /&gt;
| Crane Instance (cib)&lt;br /&gt;
|-&lt;br /&gt;
| At&lt;br /&gt;
| Attachment (atb)&lt;br /&gt;
|-&lt;br /&gt;
| CI&lt;br /&gt;
| Crane Icon (icb)&lt;br /&gt;
|-&lt;br /&gt;
| Ca&lt;br /&gt;
| Category (cab)&lt;br /&gt;
|-&lt;br /&gt;
| Cr&lt;br /&gt;
| Crane (crb)&lt;br /&gt;
|-&lt;br /&gt;
| FO&lt;br /&gt;
| Fixed Object (fob)&lt;br /&gt;
|-&lt;br /&gt;
| Pr&lt;br /&gt;
| Prize (prb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PrizeCollection.xml ==&lt;br /&gt;
This file has an index of all of the game data stored here. It has the following data:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
   &amp;lt;Categories count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Category name=&amp;quot;CategoryName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Categories&amp;gt;&lt;br /&gt;
   &amp;lt;Cranes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Crane name=&amp;quot;CraneName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Cranes&amp;gt;&lt;br /&gt;
   &amp;lt;CraneIcons count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;CraneIcon name=&amp;quot;CraneIconName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneIcons&amp;gt;&lt;br /&gt;
   &amp;lt;Prizes count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Prize name=&amp;quot;PrizeName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;Attachments count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Attachment name=&amp;quot;AttachmentName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/Attachments&amp;gt;&lt;br /&gt;
   &amp;lt;FixedObjects count=&amp;quot;x&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;FixedObject name=&amp;quot;FixedObjectName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/FixedObjects&amp;gt;&lt;br /&gt;
   &amp;lt;CraneInstances&amp;gt;&lt;br /&gt;
     &amp;lt;CraneInstance name=&amp;quot;CraneInstanceName&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/CraneInstances&amp;gt;&lt;br /&gt;
 &amp;lt;/CenterPrizeCollectionFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Crane Instance (cib) ==&lt;br /&gt;
A crane instance file stores the data of a set and the components of the machine.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CIBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x30&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Instance name&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x90&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane Icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Prize name x&lt;br /&gt;
|-&lt;br /&gt;
| 0x1880 + Offset&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed Object name x&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Offset = 0x30 * x&lt;br /&gt;
&lt;br /&gt;
== Attachment (atb) ==&lt;br /&gt;
An attachment file stores the data of an immovable object and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ATBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Attachment name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of attachment&lt;br /&gt;
|-&lt;br /&gt;
| 0x80 + (w * h)&lt;br /&gt;
| w * h&lt;br /&gt;
| A8 data of previous image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane Icon (icb) ==&lt;br /&gt;
A crane icon file stores the icon of a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (ICBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane icon name&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Category (cab) ==&lt;br /&gt;
A category file stores the data of a group of sets and its category image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CABS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x4&lt;br /&gt;
| Category ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Category name&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of badges&lt;br /&gt;
|-&lt;br /&gt;
| 0x60&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of sets (crane instances)&lt;br /&gt;
|-&lt;br /&gt;
| 0x68&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Language Names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x2080&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of category&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crane (crb) ==&lt;br /&gt;
A crane file stores the background image used on a set (crane instance).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (CRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C&lt;br /&gt;
| 0x30&lt;br /&gt;
| Crane name&lt;br /&gt;
|-&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0x10000&lt;br /&gt;
| ETC1 image? (Unknown resolution)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Fixed Object (fob) ==&lt;br /&gt;
A fixed object file stores the data of the terrain and its image.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (FOBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 0x30&lt;br /&gt;
| Fixed object name&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image width&lt;br /&gt;
|-&lt;br /&gt;
| 0x58&lt;br /&gt;
| 0x4&lt;br /&gt;
| Image height&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| w * h&lt;br /&gt;
| ETC1A4 image of fixed object&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Prize (prb) ==&lt;br /&gt;
A prize file stores the badge data and its image. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x4&lt;br /&gt;
| Header magic (PRBS)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| 0x38&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C&lt;br /&gt;
| 0x4&lt;br /&gt;
| Badge ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x40&lt;br /&gt;
| 0x4&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x44&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge file name&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x30&lt;br /&gt;
| Badge category&lt;br /&gt;
|-&lt;br /&gt;
| 0xA4&lt;br /&gt;
| 0x8&lt;br /&gt;
| Title ID it opens (0xFFFFFFFF if none)&lt;br /&gt;
|-&lt;br /&gt;
| 0xAC&lt;br /&gt;
| 0xC&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xB8&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of horizontal tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xBC&lt;br /&gt;
| 0x4&lt;br /&gt;
| Number of vertical tiles&lt;br /&gt;
|-&lt;br /&gt;
| 0xE0&lt;br /&gt;
| 0x1000&lt;br /&gt;
| [[#Language Names|Badge display names]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x10E0&lt;br /&gt;
| 0x20&lt;br /&gt;
| Unknown (usually zero?)&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| &lt;br /&gt;
| Image data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the tile size is 1x1:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image (used in Home Menu)&lt;br /&gt;
|-&lt;br /&gt;
| 0x3100&lt;br /&gt;
| 0x800&lt;br /&gt;
| 64x64 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| 0x3900&lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 RGB565 image (used in badge selector in Home Menu)&lt;br /&gt;
|-&lt;br /&gt;
| 0x4100&lt;br /&gt;
| 0x200&lt;br /&gt;
| 32x32 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| 0x4300&lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 ETC1A4 image (used ingame)&lt;br /&gt;
|-&lt;br /&gt;
| 0x8300&lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 A8 data of previous image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the tile size is anything other than 1x1:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x1100&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of full tile&lt;br /&gt;
|-&lt;br /&gt;
| 0x3100&lt;br /&gt;
| 0x800&lt;br /&gt;
| 64x64 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| 0x3900&lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 RGB565 image of full tile&lt;br /&gt;
|-&lt;br /&gt;
| 0x4100&lt;br /&gt;
| 0x200&lt;br /&gt;
| 32x32 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x2000&lt;br /&gt;
| 64x64 RGB565 image of tile x&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x800&lt;br /&gt;
| 64x64 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x800&lt;br /&gt;
| 32x32 RGB565 image of tile x&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x200&lt;br /&gt;
| 32x32 A4 data of previous image&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 ETC1A4 image of full tile&lt;br /&gt;
|-&lt;br /&gt;
| ...&lt;br /&gt;
| 0x4000&lt;br /&gt;
| 128x128 A8 data of previous image&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Language Names ==&lt;br /&gt;
Some files, like the badge and the category, store its name displayed on different languages. Here is the language list:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Language&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| 0x100&lt;br /&gt;
| Japanese&lt;br /&gt;
|-&lt;br /&gt;
| 0x100&lt;br /&gt;
| 0x100&lt;br /&gt;
| English&lt;br /&gt;
|-&lt;br /&gt;
| 0x200&lt;br /&gt;
| 0x100&lt;br /&gt;
| French&lt;br /&gt;
|-&lt;br /&gt;
| 0x300&lt;br /&gt;
| 0x100&lt;br /&gt;
| German&lt;br /&gt;
|-&lt;br /&gt;
| 0x400&lt;br /&gt;
| 0x100&lt;br /&gt;
| Italian&lt;br /&gt;
|-&lt;br /&gt;
| 0x500&lt;br /&gt;
| 0x100&lt;br /&gt;
| Spanish&lt;br /&gt;
|-&lt;br /&gt;
| 0x600&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x700&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x800&lt;br /&gt;
| 0x100&lt;br /&gt;
| Netherlands&lt;br /&gt;
|-&lt;br /&gt;
| 0x900&lt;br /&gt;
| 0x100&lt;br /&gt;
| Portuguese&lt;br /&gt;
|-&lt;br /&gt;
| 0xA00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Russian&lt;br /&gt;
|-&lt;br /&gt;
| 0xB00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xC00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xD00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xE00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0xF00&lt;br /&gt;
| 0x100&lt;br /&gt;
| Unknown&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade&amp;diff=22016</id>
		<title>Nintendo Badge Arcade</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Nintendo_Badge_Arcade&amp;diff=22016"/>
		<updated>2022-12-18T14:48:06Z</updated>

		<summary type="html">&lt;p&gt;Jonbarrow: /* sharc */  Clarified the naming format for the PrizeCollection SARC file to make it more understandable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Nintendo Badge Arcade&#039;&#039;&#039; is an application that allows getting badges for the 3DS&#039;s [[Home Menu]] via a claw machine-like game.&lt;br /&gt;
&lt;br /&gt;
== [[SpotPass]] usage ==&lt;br /&gt;
The game can use four different URLs to retrieve game data.&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://npdl.cdn.nintendowifi.net/p01/nsa/&amp;lt;regionID&amp;gt;/FGONLYT/playinfo_&amp;lt;gameVersion&amp;gt;.dat&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://npdl.cdn.nintendowifi.net/p01/nsa/&amp;lt;regionID&amp;gt;/data/data_&amp;lt;gameVersion&amp;gt;.dat&amp;lt;/nowiki&amp;gt; This file is a SARC archive with all game data (like machines and [[Miiverse]] posts) that is available within a period of one week. This data is updated every Friday at 1:40 AM GMT&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://npdl.cdn.nintendowifi.net/p01/nsa/&amp;lt;regionID&amp;gt;/data/allbadge_&amp;lt;gameVersion&amp;gt;.dat&amp;lt;/nowiki&amp;gt; This has a SARC archive with all game badges and machines for the game.&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://npdl.cdn.nintendowifi.net/p01/nsa/&amp;lt;regionID&amp;gt;/news/&amp;lt;language&amp;gt;/news_&amp;lt;gameVersion&amp;gt;.dat&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where gameVersion goes the version of the game, which can be v130 or v131, langcode is the two-character language codes from [[Config Savegame#Languages|config]], and regionID is from the below table.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Region&lt;br /&gt;
! ID&lt;br /&gt;
|-&lt;br /&gt;
| JPN&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| USA&lt;br /&gt;
| OvbmGLZ9senvgV3K&lt;br /&gt;
|-&lt;br /&gt;
| EUR&lt;br /&gt;
| J6la9Kj8iqTvAPOq&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== RomFS ==&lt;br /&gt;
Inside the romfs data, we can find the following folders:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── message&lt;br /&gt;
 ├── primitive_renderer&lt;br /&gt;
 ├── region_common&lt;br /&gt;
 └── region_XXX&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;message&amp;quot; has all in-game dialogues&lt;br /&gt;
* &amp;quot;region_common&amp;quot; has a similar scheme to data.dat, but has all in-game assets&lt;br /&gt;
* &amp;quot;region_XXX&amp;quot; is similar as region_common, but has all region specific files, like the first badge machine. Where XXX goes the region name (EUR, JPN, USA)&lt;br /&gt;
&lt;br /&gt;
== ExtData ==&lt;br /&gt;
&lt;br /&gt;
Inside the extdata, we can find the following files:&lt;br /&gt;
* &amp;quot;addSaveData&amp;quot;&lt;br /&gt;
* &amp;quot;allbadge.sarc&amp;quot; A register of all badges retrieved from data_&amp;lt;gameVersion&amp;gt;.dat file?&lt;br /&gt;
* &amp;quot;boss.sarc&amp;quot; The data_&amp;lt;gameVersion&amp;gt;.dat file retrieved from SpotPass&lt;br /&gt;
* &amp;quot;savedata&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== allbadge.sarc ===&lt;br /&gt;
This file uses the [[Nintendo Badge Arcade/PrizeCollection|PrizeCollection]] structure.&lt;br /&gt;
&lt;br /&gt;
=== boss.sarc ===&lt;br /&gt;
All game data stored here has the following structure:&lt;br /&gt;
 root&lt;br /&gt;
 ├── message&lt;br /&gt;
 ├── post&lt;br /&gt;
 ├── sharc&lt;br /&gt;
 ├── talkpic&lt;br /&gt;
 ├── xml&lt;br /&gt;
 └── Schedule.xml&lt;br /&gt;
&lt;br /&gt;
==== message ====&lt;br /&gt;
This folder stored all online-related game dialogues on each language supported by the region. It goes down the following directories:&lt;br /&gt;
&lt;br /&gt;
 message&lt;br /&gt;
 └── boss_XXX&lt;br /&gt;
     └── XXxx&lt;br /&gt;
         └── boss&lt;br /&gt;
             └── slotAXX&lt;br /&gt;
                 ├── BossText.msbt&lt;br /&gt;
                 ├── Emergency.msbf&lt;br /&gt;
                 ├── HallAd.msbf&lt;br /&gt;
                 ├── PaidTalk.msbf&lt;br /&gt;
                 ├── PostComment.msbf&lt;br /&gt;
                 ├── RetnHall.msbf&lt;br /&gt;
                 ├── StartUp.msbf&lt;br /&gt;
                 ├── ThemeShop.msbf&lt;br /&gt;
                 └── Training.msbf&lt;br /&gt;
&lt;br /&gt;
Where X goes the region, and x belongs to the language.&lt;br /&gt;
Within slotAXX, A is a letter and XX are numbers.&lt;br /&gt;
&lt;br /&gt;
==== post ====&lt;br /&gt;
This folder stored all Miiverse posts related to customizing the Home Menu with themes and badges. Each SARC file inside here has the following sructure:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 ├── Image.jpg&lt;br /&gt;
 ├── Mii.Etc1_a4&lt;br /&gt;
 └── post.xml&lt;br /&gt;
&lt;br /&gt;
The post.xml file contains the following data:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;DistributablePost xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;index&amp;gt;x&amp;lt;/index&amp;gt;&lt;br /&gt;
   &amp;lt;Id&amp;gt;&amp;lt;Post ID&amp;gt;&amp;lt;/Id&amp;gt;&lt;br /&gt;
   &amp;lt;Name&amp;gt;Mii name&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;PathMii&amp;gt;Mii.Etc1_a4&amp;lt;/PathMii&amp;gt;&lt;br /&gt;
   &amp;lt;PathImage&amp;gt;Image.jpg&amp;lt;/PathImage&amp;gt;&lt;br /&gt;
 &amp;lt;/DistributablePost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mii.Etc1_a4 image has a 128x128 resolution.&lt;br /&gt;
&lt;br /&gt;
==== sharc ====&lt;br /&gt;
This folder stores the [[Nintendo Badge Arcade/PrizeCollection|PrizeCollection]] file with the badges and machines available for the belonging week.&lt;br /&gt;
&lt;br /&gt;
The file is named using the starting and ending dates that the collection is active for, in yy/mm/dd format separated with a dash. For example, a collection active between the dates December 15th, 2022 to December 22nd, 2022 is named `221215-221222.sarc`&lt;br /&gt;
&lt;br /&gt;
==== talkpic ====&lt;br /&gt;
This folder contains some images inside SARC files. Each SARC file has the following content:&lt;br /&gt;
&lt;br /&gt;
 root&lt;br /&gt;
 └── talkpic&lt;br /&gt;
     └── &amp;lt;Name of SARC file&amp;gt;&lt;br /&gt;
         └── The images...&lt;br /&gt;
&lt;br /&gt;
==== xml ====&lt;br /&gt;
This folder has some XML data that controls some of the features inside this structure. It has the following structure:&lt;br /&gt;
&lt;br /&gt;
 xml&lt;br /&gt;
 └── talkpic&lt;br /&gt;
     └── TalkPic.xml&lt;br /&gt;
&lt;br /&gt;
The TalkPic.xml file has the following data:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&#039;1.0&#039; encoding=&#039;UTF-8&#039; standalone=&#039;yes&#039;?&amp;gt;&lt;br /&gt;
 &amp;lt;CenterTalkPicProperty&amp;gt;&lt;br /&gt;
     &amp;lt;TalkPicSet&amp;gt;&lt;br /&gt;
         &amp;lt;TalkPic Key=&#039;&amp;lt;Name of image&amp;gt;&#039; Arc=&#039;&amp;lt;Name of SARC file&amp;gt;&#039; Width=&#039;512&#039; Height=&#039;256&#039; Format=&#039;Etc1 or Etc1_a4 or Rgb565&#039; Type=&#039;400x240 (Original image resolution?)&#039; Path=&#039;path/to/image&#039;/&amp;gt;&lt;br /&gt;
     &amp;lt;/TalkPicSet&amp;gt;&lt;br /&gt;
 &amp;lt;/CenterTalkPicProperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Schedule.xml ====&lt;br /&gt;
This file controls the availability of each of the features inside this structure within the specified dates. It has the following data:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;FileItems xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Items&amp;gt;&lt;br /&gt;
     &amp;lt;FileItem&amp;gt;&lt;br /&gt;
       &amp;lt;DateStartText&amp;gt;YYYYmmdd&amp;lt;/DateStartText&amp;gt;&lt;br /&gt;
       &amp;lt;DateExpireText&amp;gt;YYYYmmdd&amp;lt;/DateExpireText&amp;gt;&lt;br /&gt;
       &amp;lt;ColorText&amp;gt;#aaaaff&amp;lt;/ColorText&amp;gt;&lt;br /&gt;
       &amp;lt;Comment /&amp;gt;&lt;br /&gt;
       &amp;lt;RegexSetName&amp;gt;MessageDir&amp;lt;/RegexSetName&amp;gt;&lt;br /&gt;
       &amp;lt;Expression&amp;gt;boss/output/message/(?&amp;amp;lt;Region&amp;amp;gt;boss_(JPN|EUR|USA))/(?&amp;amp;lt;Locale&amp;amp;gt;[a-zA-Z]+)/boss/(?&amp;amp;lt;Dir&amp;amp;gt;.+)&amp;lt;/Expression&amp;gt;&lt;br /&gt;
       &amp;lt;KeyVariable&amp;gt;Boss/&amp;lt;/KeyVariable&amp;gt;&lt;br /&gt;
       &amp;lt;ValueVariable&amp;gt;boss/$(Dir)/&amp;lt;/ValueVariable&amp;gt;&lt;br /&gt;
       &amp;lt;OutputVariable&amp;gt;boss/archive_src/$(ArchiveName)/message/$(Region)/$(Locale)/boss/$(Dir)/&amp;lt;/OutputVariable&amp;gt;&lt;br /&gt;
       &amp;lt;PreviewVariable /&amp;gt;&lt;br /&gt;
       &amp;lt;CommandVariable&amp;gt;path/to/command_used.bat&amp;lt;/CommandVariable&amp;gt;&lt;br /&gt;
       &amp;lt;ArgumentsVariable /&amp;gt;&lt;br /&gt;
       &amp;lt;Key&amp;gt;Boss/&amp;lt;/Key&amp;gt;&lt;br /&gt;
       &amp;lt;Value&amp;gt;boss/slotAXX/&amp;lt;/Value&amp;gt;&lt;br /&gt;
       &amp;lt;Output&amp;gt;boss/archive_src/BossYYYYmmdd_YYYYmmdd/message/boss_XXX/XXxx/boss/slotAXX/&amp;lt;/Output&amp;gt;&lt;br /&gt;
       &amp;lt;Preview /&amp;gt;&lt;br /&gt;
       &amp;lt;SrcPath&amp;gt;boss/output/message/boss_EUR/EUde/boss/slotD07&amp;lt;/SrcPath&amp;gt;&lt;br /&gt;
       &amp;lt;Command&amp;gt;path/to/command_used.bat&amp;lt;/Command&amp;gt;&lt;br /&gt;
       &amp;lt;Arguments /&amp;gt;&lt;br /&gt;
     &amp;lt;/FileItem&amp;gt;&lt;br /&gt;
   &amp;lt;/Items&amp;gt;&lt;br /&gt;
   &amp;lt;ItemsCount&amp;gt;&amp;lt;Number of items&amp;gt;&amp;lt;/ItemsCount&amp;gt;&lt;br /&gt;
   &amp;lt;BasePath&amp;gt;%CTR_CENTER_ROOT%/&amp;lt;/BasePath&amp;gt;&lt;br /&gt;
   &amp;lt;XMLPath&amp;gt;boss/archive_src/$(ArchiveName)/Schedule.xml&amp;lt;/XMLPath&amp;gt;&lt;br /&gt;
   &amp;lt;ArchiveName&amp;gt;Boss$(DateFrom)_$(DateTo)&amp;lt;/ArchiveName&amp;gt;&lt;br /&gt;
   &amp;lt;DateFrom&amp;gt;YYYY-mm-ddT00:00:00&amp;lt;/DateFrom&amp;gt;&lt;br /&gt;
   &amp;lt;DateTo&amp;gt;YYYY-mm-ddT00:00:00&amp;lt;/DateTo&amp;gt;&lt;br /&gt;
 &amp;lt;/FileItems&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each FileItem&#039;s content varies depending on its RegexSetName. Below are the possible values:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! RegexSetName&lt;br /&gt;
! Key&lt;br /&gt;
! Value&lt;br /&gt;
|-&lt;br /&gt;
| MessageDir&lt;br /&gt;
| Boss/&lt;br /&gt;
| boss/slotAXX/&lt;br /&gt;
|-&lt;br /&gt;
| TalkPicTex&lt;br /&gt;
| TalkPicTex/&lt;br /&gt;
| TalkPicTex/&lt;br /&gt;
|-&lt;br /&gt;
| TalkPicXml&lt;br /&gt;
| TalkPicXml/&lt;br /&gt;
| TalkPicXml/&lt;br /&gt;
|-&lt;br /&gt;
| PrizeCollection&lt;br /&gt;
| sharc/pc00.sarc&lt;br /&gt;
| sharc/YYmmdd_YYmmdd.sarc&lt;br /&gt;
|-&lt;br /&gt;
| Post&lt;br /&gt;
| post/PostXX.sarc&lt;br /&gt;
| post/&amp;lt;Post ID&amp;gt;.sarc&lt;br /&gt;
|-&lt;br /&gt;
| BonusStage&lt;br /&gt;
| BonusStageName&lt;br /&gt;
| &amp;lt;Stage Name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| DefaultStage&lt;br /&gt;
| DefaultStageNameXXX&lt;br /&gt;
| &amp;lt;Stage Name&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jonbarrow</name></author>
	</entry>
</feed>