Area 51: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
No edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 21: Line 21:
uint32 {4}&nbsp;&nbsp; - Length Of Filename Directory <br>  
uint32 {4}&nbsp;&nbsp; - Length Of Filename Directory <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(48)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(48)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - Archive Header Length <font color="purple">(56)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Archive Header Length / Filetable offset <font color="purple">(56)</font> <br>  
uint32 {4}&nbsp;&nbsp; - null <br>  
uint32 {4}&nbsp;&nbsp; - null <br>  
uint32 {4}&nbsp;&nbsp; - Length Of Offset Directory + Archive Header <br>  
uint32 {4}&nbsp;&nbsp; - Length Of Offset Directory <br>  
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Archive Size? '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Archive Size? '' </font> <br>  
Line 29: Line 29:
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ($18 bytes)''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(Filename Length?)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - Offset for Filename part 1 <font color="purple">(Relative to the directory)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(Filename Length?)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - Offset for Filename part 2 <font color="purple">(Relative to the directory)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - null <br>  
: uint32 {4}&nbsp;&nbsp; - Offset for Filename part 0 <font color="purple">(Relative to the directory)</font>  <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(39)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Offset for Filename part 3 <font color="purple">(Relative to the directory)</font> <br>  
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <font color="purple">(within .000 file)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <font color="purple">(Relative to the end of the directory)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Size <br>  
: uint16 {2}&nbsp;&nbsp; - File Size <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // filename parts table''' </font> <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename part<br>  
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>  
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>  
<font color="red"> ''' !! size-length strings allowed''' </font> <br>
<br>
<br>
byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - null Padding to a multiple of 2048 bytes <br>  
byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - null Padding to a multiple of 2048 bytes <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file (in .000 file)''' </font> <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
: byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' null Padding to a multiple of 2048 bytes? '' </font> <br>  
: byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' null Padding to a multiple of 2048 bytes? '' </font> <br>  
Line 53: Line 52:


Not written yet<br><br>
Not written yet<br><br>
<br>
 
=== Supported Programs ===  
=== Supported Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 01:35, 3 January 2021

Choose archive extension:

DFS


Format Specifications

char {4}     - Header (SFDX)
uint32 {4}   - Version (3)
uint32 {4}   - Unknown
uint32 {4}   - Padding Size (2048)
uint32 {4}   - Unknown
uint32 {4}   - Number Of Files
uint32 {4}   - Unknown (1)
uint32 {4}   - Length Of Filename Directory
uint32 {4}   - Unknown (48)
uint32 {4}   - Archive Header Length / Filetable offset (56)
uint32 {4}   - null
uint32 {4}   - Length Of Offset Directory
byte {1}     - null
uint32 {4}   - Archive Size?
uint16 {2}   - null
byte {1}     - null

// for each file ($18 bytes)

uint32 {4}   - Offset for Filename part 1 (Relative to the directory)
uint32 {4}   - Offset for Filename part 2 (Relative to the directory)
uint32 {4}   - Offset for Filename part 0 (Relative to the directory)
uint32 {4}   - Offset for Filename part 3 (Relative to the directory)
uint32 {4}   - File Offset (within .000 file)
uint32 {4}   - File Size


// filename parts table

char {X}     - Filename part
byte {1}     - null Filename Terminator

 !! size-length strings allowed

byte {0-2047}      - null Padding to a multiple of 2048 bytes

// for each file (in .000 file)

byte {X}     - File Data
byte {0-2047}      - null Padding to a multiple of 2048 bytes?

MultiEx BMS

Not written yet

Supported Programs