Containers
Dark Forces contains a huge amount of files, and these are grouped by type in what are called GOB files and LFD Files. They serve as containers for other files which in turn contain information. GOB Files mainly contain the level information, while LFD Files contain the data needed for the cutscenes, the briefings, and more generally all what is drawn OUT of the 3D engine.
Patching
Files can be extracted from the GOB and worked upon, then be used in the game. LucasArts made a very good job of this and prepared a path for users to modify levels. If you want to make DF accept new or modified files, create a GOB file with them (say mylevel.gob). Then use the following command line: dark -umylevel.gob
The order in which DF looks for a file is as follows:
LFD resources can also be extracted and worked upon, but there isn't any facility to load them.
What you have to do is recompose the patched LFD, and set it in the installed directory, or in the lfd subdirectory of the installed directory.
Putting a patched LFD in a GOB and loading it with -u doesn't seem to work.
Files critical to DF: |
| ||||||||||||
Levels |
are composed of 6 files, found in dark.gob
| ||||||||||||
Textures | are stored in .BM files, as are the weapons display, and so on. | ||||||||||||
Sounds | are stored in .VOC files (normal Creative Labs format). | ||||||||||||
Musics | are stored in .GMD files (General MIDI format). | ||||||||||||
Objects |
are stored in the following files depending on their type :
| ||||||||||||
3D object motions | are stored in .VUE files (normal 3D Studio format). |