Doom engine: source and build notes
The game on /play/ is cloudflare/doom-wasm, a WebAssembly port of Chocolate Doom. It is free software under the GNU General Public License, version 2 or later (full text).
Corresponding source
- Upstream: cloudflare/doom-wasm at commit 65e0d3a
- Local changes: jevdoom.patch. It drops debug info, source maps and the SAFE_HEAP / stack-overflow checks to shrink the build, and makes
-playdemo/-timedemostop after starting the demo loop (under EmscriptenD_DoomLoop()returns, so startup used to carry on and replace the demo with the title screen).
Build
git clone https://github.com/cloudflare/doom-wasm cd doom-wasm git checkout 65e0d3ae2ffa604155eebd96ed40da6567bd08f4 git apply jevdoom.patch # Emscripten 3.1.61 ./scripts/build.sh # outputs src/websockets-doom.js and src/websockets-doom.wasm
Game data
doom1.wad is the unmodified shareware release of DOOM v1.9 (MD5 f0cefca49926d00903cf57551d901abe), which id Software distributed as freely copyable shareware. DOOM is a trademark of its respective owner. This site is not affiliated with id Software.