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

From DSiBrew
< Private‎ | ds‎ | title
Jump to navigation Jump to search
 
(7 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 ==
 
== Description ==
Line 5: Line 5:
 
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.
  
== Checksum ==
+
== End chunk ==
  
Here's a description of the checksum:
+
Here's a description of the end chunk:
 
{| class="wikitable"
 
{| class="wikitable"
 
!| Start
 
!| Start
Line 17: Line 17:
 
| 0 || 4 || Language. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish, 6 = Chinese, 7 = Reserved
 
| 0 || 4 || Language. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish, 6 = Chinese, 7 = Reserved
 
|-
 
|-
| 4 || 4 || The actual checksum. Probably uses some form of addition-based formula. Haven't figured it out yet. Seems to only be two bytes >_>
+
| 4 || 4 || swiCRC16 of first 0x4B4 bytes (init value = 0xffff).
 
|}
 
|}
 +
 +
== See also ==
 +
 +
* [[SD Filesystem]]

Latest revision as of 19: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