Lead and Gold BLB: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
* ''' Format Type ''': Font <br> | * ''' Format Type ''': Font <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': | * ''' Signature ''': 73 D8 BD E5 <br> | ||
| 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 | |||
4 bytes (uint32) - characters | 4 bytes (uint32) - number of entries in characters table 1 | ||
4 bytes (uint32) - number of characters in | 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 height | ||
4 bytes (uint32) - DDS width | 4 bytes (uint32) - DDS width | ||
| Line 28: | Line 40: | ||
// coordinates | // coordinates table (10 bytes per entry) | ||
number_of_chars_in_DDS * | 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 | // characters table 4 | ||
number_of_characters * | |||
{ | { | ||
4 bytes (uint32) - character code | 4 bytes (uint32) - character code | ||
| Line 51: | Line 90: | ||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Bionic Commando 2009 (*.BLB) | |||
* Lead and Gold Gangs of the Wild West (*.BLB) | * Lead and Gold Gangs of the Wild West (*.BLB) | ||
Latest revision as of 08:42, 1 July 2023
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.