FlatOut BFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 39: Line 39:
ie. if checksum = -165278610 then crc32 = 165278609<br>
ie. if checksum = -165278610 then crc32 = 165278609<br>
<br>
<br>
=== QuickBMS script ===
* [http://aluigi.altervista.org/bms/flatout_bfs1.bms flatout_bfs1.bms]
=== Supported Programs ===  
=== Supported Programs ===  


Line 44: Line 49:




[[Category:Complete Almost Done|Flatout BFS]]
[[Category:Platform PC|Flatout BFS]]
[[Category:CE Compressed|Flatout BFS]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_bfs | Extension: bfs]]
[[Category:File Format]]
[[Category:File Format]]

Revision as of 18:12, 16 October 2022

Choose archive extension:

BFS

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


Format Specifications

uint32 {4}   - Signature (bfs1)
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


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

QuickBMS script


Supported Programs