# dhewm3

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/dhewm3/

dhewm3 emulates Doom 3. It reads 13 files, 5 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Community fork |
| Source | [https://github.com/dhewm/dhewm3](https://github.com/dhewm/dhewm3) |
| Version | 1.5.5, the tag at this revision |
| Revision | [dhewm/dhewm3@455b88e8dff2](https://github.com/dhewm/dhewm3/commit/455b88e8dff2be822f08eb498f51b383e851fa38) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/) |
| Profiled | 2026-10-04 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/dhewm3.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/dhewm3.json) |
| Systems | [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3) |

**Install this emulator's files**

With Batocera, RetroBat or KNULLI: the installer finds Batocera, RetroBat or KNULLI and its BIOS folder, then downloads only the files dhewm3 reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator dhewm3
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator dhewm3
```

**Technical notes**

Doom 3 source port based on the id Software GPL release of the Doom 3 engine (idTech 4). Carries the original Doom 3 1.3.1 game code plus bug fixes, SDL abstraction and 64-bit cleanup.

Game data is read from the pak files of `base/`, or from `demo/` when base/ yields no default.cfg. Resurrection of Evil goes in `d3xp/`. ref: [`neo/framework/FileSystem.cpp:88-112`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L88-L112) ("either base or demo"), [`neo/framework/FileSystem.cpp:2089`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2089) AddGameDirectory, [`neo/framework/FileSystem.cpp:2235`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2235) SetupGameDirectories(BASE_GAMEDIR) BASE_GAMEDIR is defined as "base" ([`neo/framework/Common.cpp:2724`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/Common.cpp#L2724)).

Pak loading scans the gamedir for *.pk4 and loads them in descending order so a later pak overrides earlier ones. ref: [`neo/framework/FileSystem.cpp:2125-2143`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125-L2143) (ListOSFiles ".pk4").

When default.cfg cannot be read and fs_game is unset or "base", the engine sets fs_game and fs_game_base to "demo" and restarts the file system on the demo data. With any other fs_game it stops with "Couldn't load default.cfg". ref: [`neo/framework/FileSystem.cpp:2703-2716`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2703-L2716)

## Files

**13 files**: 5 required, 8 optional.

By kind: 13 game data.

In this collection: 6 in repo, 6 missing and 1 unsourceable.

## Game data

| File | Status |
|---|---|
| ** ### `pak000.pk4` ** - Path: `base/pak000.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) (ListOSFiles pakfile .pk4) | requiredmissinggame data |
| ** ### `pak001.pk4` ** - Path: `base/pak001.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Not collected yet: retail data the collection does not hold. A same-named file of another game must not stand in ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | requiredunsourceablegame data |
| ** ### `pak002.pk4` ** - Path: `base/pak002.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | requiredmissinggame data |
| ** ### `pak003.pk4` ** - Path: `base/pak003.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | requiredmissinggame data |
| ** ### `pak004.pk4` ** - Path: `base/pak004.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | requiredmissinggame data |
| ** ### `pak005.pk4` ** - Path: `base/pak005.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Shipped with 1.1 patch, absent on 1.0 install. - Collection copy: [`bios/Id Software/Doom 3/base/pak005.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-4c53f56f3a78) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | optionalin repogame data |
| ** ### `pak006.pk4` ** - Path: `base/pak006.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Shipped with 1.2 patch. - Collection copy: [`bios/Id Software/Doom 3/base/pak006.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-de543a0369db) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | optionalin repogame data |
| ** ### `pak007.pk4` ** - Path: `base/pak007.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Shipped with 1.3 patch. - Collection copy: [`bios/Id Software/Doom 3/base/pak007.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-662a4014dabe) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | optionalin repogame data |
| ** ### `pak008.pk4` ** - Path: `base/pak008.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Shipped with 1.3.1 patch. Path handling explicitly names it. - Collection copy: [`bios/Id Software/Doom 3/base/pak008.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-c50bf2c97e98) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125), [`neo/framework/FileSystem.cpp:893-897`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L893-L897) | optionalin repogame data |
| ** ### `zpak001.pk4` ** - Path: `base/zpak001.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Russian localization pak. **Source** - Source: [`neo/framework/FileSystem.cpp:232`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L232) ("russian zpak001.pk4") | optionalmissinggame data |
| ** ### `pak000.pk4` ** - Path: `d3xp/pak000.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Resurrection of Evil main pak. **Source** - Source: [`neo/framework/FileSystem.cpp:3744-3754`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L3744-L3754) (explicit d3xp/pak000.pk4 probe) | optionalmissinggame data |
| ** ### `pak001.pk4` ** - Path: `d3xp/pak001.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Resurrection of Evil patch pak, shipped by the 1.3.1 patch. - Collection copy: [`bios/Id Software/Doom 3/d3xp/pak001.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-0d9ca3d4532c) **Source** - Source: [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | optionalin repogame data |
| ** ### `demo00.pk4` ** - Path: `demo/demo00.pk4`- System: [Doom 3](https://abdess.github.io/retrobios/systems/id-software/#doom-3)- Doom 3 demo data. Every .pk4 of demo/ is loaded once the fallback sets fs_game to demo. - Collection copy: [`bios/Id Software/Doom 3/demo/demo00.pk4`](https://abdess.github.io/retrobios/systems/id-software/#sha1-10df25f1a7d6) **Source** - Source: [`neo/framework/FileSystem.cpp:2703-2709`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2703-L2709) (demo/ fallback), [`neo/framework/FileSystem.cpp:2125`](https://github.com/dhewm/dhewm3/blob/455b88e8dff2be822f08eb498f51b383e851fa38/neo/framework/FileSystem.cpp#L2125) | optionalin repogame data |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
