Difference between revisions of "IDBE"

From 3dbrew
Jump to navigation Jump to search
(Created page with "IDBE is Nintendo's title icon database. Entries contain title icon, region, and name (in various languages). All game titles are on the server (excluding DSiWare?), including...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
IDBE is Nintendo's title icon database. Entries contain title icon, region, and name (in various languages). All game titles are on the server (excluding DSiWare?), including demos and updates.
+
IDBE is Nintendo's title icon database. Entries contain title icon, region, and name (in various languages). Similar to the [[SMDH]]. All game titles are on the server (excluding DSiWare?), including demos and updates.
  
 
== URLs ==
 
== URLs ==
Line 13: Line 13:
 
The icon database is encrypted with AES-128 CBC. All icons use the same IV and one of 4 possible keys (as specified by the key index in the header).
 
The icon database is encrypted with AES-128 CBC. All icons use the same IV and one of 4 possible keys (as specified by the key index in the header).
  
The IV/keys are likely hardcoded on the 3DS, but not sure where. [http://wiiubrew.org/wiki/Nn_idbe.rpl#Encryption They are also on the WiiU].
+
The IV/keys are hardcoded in the friend list applet. [http://wiiubrew.org/wiki/Nn_idbe.rpl#Encryption They are also on the WiiU].
 +
 
 
== Data ==
 
== Data ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 33: Line 34:
 
| align="center" style="background:#f0f0f0;"|'''Description'''
 
| align="center" style="background:#f0f0f0;"|'''Description'''
 
|-
 
|-
| 0x0||0x20||SHA256 Checksum
+
| 0x0||0x20||SHA256 hash
 
|-
 
|-
 
| 0x20||0x10||?
 
| 0x20||0x10||?
 
|-
 
|-
| 0x30||0x4||Region bit flags (u32 little endian)
+
| 0x30||0x4||[[SMDH#Region_Lockout|Region lockout]] (u32 little endian)
 
|-
 
|-
 
| 0x34||0x1C||?
 
| 0x34||0x1C||?
 
|-
 
|-
| 0x50 + ''i'' * 0x200||0x200||[[#Language Chunk|Language chunk]] where ''i'' = language index
+
| 0x50 + ''i'' * 0x200||0x200||[[SMDH#Application_Titles|Title struct]] where ''i'' = language index
 
|-
 
|-
 
| 0x2050||0x480||24x24 Icon data
 
| 0x2050||0x480||24x24 Icon data
 
|-
 
|-
 
| 0x24D0||0x1200||48x48 Icon data
 
| 0x24D0||0x1200||48x48 Icon data
|}
 
 
== Language Chunk ==
 
Data in these chunks use UTF-16 encoding.
 
{| class="wikitable"
 
| align="center" style="background:#f0f0f0;"|'''Offset'''
 
| align="center" style="background:#f0f0f0;"|'''Size'''
 
| align="center" style="background:#f0f0f0;"|'''Description'''
 
|-
 
| 0x0||0x80||Short title
 
|-
 
| 0x80||0x100||Long title
 
|-
 
| 0x180||0x80||Publisher
 
 
|}
 
|}

Latest revision as of 07:04, 31 July 2018

IDBE is Nintendo's title icon database. Entries contain title icon, region, and name (in various languages). Similar to the SMDH. All game titles are on the server (excluding DSiWare?), including demos and updates.

URLs[edit]

https://idbe-ctr.cdn.nintendo.net/icondata/%02X/%016llX.idbe
https://idbe-ctr.cdn.nintendo.net/icondata/%02X/%016llX-%d.idbe

%02X seems to always be 0x10 (?)

%016llX is the title id.

%d is an optional title version.

Encryption[edit]

The icon database is encrypted with AES-128 CBC. All icons use the same IV and one of 4 possible keys (as specified by the key index in the header).

The IV/keys are hardcoded in the friend list applet. They are also on the WiiU.

Data[edit]

Offset Size Description
0x0 0x1 ? (usually zero)
0x1 0x1 Key index
0x2 0x36D0 Encrypted data

Encrypted Data[edit]

Icon data is uncompressed RGB565.

Offset Size Description
0x0 0x20 SHA256 hash
0x20 0x10 ?
0x30 0x4 Region lockout (u32 little endian)
0x34 0x1C ?
0x50 + i * 0x200 0x200 Title struct where i = language index
0x2050 0x480 24x24 Icon data
0x24D0 0x1200 48x48 Icon data