Ghostlight BRA: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (→Games) |
imported>Ikskoks |
||
| (13 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 30: | Line 31: | ||
num_of_files * | num_of_files * | ||
{ | { | ||
8 bytes (time_t) - | 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) - | 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 40: | Line 41: | ||
</pre> | </pre> | ||
</div> | </div> | ||
=== QuickBMS Scripts === | === QuickBMS Scripts === | ||
| Line 52: | Line 49: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* [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 === | ||
| Line 69: | Line 67: | ||
* OMG Zombies! | * OMG Zombies! | ||
* Spirit Hunter: NG (PC) (*.BRA) | * Spirit Hunter: NG (PC) (*.BRA) | ||
* Tokyo Xanadu eX+ | |||
* Way of the Samurai 3 | * Way of the Samurai 3 | ||
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