Lead and Gold BLB

From XentaxWiki
Jump to navigation Jump to search

Back to index | Edit this page

BLB

  • Format Type : Font
  • Endian Order : Little Endian
  • Signature : 73 D8 BD E5


Format Specifications

// BLB file format

// header
12 bytes (char) - signature + padding    // 73 D8 BD E5 00 00 00....
4 bytes (uint32) - BLB file size
4 bytes (uint32) - number of characters in font
4 bytes (uint32) - header size (80)

4 bytes (uint32) - number of entries in characters table 1
4 bytes (uint32) - characters table 1 offset

4 bytes (uint32) - number of characters in characters table 2
4 bytes (uint32) - character table 2 offset

4 bytes (uint32) - number of characters in characters table 3
4 bytes (uint32) - character table 3 offset

4 bytes (uint32) - number of characters in characters table 4
4 bytes (uint32) - character table 4 offset

4 bytes (uint32) - font name offset
4 bytes (uint32) - unknown  // 100

4 bytes (uint32) - DDS height
4 bytes (uint32) - DDS width
4 bytes (uint32) - unknown  // 45 or 83
4 bytes (uint32) - unknown  // 60 or 100


// coordinates table (10 bytes per entry)
number_of_chars_in_DDS *
{
  1 byte (uint8) - null
  1 byte (uint8) - unknown
  1 byte (uint8) - height on DDS
  1 byte (uint8) - width on DDS
  1 byte (uint8) - unknown  // 255 or 253 or 251
  1 byte (uint8) - unknown
  2 bytes (uint16) - X coordinate on DDS
  2 bytes (uint16) - Y coordinate on DDS
}

2 bytes - nulls / separator

// characters table 1
number_of_characters *
{
   4 bytes (uint32) - character code
}

// characters table 2
number_of_characters *
{
   4 bytes (uint32) - character code
}

// characters table 3
number_of_characters *
{
   4 bytes (uint32) - character code
}

// characters table 4
number_of_characters *
{
   4 bytes (uint32) - character code
}


x bytes (char) - font name 

Notes and Comments

None.

Games

List of games using this file format:

  • Bionic Commando 2009 (*.BLB)
  • Lead and Gold Gangs of the Wild West (*.BLB)

QuickBMS Script

Not written yet.

Compatible Programs

None.