Changes

257 bytes added ,  17:52, 29 May 2008
Line 2: Line 2:     
The data within a WAD file has the following format.
 
The data within a WAD file has the following format.
 +
 +
    
'''<span style="color: red;">This page is horribly out of date. Expect an update when the dust of recent events settles.</span>'''
 
'''<span style="color: red;">This page is horribly out of date. Expect an update when the dust of recent events settles.</span>'''
 +
 +
'''<span style="color: red;">Recently updated, should the certificate/ticket/TMD data be deleted?.</span>'''
 +
 +
Thanks to Segher for his [http://git.infradead.org/users/segher/wii.git?a=blob_plain;f=zeventig.c;hb=HEAD source].
    
=== Header ===
 
=== Header ===
Line 59: Line 65:  
=== Chain of Certificates ===
 
=== Chain of Certificates ===
   −
'''<span style="color: red;">It's recommended to read the [[Certificate chain]] article and using the header information instead of that info and constant offsets.</span>'''
+
'''<span style="color: red;">It's recommended to read the [[certificate chain|Certificate chain]] article and using the header information instead of that info and constant offsets.</span>'''
    
{| style="border-collapse: collapse; padding: 0.2em 0.2em 0.2em 0.2em;"
 
{| style="border-collapse: collapse; padding: 0.2em 0.2em 0.2em 0.2em;"
Line 121: Line 127:  
=== Key and IV ===
 
=== Key and IV ===
   −
'''<span style="color: red;">It's recommended to read the [[Ticket]] article and using the header information instead of that info and constant offsets.</span>'''
+
'''<span style="color: red;">It's recommended to read the [[ticket|Ticket]] article and using the header information instead of that info and constant offsets.</span>'''
    
{| style="border-collapse: collapse; padding: 0.2em 0.2em 0.2em 0.2em;"
 
{| style="border-collapse: collapse; padding: 0.2em 0.2em 0.2em 0.2em;"
Line 147: Line 153:  
=== File Table ===
 
=== File Table ===
   −
'''<span style="color: red;">It's recommended to read the [[Tmd file structure]] article and using the header information instead of that info and constant offsets.</span>'''
+
'''<span style="color: red;">It's recommended to read the [[TMD|Tmd file structure]] article and using the header information instead of that info and constant offsets.</span>'''
    
WAD files contain a number of "files" in them. The number of files can be obtained from the halfword (2 bytes) at 0xede. The table itself starts at 0xee4, and it is composed of a number of file entries:
 
WAD files contain a number of "files" in them. The number of files can be obtained from the halfword (2 bytes) at 0xede. The table itself starts at 0xee4, and it is composed of a number of file entries:
0

edits