What is the DNF file format?
Files with the .dnf extension store level map data for Duke Nukem Forever, a long-delayed sequel to the cult 1990s shooter Duke Nukem 3D.
.dnf files contain data such as:
- Terrain layout and geometry
- Objects and their locations
- Buildings and structures
- Weapons, ammunition, and their placement
- Player spawn points
The 2011 retail release of Duke Nukem Forever was powered by Unreal Engine 2.5, and its .dnf files use the standard Unreal Engine package format internally - equivalent to .unr map files - but carrying the .dnf extension. Duke Nukem Forever's developers released no official modding tools for players, a decision frequently cited as a contributor to the game's mixed reception. The community tool Duke's Enormous Tool provides limited map editing capability for the retail release.
Three downloadable expansion packs were released on Xbox Live, PlayStation Network, and Steam:
- Duke's Big Package - available to users who pre-ordered the game
- Hail to the Icons Parody Pack - four new maps, new weapons, and three new game modes
- The Doctor Who Cloned Me - four new maps and a new single-player campaign with many references to the original game
Duke Nukem Forever was announced as the sequel to Duke Nukem 3D, which was released in 1996. After more than 15 years of development - spanning studios including 3D Realms, Triptych Games, Gearbox Software, and Piranha Games - the game finally shipped in 2011, published by 2K Games for PlayStation 3, Xbox 360, Windows PC, and macOS. Despite heavy promotion, it received mixed reviews and underperformed commercially.
A second .dnf format exists: a 2001 in-development build was leaked online in August 2022. That build used 3D Realms' proprietary Grail Engine, producing an entirely distinct binary format.
Security & safety
RISK: LOWGame map files are passive data loaded by the game engine. Malicious map files could theoretically exploit engine bugs but no known DNF map exploits exist. Only load .dnf files from trusted modding sources (Nexus Mods, ModDB).
Format details
in a nutshellPrograms that open DNF files
Technical details
deep spec| Engine (2011 retail) | Unreal Engine 2.5 - .dnf maps use the UE2.5 binary package format, identical in structure to .unr level files |
| Engine (2001 leaked build) | 3D Realms proprietary Grail Engine - leaked August 2022; entirely distinct binary format with no public specification |
| Encoding | Binary |
| Byte order | Little-endian |
| Container | Unreal Engine 2.5 binary package format (retail); Grail Engine proprietary binary (2001 build) |
| Typical file size | 1 MB - 100 MB (typical game level map) |
| Map content | BSP geometry, actor placements, lighting data, level properties, weapon and spawn-point locations |
| Extension origin | .dnf extension applied to UE2.5 package files (normally .unr); the extension is game-specific branding |
| Modding support | No official SDK or editor released; Duke's Enormous Tool (community project) enables limited retail map editing |
| MIME type | application/octet-stream (no registered MIME type) |
| Associated OS | Windows |
| Expansion packs | Three DLC packs: Duke's Big Package, Hail to the Icons Parody Pack, The Doctor Who Cloned Me |
| Distribution | 2011 retail via Steam and GOG; 2001 Grail Engine build circulated via preservation communities since August 2022 |
| Released | ~2001 (DNF 2001 build leaked); 2011 (retail release) |
| Latest version | Retail DNF (2011, Unreal Engine 2.5-based); DNF 2001 build (leaked 2022) uses an earlier proprietary engine format |
| Specification | forums.duke4.net |
DNF conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about DNF files.