<?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=BattleB</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=BattleB"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/BattleB"/>
	<updated>2026-04-07T12:31:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Extended_Banner&amp;diff=21344</id>
		<title>Extended Banner</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Extended_Banner&amp;diff=21344"/>
		<updated>2020-11-13T17:57:46Z</updated>

		<summary type="html">&lt;p&gt;BattleB: Fixed the rest of the offset values&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
The Extended Banner format is very simple. The Extended Banner is used to add text (and optionally an extra texture) to a given banner. It can also (optionally) be used to set an expiration date for a banner.&lt;br /&gt;
&lt;br /&gt;
See [[Extdata|here]] for how the extended-banners are loaded from extdata. The Home Menu extended-banner loading function will immediately return without loading anything if the programID is for System Settings.&lt;br /&gt;
&lt;br /&gt;
=== SpotPass ===&lt;br /&gt;
When Home Menu loads extended-banners, it also attempts to load a &amp;quot;[[CBMD]]&amp;quot; banner via [[BOSS_Services|SpotPass]] service commands. Normally this CBMD banner doesn&#039;t exist in extended-banner extdata. This is [[BOSS_Services|broken]] with New3DS titles since Home Menu uses these BOSS commands with the New3DS bitmask in the programID set. The common and language-specific(when offset is non-zero) &amp;quot;CGFX&amp;quot; specified by the CBMD are decompressed and processed.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;CGFX&amp;quot; sections in this CBMD are actually the exact same exbanners loaded from normal extdata. The exbanner data from SpotPass is stored to the same state as the extdata-exbanners. No CWAV is loaded from SpotPass data.&lt;br /&gt;
&lt;br /&gt;
The exbanners from SpotPass must have a timestamp less than current_datetime, otherwise they won&#039;t be parsed. The timestamp for the banner is calculated with: &amp;lt;code&amp;gt;nintimestamp_mktime(out, exbanner-&amp;gt;year, exbanner-&amp;gt;month, exbanner-&amp;gt;day, &amp;lt;hour=23&amp;gt;, &amp;lt;minute = 59&amp;gt;, &amp;lt;second = 59&amp;gt;, &amp;lt;millisecond = 999&amp;gt;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
Extension: .BIN&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  OFFSET&lt;br /&gt;
!  SIZE&lt;br /&gt;
!  DESCRIPTION&lt;br /&gt;
|-&lt;br /&gt;
|  0x000&lt;br /&gt;
|  0x002&lt;br /&gt;
|  Texture width (if texture is used)&lt;br /&gt;
|-&lt;br /&gt;
|  0x002&lt;br /&gt;
|  0x002&lt;br /&gt;
|  Texture height (if texture is used)&lt;br /&gt;
|-&lt;br /&gt;
|  0x004&lt;br /&gt;
|  0x002&lt;br /&gt;
|  Texture colour format (if texture is used)&lt;br /&gt;
|-&lt;br /&gt;
|  0x006&lt;br /&gt;
|  0x004&lt;br /&gt;
|  Year to expire&lt;br /&gt;
|-&lt;br /&gt;
|  0x00A&lt;br /&gt;
|  0x002&lt;br /&gt;
|  Month to expire&lt;br /&gt;
|-&lt;br /&gt;
|  0x00C&lt;br /&gt;
|  0x002&lt;br /&gt;
|  Day to expire&lt;br /&gt;
|-&lt;br /&gt;
|  0x00E&lt;br /&gt;
|  0x016&lt;br /&gt;
|  Name of texture (if texture is used)&lt;br /&gt;
|-&lt;br /&gt;
|  0x024&lt;br /&gt;
|  0x200&lt;br /&gt;
|  Plain text comment (255 character max) to be displayed in the banner on the HOME Menu&lt;br /&gt;
|-&lt;br /&gt;
|  0x224&lt;br /&gt;
|  &lt;br /&gt;
|  If used, this is where the extra texture is located, otherwise file ends.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The date used for never-expiring exbanners varies, on retail like with Mii Maker this is December 31, 2099, where year is 0x833, month is 0xC, and day is 0x1F. The expiration-timestamp is only used for SpotPass exbanners, not extdata-exbanners.&lt;br /&gt;
&lt;br /&gt;
== Texture Colour Formats ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  CODE&lt;br /&gt;
!  ENCODING&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  RGBA8&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  RGB8&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  RGBA5551&lt;br /&gt;
|-&lt;br /&gt;
|  0x03&lt;br /&gt;
|  RGBA565&lt;br /&gt;
|-&lt;br /&gt;
|  0x04&lt;br /&gt;
|  RGBA4&lt;br /&gt;
|-&lt;br /&gt;
|  0x05&lt;br /&gt;
|  LA8&lt;br /&gt;
|-&lt;br /&gt;
|  0x06&lt;br /&gt;
|  HILO8&lt;br /&gt;
|-&lt;br /&gt;
|  0x07&lt;br /&gt;
|  L8&lt;br /&gt;
|-&lt;br /&gt;
|  0x08&lt;br /&gt;
|  A8&lt;br /&gt;
|-&lt;br /&gt;
|  0x09&lt;br /&gt;
|  LA4&lt;br /&gt;
|-&lt;br /&gt;
|  0x0A&lt;br /&gt;
|  L4&lt;br /&gt;
|-&lt;br /&gt;
|  0x0B&lt;br /&gt;
|  A4&lt;br /&gt;
|-&lt;br /&gt;
|  0x0C&lt;br /&gt;
|  ETC1&lt;br /&gt;
|-&lt;br /&gt;
|  0x0D&lt;br /&gt;
|  ETC1A4&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Titles using extended banners ==&lt;br /&gt;
System:&lt;br /&gt;
* [[Mii Maker]]&lt;br /&gt;
* [[Face Raiders]]&lt;/div&gt;</summary>
		<author><name>BattleB</name></author>
	</entry>
</feed>