Diskfile

A diskfile is an uncompressed container format which contains files in a folder structure. It is used by Nerve Software's port of Doom and Doom II to the Xbox 360.

Format
A diskfile begins with a simple header: A directory entry is corresponds to this structure: The paths are written following the DOS/Windows convention of using backslashes ('\') as directory separators. All paths begin with the pseudo- of GAME:.

The typical folder hierarchy consists of this
 * GAME:\ (root folder, empty)
 * GAME:\assets\ (contains an xui.xzp file)
 * GAME:\assets\m\ (contains MIDI tracks and a Gravis Ultrasound configuration file named gravis.cfg)
 * GAME:\assets\m\instruments\ (contains GUS patches)
 * GAME:\assets\w\ (contains the IWAD and a background.tga</tt> graphics, 428x200 pixels)

In doom2.disk</tt>, the w\ folder also contains a metadata.txt</tt> file which gives episode name and level names to the content of the IWAD. It is possible this file was designed to possibly allow adding the Final Doom IWADs as additional episodes. It also contains a mission1\ subdirectory with the PWAD for No Rest for the Living and its own metadata file, giving level names, music track (by their idmus value rather than by name) and par times (in seconds), as well as the end-of-episode text.