FlatOut BFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
m (Ikskoks moved page Flatout to Flatout BFS)
imported>Ikskoks
Line 7: Line 7:
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' Signature ''':    bfs1 <br>




Line 12: Line 13:


<tt><b>
<tt><b>
uint32 {4}&nbsp;&nbsp; - Header <br>  
uint32 {4}&nbsp;&nbsp; - Signature <br>  
uint32 {4}&nbsp;&nbsp; - Version <br>  
uint32 {4}&nbsp;&nbsp; - Version <br>  
uint32 {4}&nbsp;&nbsp; - DataOffset <br>  
uint32 {4}&nbsp;&nbsp; - DataOffset <br>  

Revision as of 18:08, 16 October 2022

Choose archive extension:

BFS

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : bfs1


Format Specifications

uint32 {4}   - Signature
uint32 {4}   - Version
uint32 {4}   - DataOffset
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Compression Type (4=No Compression, 5=ZLib)
uint32 {4}   - File Offset
uint32 {4}   - Decompressed File Length
uint32 {4}   - Compressed File Length
uint32 {4}   - Checksum
uint16 {2}   - Filename Length
char {X}     - Filename


// for each file

uint16 {2}   - Unknown
uint16 {2}   - Unknown


MultiEx BMS

Not written yet

Notes and Comments

To calculate the file checksums (checksum of the compressed data)...
Read as signed int, remove the sign and - 1 and you have the crc32.
ie. if checksum = -165278610 then crc32 = 165278609

Supported Programs