Lead and Gold BLB: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 18: Line 18:
4 bytes (uint32) - number of characters in font
4 bytes (uint32) - number of characters in font
4 bytes (uint32) - header size (80)
4 bytes (uint32) - header size (80)
4 bytes (uint32) - number of characters in font (repeated)
4 bytes (uint32) - characters list offset
4 bytes (uint32) - number of characters in font (repeated)


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


20 bytes - unknown
4 bytes (uint32) - number of characters in characters table 2
4 bytes (uint32) - font name offset
4 bytes (uint32) - character table 2 offset
4 bytes (uint32) - unknown  // 100


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 height

Revision as of 08:18, 1 July 2023

Back to index | Edit this page

BLB

  • Format Type : Font
  • Endian Order : Little Endian
  • Signature :


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 (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 list
number_of_ascii_chars *
{
   4 bytes (uint32) - character code
}


x bytes (char) - font name 

Notes and Comments

None.

Games

List of games using this file format:

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

QuickBMS Script

Not written yet.

Compatible Programs

None.