American Laser Games LIB: Difference between revisions
Jump to navigation
Jump to search
imported>Multimedia Mike No edit summary |
|||
| Line 6: | Line 6: | ||
=== Format Specifications === | === Format Specifications === | ||
<pre> | |||
Header | Header | ||
uint16 {2} magic always set to 0x03fc | uint16 {2} magic always set to 0x03fc | ||
| Line 19: | Line 20: | ||
uint32 {4} file_length length of file (bytes) | uint32 {4} file_length length of file (bytes) | ||
the contents of the file follows the preamble. | the contents of the file follows the preamble. | ||
</pre> | |||
Note: the last index entry appears always has the file name set to all zero's, and the preamble_offset set to an invalid file offset. This may be a checksum. | Note: the last index entry appears always has the file name set to all zero's, and the preamble_offset set to an invalid file offset. This may be a checksum. | ||
Revision as of 12:40, 4 July 2006
LIB
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
Header
uint16 {2} magic always set to 0x03fc
uint32 {4} index_offset offset to index table (bytes, relative start of LIB file + 0x6)
Index table, stored at end of LIB file
uint16 {2} index_length length of index table
while not end of file
uint32 {4} preamble_offset offset to preamble (bytes, relative to start of LIB file)
char {13} filename filename (ASCIIZ)
File preamble
uint32 {4} file_length length of file (bytes)
the contents of the file follows the preamble.
Note: the last index entry appears always has the file name set to all zero's, and the preamble_offset set to an invalid file offset. This may be a checksum.
MultiEx BMS Script
to be written
Compatible Programs
none yet
Games
These American Laser Games titles use the LIB format to pack their data:
- Crime Patrol
- Mad Dog McCree
- Mad Dog McCree II: The Lost Gold
As they belong to the same genre, these ALG games are suspected to also use this LIB format:
- Crime Patrol II: Drug Wars
- Who Shot Johnny Rock
- Space Pirates
Credit
This description was originally written by Peter Ross (suxen_drol at hotmail dot com).