Changes

10 bytes added ,  02:09, 2 March 2008
m
Added links and small tidying
Line 1: Line 1: −
The U8 archive is an archive format used in content.bin and opening.bnr. It contains no compression or encryption by itself; it is just a way to attach files in a directory structure together.  
+
The U8 archive is an archive format used in [[content.bin]] and [[opening.bnr]]. It contains no compression or encryption by itself; it is just a way to attach files in a directory structure together.  
   −
(The name U8 is not official, but what I call it, from the pronouncable letters of the tag viewed as ASCII. [[User:Magicus|Magicus]] 15:55, 1 March 2008 (PST))
+
(The name U8 is not official, but what I call it, from the pronounceable letters of the tag viewed as ASCII. [[User:Magicus|Magicus]] 15:55, 1 March 2008 (PST))
    
==Description==
 
==Description==
Line 28: Line 28:  
The name_offset gives the offset from the start of the string table to the start of this file's name. This is used for both files and directories.
 
The name_offset gives the offset from the start of the string table to the start of this file's name. This is used for both files and directories.
   −
For normal files, type is '''0x0000'''. In this case the data_offset gives the address to where the data for this file is. This is given as an absolue offset from the start of the U8 header. The size is the size of the file.
+
For normal files, type is '''0x0000'''. In this case the data_offset gives the address to where the data for this file is. This is given as an absolute offset from the start of the U8 header. The size is the size of the file.
    
For directories, type is '''0x1000'''. In this case, the data_offset has no meaning. (It seems to be 0 or 1; it might signify the level of recursion even though this is redundant.) The size field is used to indicate which files are included in this directory. The value given is the node number of the last file included, counting the root node as node number 1.  
 
For directories, type is '''0x1000'''. In this case, the data_offset has no meaning. (It seems to be 0 or 1; it might signify the level of recursion even though this is redundant.) The size field is used to indicate which files are included in this directory. The value given is the node number of the last file included, counting the root node as node number 1.  
35

edits