Baldurs Gate BIF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 55: Line 55:
* Planetscape Torment *.bif
* Planetscape Torment *.bif
* Star Wars: Knights Of The Old Republic 2 *.bif
* Star Wars: Knights Of The Old Republic 2 *.bif
[[Category:File Format]]

Latest revision as of 13:41, 3 January 2021

BIF


Format Specifications

char {6}     - Header (BIFFV1)
uint16 {2}   - Unknown
uint32 {4}   - Number Of Files
uint64 {8}   - Unknown

// for each file

uint16 {2}   - File ID
uint16 {2}   - Unknown
uint32 {4}   - File Offset
uint32 {4}   - File Size
uint32 {4}   - File Type


byte {X}     - File Data

MultiEx BMS Script

IDString 0 BIFFV1 ;
Get DUMMYL Int 0 ;
SavePos FILESTART 0 ;
Get FILECNTL Long 0 ;
Math FILESTART += 16 ;
Do ;
GoTo FILESTART 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
Math FILESTART += 16 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs

Other Games

These games also use this file format

  • Baldur's Gate *.bif
  • Baldur's Gate 2 *.bif
  • Neverwinter Nights *.bif
  • Planetscape Torment *.bif
  • Star Wars: Knights Of The Old Republic 2 *.bif