Running DOOM natively inside Inductive Automation Ignition Perspective, with server-side rendering on the Gateway JVM and browser display via a self-contained HTTP servlet pipeline. Full audio — sound effects and music — with no external dependencies.
This project sprouted suddenly and quite humbly into life while pondering over general low-level rendering capabilities in Ignition Perspective, and quickly became an obsession-driven side project while trying (and failing) to decompress from the daily grind — as more dirt was shoveled away to expose something... delightfully hellish. As a 90s kid, the original Doom holds a very special place in my heart for exposing my fragile but curious brain to the magic of computers. Later, I came to admire the craftsmanship, creativity, and raw engineering talent of the id Software team of that era with equal amounts of awe and respect. I therefore must dedicate each hour spent on this to the original id Software team, without whom none of this would be possible.
Provided as-is; see the Disclaimer before installing.
- Features · Roadmap · Quick Start · Compatibility
- Documentation: Install · Building · Deployment · Architecture · Roadmap
- References · Disclaimer · License · Credits
- Single-player with full rendering, keyboard and mouse input, sound effects and MIDI music, for DOOM, DOOM II, Final DOOM and the shareware episode. As in vanilla Doom, what you carry goes on to the next level, and a death starts the level over with a pistol. Any level can start with full health, armor and weapons (Doom's IDFA), an option that's off by default.
- Mouselook. WASD plus mouse aim with GZDoom-style freelook (y-shearing, Heretic / Crispy Doom
look range), on by default. Mouselook, autoaim, a crosshair, sensitivity and invert Y are set on
the start page; in a deathmatch, mouselook and autoaim are match rules chosen by the host. The
mouse wheel changes weapons. A Controls page (
/system/doom/controls) lists every key, and a Fullscreen button keeps browser shortcuts such as Ctrl+W in the game (Chrome and Edge, over HTTPS or localhost). - Players and saves. Play anonymously, and the game's saves end with it, or sign in with a name and a password to keep your saves on the gateway and pick them up from any browser. The start page's Saves card shows each save with a picture and loads it, and the game's bar has a [Quick Save] button.
- A game tab of its own. The start page stays open as the dashboard, and the game's bar shows the level by name ("Level: E1M3 (Toxin Refinery)"). When a game ends, the page says why and how to go on, instead of leaving you staring at a frozen frame.
- Deathmatch with 2–4 players per match. Each player runs their own engine, kept in lockstep peer to peer, and other players join with the match ID.
- PWADs and mods. Vanilla-compatible PWADs work, with automatic IWAD detection, warp to the first map, and skill selection. See WADs and mods for the limits.
- Gateway-friendly operation: a cap on concurrent games, automatic cleanup of idle games, an optional play password, and an Admin Settings panel protected by a master password. Each game belongs to the browser that started it. Works behind a reverse proxy such as nginx.
- Self-hosted. The gateway serves every asset itself, so no external network access is needed.
- Ignition 8.3.0 and later, tested through 8.3.11-rc1 on Linux gateways. Asset folders follow the gateway's own install location, so Windows gateways should work too, but haven't been tested yet. An experimental build targets Ignition 2027.x. See Compatibility.
1.2.0 is next: players and saves, new start and play pages, and the same tools and docs as the other Ignition game ports. After that, an in-game mouse menu and music closer to the original. Details in docs/roadmap.md.
Installing a release download? Follow docs/install.md. To build from source:
- Get the assets:
powershell -ExecutionPolicy Bypass -File scripts\get-assets.ps1(orscripts/get-assets.sh) fetches the soundfonts (the shareware DOOM1.WAD is already in the repo), andpowershell -ExecutionPolicy Bypass -File scripts\import-game-data.ps1 <your Doom folder>(orscripts/import-game-data.sh) copies the IWADs from your own DOOM install, if you have one. - Build and package the module, ideally signed. This needs a one-time Ignition SDK setup. See Building.
- Install and play: install the
.modl, copyassets/to<gateway>/user-lib/doom/, and openhttp://<gateway>:8088/system/doom. On the first visit, set a master password using the setup code from the gateway log. See Install on a gateway and Access Control.
Rather not touch a real gateway? powershell -ExecutionPolicy Bypass -File scripts\setup-ignition-container.ps1 <name> (or scripts/setup-ignition-container.sh <name>)
builds a throwaway one in Docker with the module and your assets, on port 18089. See
Testing in Docker.
Tested on Linux gateways in Docker. The automated smoke test
(scripts/test-ignition-versions) installs the module, commissions the gateway, starts a
single-player game, waits for a rendered frame, loads the sound list, and checks that another
browser can't open the game.
| Ignition | Status | Notes |
|---|---|---|
| 8.3.0 | Tested | Declared minimum of the 8.3 build |
| 8.3.1 | Tested | |
| 8.3.9 | Tested | With 1.1.0; not in the current test set |
| 8.3.10 | Tested | |
| 8.3.11-rc1 | Tested | Release candidate |
| 2027.2.0-beta2 | Tested | Experimental: use the 2027 build (-Target 2027); runs on Java 25. The 8.3 build is refused: "requires Ignition 8.3.0 and is not compatible with Ignition 2027.2.0" |
| 8.1, 7.x | Not supported | 8.3 moved to Jetty 12 and Jakarta servlets. 8.1 uses Jetty 9.4 and javax servlets; 7.x runs on Java 8 |
The smoke test can be repeated for any version; see Testing Ignition versions.
| Browser | Status | Notes |
|---|---|---|
| Chrome | Tested | Windows. Fullscreen keeps Ctrl+W and Esc in the game over HTTPS or localhost |
| Edge | Tested | Windows. Same as Chrome |
| Firefox, Safari | Untested | Expected to work; Fullscreen there is plain full screen without the keyboard capture |
In full screen, hold Esc to leave it. When the game ends, the page leaves full screen and releases the mouse and keyboard by itself.
Windows HDR displays: with HDR on, Windows shows browser content with brighter dark tones, so the game's frames look washed out. Turn HDR off while playing (Win+Alt+B), or install a profile that keeps the usual gamma 2.2 for SDR content.
The engine is Mocha DOOM, a Java port of id Software's original source with some prBoom extensions. A WAD made for the original engine, the kind that runs in Chocolate Doom, works here. Several community PWADs have been verified.
| Supported | Not supported |
|---|---|
| IWADs: DOOM (shareware and registered), Ultimate DOOM, DOOM II, TNT: Evilution, The Plutonia Experiment | DEHACKED patches. They are ignored, so modified monsters, weapons or text revert to stock behavior |
| Vanilla-format PWADs: maps, textures, sounds, music | Hexen-format and UDMF maps |
| ZDoom extended nodes (ZNODES) and DeepBSP nodes, for large maps | ACS scripting, DECORATE, MAPINFO |
| Document | Contents |
|---|---|
| Install | Installing a release download on a gateway, step by step |
| Building | Prerequisites, assets, Ignition SDK setup, build, packaging (8.3 and experimental 2027 targets), signing, version testing, releases |
| Deployment | Installing on a gateway, playing, players and saves, file locations, URLs, access control, reverse proxies, resource requirements, a test gateway in Docker |
| Architecture | How it fits together, technology stack, design decisions, repository structure |
| Roadmap | Milestones so far, ideas for later, decisions |
- Mocha DOOM: the Java DOOM port this engine is built on
- Chocolate Doom: the reference for vanilla behavior
- DOOM Wiki: the WAD, MUS and DMX sound formats
- gleitz/midi-js-soundfonts: the FluidR3_GM instruments
- paulrosen/midi-js-soundfonts: FluidR3_GM with percussion
- soundfont-player: plays them in the browser
- Ignition SDK documentation: building gateway modules
DOOM for Ignition Perspective is a hobby project, provided "as is", without warranty of any kind, as set out in sections 15 and 16 of the GNU GPL. It runs inside the gateway's own Java process and shares its CPU and memory with everything else the gateway does. Install and use it at your own risk, and not on a gateway that runs production processes or safety systems. The author is not liable for downtime, data loss or any other damage arising from its use.
GNU General Public License v3 or later. See LICENSE for the full text.
This project incorporates Mocha DOOM (GPL v3 or later)
and, through it, the DOOM source code by id Software (GPL v2
or later), with some code from PrBoom and Boom by Lee Killough, Colin Phipps, Florian Schulze and
others (GPL v2 or later). DOOM1.WAD (shareware) is included under id Software's shareware terms and
is not covered by the GPL. Commercial WAD files must be supplied by the user. The DOOM logo on the
pages is id Software's artwork, not covered by the GPL either, and goes on request. FluidR3_GM
soundfont: Creative Commons Attribution 3.0. See CREDITS.md for full attribution. The
module serves its license texts at /system/doom/licenses, linked from the start page.
This project is not affiliated with or endorsed by Inductive Automation or id Software. "Ignition" is a trademark of Inductive Automation, Inc. "DOOM" is a trademark of id Software LLC.
See CREDITS.md for full third-party licenses and attribution.
Development: Mike Dillmann (DivCurl)