Ghostlight BRA

From XentaxWiki
Revision as of 19:24, 3 April 2022 by imported>Ikskoks (→‎QuickBMS Script)
Jump to navigation Jump to search

BRA


Format Specifications

// BRA file format

// little endian

// header
4 bytes (char) - magic // "PDA" + 0x00
4 bytes (uint32) - version // "2"
4 bytes (uint32) - directory offset
4 bytes (uint32) - number of files


// data
num_of_files *
{
   x bytes - file data
}


// directory
num_of_files *
{
   8 bytes (time_t) - creation time?
   4 bytes (uint32) - compressed file size
   4 bytes (uint32) - uncompressed file size
   2 bytes (uint16) - file path length
   2 bytes (uint16) - unknown
   4 bytes (uint32) - data offset
   x bytes (char) - file path  // e.g. "AUDIO\FOOTSTEP2.WAV"
}

MultiEx BMS Script

Not written yet.

QuickBMS Scripts

Compatible Programs

None.

Notes and Comments

  • Files are compressed with deflate algorithm.
  • This file format occurs in some games published by Ghostlight Ltd. company.

Games

List of games using the same file format:

  • Agarest: Generations of War
  • Agarest: Generations of War 2
  • Mary Skelter: Nightmares
  • Mr Bean
  • OMG Zombies!
  • Spirit Hunter: NG (PC) (*.BRA)
  • Way of the Samurai 3