[TOC] [Prev] [Next] LFD FILES

LFD files contain various resources, mostly sound and graphics.
You don't need them to create a new level, but for things like cutscenes and briefings.
The Dark Forces LFD format seems to be completely compatible with X-Wing and Tie Fighter LFD files.

LFD_Ix_Entry IS
 TYPE             char[4]          // type of the resource
 NAME             char[8]          // name of the resource
 LENGTH           long             // length of the resource

Then LENGTH bytes follow the header.

The first index entry is of type RMAP, and contains the list of all the sections in the .LFD file.
This is similar to the GOB Master Index.

The other sections can be:

Section Description
ANIManimation, this is a collection of DELT
DELTstatic image in delta format
FILM'script' referencing the other resources in the lfd
GMIDGeneral Midi music
PLTTpalette used for ANIM and DELT
VOICVOC (standard Creative Labs format)