Difference between revisions of "SCUMM/Technical Reference/LFL Files"
< SCUMM | Technical Reference
Jump to navigation
Jump to search
(Created page with "SCUMM Technical Reference → ''LFL files'' = Introduction= A LFL file contains the information for a specific room (objects, scripts, sound...") |
|||
Line 1: | Line 1: | ||
[[SCUMM/Technical Reference|SCUMM Technical Reference]] → ''LFL files'' | [[SCUMM/Technical Reference|SCUMM Technical Reference]] → ''LFL files'' | ||
= Introduction= | = Introduction = | ||
A LFL file contains the information for a specific room (objects, scripts, sounds...). | A LFL file contains the information for a specific room (objects, scripts, sounds...). | ||
Line 7: | Line 7: | ||
00.LFL or 000.LFL are [[SCUMM/Technical_Reference/Index File|index files]] and their content is different than the other LFL files. | 00.LFL or 000.LFL are [[SCUMM/Technical_Reference/Index File|index files]] and their content is different than the other LFL files. | ||
= | = SCUMM v0, v1 and v2 = | ||
A LFL file is made of several resources, stored as chunks. | A LFL file is made of several resources, stored as chunks. |
Revision as of 11:27, 16 November 2021
SCUMM Technical Reference → LFL 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 v0, v1 and v2
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.
Bytes | Data |
---|---|
2 bytes (UInt16LE) | Size of chunk 1 |
xx bytes | Data for chunk 1 |
2 bytes (UInt16LE) | Size of chunk 2 |
xx bytes | Data for chunk 2 |
... | ... |
The first chunk contains the room resource, following by one or more of:
- Room graphic resources
- Script resources
- Sound resources
- Costume resources
- Charset resources
...