1,386 bytes added
, 02:19, 22 July 2012
== Overview ==
The Extended Banner format is ridiculously 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.
== Format ==
Extension: .BIN
{| class="wikitable" border="1"
|-
! OFFSET
! SIZE
! DESCRIPTION
|-
| 0x000
| 0x002
| Texture Width. (if texture is used)
|-
| 0x002
| 0x002
| Texture Height. (if texture is used)
|-
| 0x004
| 0x002
| Texture Colour Format. (if texture is used)
|-
| 0x008
| 0x004
| Year to expire (0x34 0x08 if never expires) Convert 2000-2099 (only permitted years) to bytes for value.
|-
| 0x00C
| 0x002
| Month to expire (0x01 if never expires)
|-
| 0x010
| 0x002
| Day to expire (0x01 if never expires)
|-
| 0x014
| 0x015
| Name of texture (if texture is used)
|-
| 0x024
| 0x255
| Plaintext comment to be displayed in the banner on the HOME Menu.
|-
| 0x2A4
|
| If used, this is where the extra texture is located, otherwise file ends.
|-
|}
== Texture Colour Formats ==
{| class="wikitable" border="1"
|-
! CODE
! ENCODING
|-
| 0x00
| RGBA8
|-
| 0x01
| RGB8
|-
| 0x02
| RGBA5551
|-
| 0x03
| RGBA565
|-
| 0x04
| RGBA4
|-
| 0x05
| LA8
|-
| 0x06
| HILO8
|-
| 0x07
| L8
|-
| 0x08
| A8
|-
| 0x09
| LA4
|-
| 0x10
| L4
|-
| 0x11
| A4
|-
| 0x12
| ETC1
|-
| 0x13
| ETC1A4
|-
|}