Difference between revisions of "Loc.dat"

From WiiBrew
Jump to navigation Jump to search
Line 5: Line 5:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 +
! Offset
 
! Length  
 
! Length  
 
! Description  
 
! Description  
 
|-
 
|-
| 0x0-0x3
+
| 0x0
 +
| 0x4
 
| Header "sdal"  
 
| Header "sdal"  
 
|-
 
|-
| 0x4-0x13
+
| 0x4
 +
| 0x10
 
| File MD5 Sum (padded with MD5-blanker before hash calculation)
 
| File MD5 Sum (padded with MD5-blanker before hash calculation)
 
|-
 
|-
| 0x14-0x3D3
+
| 0x14
| Channel TitleID corresponding to slots 1-240 on the SDMenu.  
+
| 0x3C0
 +
| Channel TitleID corresponding to slots 1-240 on the SDMenu. (Each slot is 4 bytes.  Empty slot indicated by 0x00000000.)
 
|-
 
|-
| 0x3D4-0x3E0
+
| 0x3D4
 +
| 0xC
 
| Padded with 0s.
 
| Padded with 0s.
 
|}
 
|}

Revision as of 04:22, 30 March 2009

Layout

The general layout of this file is as follows.

Offset Length Description
0x0 0x4 Header "sdal"
0x4 0x10 File MD5 Sum (padded with MD5-blanker before hash calculation)
0x14 0x3C0 Channel TitleID corresponding to slots 1-240 on the SDMenu. (Each slot is 4 bytes. Empty slot indicated by 0x00000000.)
0x3D4 0xC Padded with 0s.