The Longest Journey TM

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

TM

Format Specifications

char {4}     - identifier ("BIFF")

uint32 {4}   - format version (1 or 2 allowed)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - number of chunks
// for each chunk

uint32 {4}   - begin marker (0xf0f0f0f0)
uint32 {4}   - data type
uint32 {4}   - Unknown
uint32 {4}   - data size
// if format version is 2
uint32 {4}   - Unknown
// if data type is 0x02faf082 (palette)
uint32 {4}   - number of palette colours
// for each colour
uint16 {2}   - red colour value
uint16 {2}   - green colour value
uint16 {2}   - blue colour value
// if data type is 0x02faf080 (image)
uint16 {2}   - name length
char {x}     - name (zero-terminated)
byte {1}     - Unknown
uint32 {4}   - image width
uint32 {4}   - image height
uint32 {4}   - number of MIP map levels
// for each MIP map level
byte {x}     - palettised image data (dimensions are halved after each level)
// if data type is something else
byte {x}     - Unknown (never encountered)
uint32 {4}   - end marker (0x0f0f0f0f)
uint32 {4}   - number of subchunks
// for each subchunk
(chunks can be arbitrarily nested, the same format rules apply)

Notes and Comments

TM files contain textures in (optionally) various MIP map levels. The same chunk layout is used for BIFF files as well, though the data types encountered in those files are usually different.

MultiEx BMS Script

None written yet.

Supported by Programs

Links

None

Games

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used