Difference between revisions of "Private/ds/title/HNB .lst"

From DSiBrew
< Private‎ | ds‎ | title
Jump to navigation Jump to search
(Added a table for the checksum.)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
HNB_.lst is a file created on the SD Card (/private/ds/title/) when a DSi application/game is copied in the SD Card from Data Manager.
+
HNB_.lst is a file created on the SD Card ([[private/ds/title]]) when a DSi application/game is copied to the SD Card from Data Manager.
 +
 
 +
== Description ==
  
 
It contains the lower title-ids of the titles copied to the SD Card, each in 32-bit words.
 
It contains the lower title-ids of the titles copied to the SD Card, each in 32-bit words.
  
At the end of the file there's a 64bit checksum to prevent data corruption.
+
At the end of the file there's an 8 byte section consisting of the language the DSi was in when the list was saved, and a 16bit checksum to prevent data corruption.
 +
 
 +
== End chunk ==
  
Here's a description of the checksum:
+
Here's a description of the end chunk:
 
{| class="wikitable"
 
{| class="wikitable"
 
!| Start
 
!| Start
Line 11: Line 15:
 
!| Description
 
!| Description
 
|-
 
|-
| 0 || 4 || Language. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish
+
| 0 || 4 || Language. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish, 6 = Chinese, 7 = Reserved
 
|-
 
|-
| 4 || 4 || The actual checksum. Possibly only 2 bytes?
+
| 4 || 4 || swiCRC16 of first 0x4B4 bytes (init value = 0xffff).
 
|}
 
|}
 +
 +
== See also ==
 +
 +
* [[SD Filesystem]]

Latest revision as of 18:27, 23 January 2011

HNB_.lst is a file created on the SD Card (private/ds/title) when a DSi application/game is copied to the SD Card from Data Manager.

Description

It contains the lower title-ids of the titles copied to the SD Card, each in 32-bit words.

At the end of the file there's an 8 byte section consisting of the language the DSi was in when the list was saved, and a 16bit checksum to prevent data corruption.

End chunk

Here's a description of the end chunk:

Start Length Description
0 4 Language. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish, 6 = Chinese, 7 = Reserved
4 4 swiCRC16 of first 0x4B4 bytes (init value = 0xffff).

See also