Both sides previous revisionPrevious revision | |||
modding:dd_direc [2017-03-20 19:33] – skyjake | modding:dd_direc [2017-03-20 19:33] (current) – [Wadtool] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DD_DIREC lump ====== | ||
+ | |||
+ | |||
+ | // | ||
+ | |||
+ | < | ||
+ | FILE002 | ||
+ | </ | ||
+ | Using DD_DIREC it is possible to include **any** files that Doomsday supports inside a WAD. For instance models and hires textures can be placed inside a WAD. There is one exception to that - Demos (which are compressed with the LZSS library) **must** always be loaded from real files. | ||
+ | |||
+ | Each line in DD_DIREC contains a lump/path pair. The paths that begin with a (back)slash are interpreted as paths that start from the Doomsday base directory (set with // | ||
+ | |||
+ | |||
+ | ===== Wadtool ===== | ||
+ | |||
+ | |||
+ | Wadtool is a simple utility for automatically creating a WAD file that contains the current directory and all its subdirectories plus a DD_DIREC lump that has (with a high probability) a unique lump name for each file. You could invoke the utility like this: | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | This would create a WAD file that contains all the files from the current directory. When writing the DD_DIREC table, the prefix "/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||