7 Studios FS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>WATTO
m (Updated with specs from forum)
Line 32: Line 32:
<br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(often null)</font> '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - Compressed Size <font color="purple">(if compSize=0, the file is not compressed)</font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <font color="darkgreen">[*2048]</font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <font color="darkgreen">[*2048]</font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
Line 47: Line 47:
=== MultiEx BMS ===  
=== MultiEx BMS ===  


Not written yet<br><br>
Not written yet<br>
 
 
=== Notes and Comments ===
 
* Uses ZLib Compression


=== Supported Programs ===  
=== Supported Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>

Revision as of 01:48, 23 December 2005

Choose archive extension:

FS


Format Specifications

// FILE DATA

// for each file
byte {X}     - File Data
byte {X}     - Padding to a multiple of 2048 bytes (using (byte)255)


// FILENAME DIRECTORY

char {4}     - String Header (STR )
uint32 {4}   - Filename Directory Length


// for each file
char {X}     - Filename
byte {1}     - null Filename Terminator


byte {0-3}   - null Padding to a multiple of 4 bytes


// DIRECTORY

char {4}     - Directory Header (DIR )
uint32 {4}   - Directory Length


// for each file
uint32 {4}   - Compressed Size (if compSize=0, the file is not compressed)
uint32 {4}   - File Offset [*2048]
uint32 {4}   - File Length
uint32 {4}   - Filename Offset (relative to the start of the filename directory)


// ARCHIVE FOOTER

char {4}     - End Header (END )
uint64 {8}   - null
uint32 {4}   - Filename Directory Offset
byte {28}    - null
uint32 {4}   - Filename Directory Offset

MultiEx BMS

Not written yet


Notes and Comments

  • Uses ZLib Compression

Supported Programs