Difference between revisions of "Nintendo DS Cart Whitelist"

From DSiBrew
Jump to: navigation, search
(Undo revision 2455 by Zbrahead91 (talk))
m
Line 1: Line 1:
 
== Description ==
 
== Description ==
If i remember correctly, HNHA.bin is a file stored in the DSi (NAND fs ?), that contains a list of white listed DS games.
+
The Nintendo DS Cart Whitelist is a system title (HNHA / 0003000f484e4841) that contains a list of whitelisted DS carts. It also exists as a 3DS system title.
  
== Basic HNHA.bin File Structure ==
+
== Basic File Structure ==
 
+
The file consists in one header, a list of titles and a footer.
The file consists in one header, a list of Titles and a footer.
 
  
 
=== Header Structure ===
 
=== Header Structure ===
Line 37: Line 36:
 
| 0x00
 
| 0x00
 
| 4
 
| 4
| The title ID
+
| The title ID low/serial
 
|-
 
|-
 
| 0x04
 
| 0x04
 
| 4
 
| 4
| The title version
+
| The cart revision
 
|-
 
|-
 
| 0x08
 
| 0x08
Line 49: Line 48:
 
| 0x1C
 
| 0x1C
 
| 20
 
| 20
| The second SHA-1 sum
+
| The second SHA-1 sum (optional)
 
|}
 
|}
  

Revision as of 18:23, 22 April 2019

Description

The Nintendo DS Cart Whitelist is a system title (HNHA / 0003000f484e4841) that contains a list of whitelisted DS carts. It also exists as a 3DS system title.

Basic File Structure

The file consists in one header, a list of titles and a footer.

Header Structure

The header is 136 bytes.

Start Length Description
0x00 4 An ID (NDHT)
0x04 0x80 Unknown
0x84 4 Number of titles in file

Title Structure

A title is 48 bytes.

Start Length Description
0x00 4 The title ID low/serial
0x04 4 The cart revision
0x08 20 The first SHA-1 sum
0x1C 20 The second SHA-1 sum (optional)

Footer Structure

The footer is 24 bytes.

Start Length Description
0x00 24 Unknown