Open main menu

SCUMM/Technical Reference/LFL Files

< SCUMM‎ | Technical Reference
Revision as of 11:07, 16 November 2021 by Edo999 (talk | contribs) (Created page with "SCUMM Technical Reference → ''LFL files'' = Introduction= A LFL file contains the information for a specific room (objects, scripts, sound...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SCUMM Technical ReferenceLFL files

Introduction

A LFL file contains the information for a specific room (objects, scripts, sounds...).

00.LFL or 000.LFL are index files and their content is different than the other LFL files.

Scumm 0/1/2

A LFL file is made of several resources, stored as chunks.

A chunk starts with its size stored as an UInt16LE followed by the data of the specified size. Then the next chunk starts with its size...

This continues until the end of file.

BytesData
2 bytes (UInt16LE)Size of chunk 1
xx bytesData for chunk 1
2 bytes (UInt16LE)Size of chunk 2
xx bytesData for chunk 2
......


The first chunk contains the room resource, following by one or more of:

...