.DNF

DNF File

Duke Nukem Forever Map File
Ask a question
QUICK ANSWER

A DNF file is a map/level file for Duke Nukem Forever (2011). The game opens these automatically; to install a custom map, place the .dnf file in the game's Maps folder and load it from the console. No general-purpose software can open DNF files.

Developer: 3D Realms / Gearbox Software (2011 retail release) Category: Game Files MIME: application/octet-stream (no registered MIME)
OPENS ON Windows
Related: .OBB · .PAK · .ROFL · .PACKAGE

On this page

19k+ extensions indexed
Last reviewed Jul 8, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

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: LOW

Game 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 nutshell
FULL NAMEDuke Nukem Forever Map Fileaka DNF map, Duke Nukem Forever level file
DEVELOPER3D Realms / Gearbox Software (2011 retail release)since ~2001 (DNF 2001 build leaked); 2011 (retail release)
CATEGORYGame Files
MIME TYPEapplication/octet-stream (no registered MIME)
TYPEProprietary game map/level binary file

Programs that open DNF files

Windows2 apps
Duke Nukem Forever (Steam / GOG) Paid Place .dnf map files in the game's Maps folder; load via console or custom menu. Official game auto-loads maps at startup for the main campaign.
Duke's Enormous Tool (map editor) Free Community map editor for DNF 2011 (Nexus Mods). Uses the official editor functionality released with the retail game. Open .dnf files directly.

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
EncodingBinary
Byte orderLittle-endian
ContainerUnreal Engine 2.5 binary package format (retail); Grail Engine proprietary binary (2001 build)
Typical file size1 MB - 100 MB (typical game level map)
Map contentBSP 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 supportNo official SDK or editor released; Duke's Enormous Tool (community project) enables limited retail map editing
MIME typeapplication/octet-stream (no registered MIME type)
Associated OSWindows
Expansion packsThree DLC packs: Duke's Big Package, Hail to the Icons Parody Pack, The Doctor Who Cloned Me
Distribution2011 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 versionRetail DNF (2011, Unreal Engine 2.5-based); DNF 2001 build (leaked 2022) uses an earlier proprietary engine format
Specificationforums.duke4.net

DNF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DNF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DNF files.

Frequently asked questions

How do I install a DNF map file?
Place the .dnf file in the Duke Nukem Forever Maps directory (typically in your Steam/GOG installation folder under 'Maps'), then load it from the game console or a mod menu.
Is there a map editor for Duke Nukem Forever?
Yes - 'Duke's Enormous Tool' on Nexus Mods is the main community map editor for DNF 2011, built around the official editor that shipped with the retail game.
What is the DNF 2001 build?
A version of Duke Nukem Forever from 2001 that uses 3D Realms' proprietary Grail Engine; its .dnf files are a different format from the 2011 retail game. The 2001 build was leaked online in August 2022.
Can I open DNF files in Unreal Editor?
Not reliably - while DNF 2011 uses UE2.5 internally, the files use custom actors and classes specific to DNF that standard Unreal Editor won't know about.

References

1Duke Nukem Forever on Steamstore.steampowered.com
2Duke's Enormous Tool map editor (Nexus Mods)www.nexusmods.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.PARTPartial Download File
4.CRDOWNLOADChrome Partial Download File
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.MDMarkdown Document
8.AVIFAV1 Image File Format (AVIF)
9.NOMEDIAAndroid No-Media Marker File
10.RPMSGRestricted Permission Message

Related extensions

.OBBAndroid Opaque Binary Blob (APK Expansion File)
.PAKGame Resource Package (PAK)
.ROFLLeague of Legends Replay
.PACKAGEThe Sims / Maxis DBPF Package (game content & mods) - dominant meaning
.XSBXACT Sound Bank
.SAVSaved Game File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z