the cutting room mirror

Duke Nukem Forever

This article has a talk page!
view on tcrf.net

This page contains notes for the game Duke Nukem Forever.

Custom File Types#

To do:

  • .nav, .skl, .def and .anm are also used by the game, if these are not exclusive to this game then document them here instead.
  • Also recommend any programs that open these files.

Duke Nukem Forever employs a series of custom file types for some of its assets.

  • .dnf - Used for maps. This file type is also used in older builds of the game for maps, such as the 2001 Builds.
  • .msh - Stands for Mesh, used for models with animations like NPCs and enemies.
  • .smsh - Stands for Static Mesh, used for models without animations like props and hats.

Shaders#

Found in System/Shaders/PC are various shader files, including a source code file called FixedEmuTypes.h.

The shaders are compiled at runtime with FixedEmuTypes.h combined into them. D3DDrv9.dll is responsible for handling this, it also has some shader source embedded in it.

Internal IDs#

Game Modes#

Mode

ID

N/A

0

Duke Match

1

Capture the Babe

2

Team Duke Match

3

Hail to the King

4

Hail to the King FFA

5

Freezetag

6

Hot Babe

7

My Digs

15

Multiplayer Maps#

Maps from the base game have an extra ID for Hail to the Icons Parody Pack.

Map

IDs

Morning Wood

0 / 100

Hoover Damned

1 / 101

Duke Burger

2 / 102

Vegas Ruins

3 / 103

Hive

4 / 104

Sausage Factory

5 / 105

Casino

6 / 106

Erection Site

7 / 107

Highway Noon

9 /108

Hollywood

10 / 109

DLC Maps

Sandbox

110

Call of Duke

111

Inferno

112

2Forts1Bridge

113

Sky-High

300

Drop Zone

301

Biohazard

302

Command

303

Things That Seem To Be Unused But Aren't#

Giving Duke Nukem Forever's infamous development hell, its not too surprising that a lot of content would get dropped. Some content might look like its unused at first but is in fact used.