The .LIB file format is a container that holds multiple files. The game's executable contains hardcoded information about the names of these files, as the .LIB format itself does not include this data. Below is a Kaitai Struct definition to illustrate the structure of .LIB files.
meta:
id: entomorph_lib
file-extension: LIB
endian: le
seq:
- id: file_count
type: u4
- id: file_headers
type: file_header
repeat: expr
repeat-expr: file_count
types:
file_header:
seq:
- id: offset
type: u4
- id: size
type: u4
instances:
file_data:
pos: offset
size: size
The subsequent sections list contents extracted from various .LIB files as determined through decompilation:
Content pending.
Except the file at index 0, these are all ILBM images.
Content pending.
- File index: 0
- Format: Unknown
- File index: 1
- Format: Unknown
- File index: 2
- Format: Unknown
- Description: The game doesn't assign a name to this file, but it's assigned to group 6.
- File index: 3
- Format: Unknown
- File index: 4
- Format: Unknown
- Description: Not found in the game's executable yet.
- File index: 5
- Format: Unknown
- File index: 6
- Format: Unknown
- Description: The game doesn't assign a name to this file, but it's assigned to group 10.
- File index: 7
- Format: Unknown
- File index: 8
- Format: ILBM
- Description: The following image
- File index: 9
- Format: Unknown
- Description: Not found in the game's executable yet.
- File index: 10
- Format: Unknown
- File index: 11
- Format: Unknown
- Description: The game doesn't assign a name to this file, but it's assigned to group 7.
- File index: 12
- Format: Unknown
- File index: 13
- Format: Unknown
- Description: Not found in the game's executable yet.
- File index: 14
- Format: Unknown
- File index: 15
- Format: Unknown
- File index: 16
- Format: ILBM
- Description: The following image
- File index: 17
- Format: Unknown
- Description: Not found in the game's executable yet.
- File index: 18
- Format: Unknown
- File index: 19
- Format: Seems to be text, but contains some binary data
- Description: The game's credits text.
- File index: 20
- Format: Text
- Description:
It's a list of null terminated strings, this is the content:
MOLE
HOME
ANT_A
ANT_B
ANT_C
RAVINE
WEB
ISLANDW
ISLANDC
ISLANDS
VILLAGE
REBELA
REBELB
REBELC
ZIG
MIDWEST
LOWWEST
ISLANDE
LOWCNTR
MIDCNTR
LOWEAST
ANTHILL
BEESURF
BEENEW1
BEENEW2
UNUSED1
UNUSED2
UNUSED3
MANTIS1
MANTIS2
DUNG0
SHRINE1
SHRINE2
S2CAVE
MCAVE
BEEFLY
JOEWEB
- File index: 21
- Format: ILBM
- Description: The following image