Ghostlight BRA: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 3: Line 3:
* ''' 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 ''':    PDA <br>





Revision as of 19:47, 3 April 2022

BRA

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


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) - file last modification time
   4 bytes (uint32) - compressed file size
   4 bytes (uint32) - uncompressed file size
   2 bytes (uint16) - file path length
   2 bytes (uint16) - flags
   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

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
  • Elminage Gothic
  • Fairy Fencer F: Advent Dark Force
  • Mary Skelter: Nightmares
  • Mr Bean
  • OMG Zombies!
  • Spirit Hunter: NG (PC) (*.BRA)
  • Tokyo Xanadu eX+
  • Way of the Samurai 3