Ghostlight BRA: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== BRA == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifications === <div...")
 
imported>Ikskoks
 
(48 intermediate revisions by the same user not shown)
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>




Line 9: Line 10:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// Mr Bean PC
// BRA file format
// BRA file format


Line 31: Line 31:
num_of_files *
num_of_files *
{
{
   8 bytes (time_t) - creation time?
   8 bytes (time_t) - file last modification time
   4 bytes (uint32) - compressed file size
   4 bytes (uint32) - compressed file size
   4 bytes (uint32) - uncompressed file size
   4 bytes (uint32) - uncompressed file size
   2 bytes (uint16) - file path length
   2 bytes (uint16) - file path length
   2 bytes (uint16) - unknown
   2 bytes (uint16) - flags
   4 bytes (uint32) - data offset
   4 bytes (uint32) - data offset
   x bytes (char) - file path  // e.g. "AUDIO\FOOTSTEP2.WAV"
   x bytes (char) - file path  // e.g. "AUDIO\FOOTSTEP2.WAV"
Line 42: Line 42:
</div>
</div>


=== MultiEx BMS Script ===  
=== QuickBMS Scripts ===  


Not written yet.
* [https://forum.xentax.com/viewtopic.php?f=10&t=10842 Agarest: Generations of War (*.BRA) script]
* [https://aluigi.altervista.org/bms/coyote_console.bms coyote_console.bms]


=== QuickBMS Script ===  
=== Compatible Programs ===  


* [https://forum.xentax.com/viewtopic.php?f=10&t=10842 Agarest: Generations of War (*.BRA)script]
* [https://github.com/Palbolsky/Xanadu-BRA-Compress Xanadu-BRA-Compress]
* [https://github.com/Sewer56/Xanadu-BRA-Decompress Xanadu-BRA-Decompress]


=== Notes and Comments ===  
=== Notes and Comments ===  


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


=== Games ===  
=== Games ===  
List of games using the same file format:
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
* Mr Bean
* Agarest: Generations of War
* OMG Zombies!
* OMG Zombies!
* Spirit Hunter: NG (PC) (*.BRA)
* Tokyo Xanadu eX+
* Way of the Samurai 3


=== Compatible Programs ===


None.
<br/><br>
<br/><br>




[[Category:Complete Complete|Mr Bean BRA]]
[[Category:Complete Complete|Ghostlight BRA]]
[[Category:Platform PC|Mr Bean BRA]]
[[Category:Platform PC|Ghostlight BRA]]
[[Category:CE Compressed|Mr Bean BRA]]
[[Category:CE Compressed|Ghostlight BRA]]
[[Category:Deflate compression]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_bra | Extension: bra]]
[[Category:Extension_bra | Extension: bra]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 19:48, 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"
}

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