FlatOut BFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(18 intermediate revisions by the same user not shown)
Line 41: Line 41:
=== Notes and Comments ===  
=== Notes and Comments ===  


To calculate the file checksums (checksum of the compressed data)...<br>
* To calculate the file checksums (checksum of the compressed data)...<br>
Read as signed int, remove the sign and - 1 and you have the crc32.<br>
: Read as signed int, remove the sign and - 1 and you have the crc32.<br>
ie. if checksum = -165278610 then crc32 = 165278609.
: ie. if checksum = -165278610 then crc32 = 165278609.
* The format uses '''ZLIB''' compression.
* The format seems to have some differences between FlatOut 1 and FlatOut 2.


=== QuickBMS script ===  
=== QuickBMS script ===  


* [http://aluigi.altervista.org/bms/flatout_bfs1.bms flatout_bfs1.bms] (made for FlatOut 2)
* [http://aluigi.altervista.org/bms/flatout_bfs1.bms flatout_bfs1.bms] (created for FlatOut 2)


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


* [https://steamcommunity.com/linkfilter/?url=https://sourceforge.net/projects/bfs2pack/files/bfs2pack/bfs2pack1.2/bfs2pack1.2-bin.zip/download bfs2pack]] (+ [https://github.com/synopia/bfs2pack source code])
* [https://sourceforge.net/projects/bfs2pack/files/bfs2pack/bfs2pack1.2/bfs2pack1.2-bin.zip/download bfs2pack] (+ [https://github.com/synopia/bfs2pack source code])
* [http://www.mediafire.com/download/wtzwzwkyiyt/FO1-unpack-packer.rar BFS Workshop] / [https://drive.google.com/file/d/1Pb9nrQYnYMQcMUCzLyJ5LWwx-UljZnnV/view?usp=sharing mirror1]
* [[Game Extractor|Game Extractor]]
* [[Game Extractor|Game Extractor]]
* [[Game Archive UnPacker (GAUP plugin)]]
* [[Game Archive UnPacker (GAUP plugin)]]
Line 64: Line 67:
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_bfs | Extension: bfs]]
[[Category:Extension_bfs | Extension: bfs]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 20:22, 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


Games

List of games using this file format:

  • FlatOut (*.BFS)
  • FlatOut 2 (*.BFS)
  • FlatOut: Ultimate Carnage (*.BFS)

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.
  • The format uses ZLIB compression.
  • The format seems to have some differences between FlatOut 1 and FlatOut 2.

QuickBMS script

Supported Programs