Doom hacker gets Doom running in Doom

YouTube YouTube
Watch On

Getting Doom to run on things that were never meant to run Doom is something of a cottage industry among a die-hard subset of PC hackers and coders. Your motherboard's BIOS, a bunch of old potatoes, a Lego brick, a home pregnancy test: The list goes on and on. But YouTuber and Doomworld community member kgsws has set a new standard for, well, something with this brilliant bit of techno-recursion: Doom running in Doom.

The full explanation for how it works gets technical (and, frankly, a bit dull, unless hacking is your hobby) but what it comes down to is an exploit that enables code execution within the game itself. That's why this bit of trickery only works with the original DOS-based Doom 2, and not any of the more modern ports like GZDoom, which lack the exploit. (That's not convenient for this project but it's a good thing overall, kgsws noted: "People would abuse it to spread malicious code.")

The video is basically a mini-documentary of kgsws' process, but if you want to get straight to the good stuff it starts at around 8:10, when he gets the Chocolate Doom source port imported into the exploit. It's a little wonky at first but within a minute or so, it's working. From there, kgsws builds the whole thing into a Doom movie theater, complete with interactive lobby screens explaining what the mod is and how to interact with it in various ways. You can even jump in and out of the game on the screen seamlessly, from viewer to player and back, leading to potentially paradoxical questions about which game is the real game—and which "you" is the real you.

"Confusing, isn't it?" kgsws asked.

And that's not all. Kgsws also gets Heretic running in Doom, presumably just to prove that he can.

It's not just a video. You can go hands-on with kgsws' Doom-in-Doom creation using the DOS-based release of Doom 2 (kgsws said the version on Steam works with the DOSBox emulator, and I would assume the GOG version, which is pre-configured with DOSBox, will also be fine) and the did-v1.zip file from Github. Copy the kgdid.wad file into the directory containing doom2.exe, then fire it up in DOSBox with "doom2 -file kgdid.wad," minus the quotation marks. Other options, detailed in the video, are also available if you want to dive deeper.

Speaking of which—I wonder how long it will be before someone gets Doom running in Doom... in Doom? The mind boggles.

Thanks, PCGamesN.

Andy Chalk
US News Lead

Andy has been gaming on PCs from the very beginning, starting as a youngster with text adventures and primitive action games on a cassette-based TRS80. From there he graduated to the glory days of Sierra Online adventures and Microprose sims, ran a local BBS, learned how to build PCs, and developed a longstanding love of RPGs, immersive sims, and shooters. He began writing videogame news in 2007 for The Escapist and somehow managed to avoid getting fired until 2014, when he joined the storied ranks of PC Gamer. He covers all aspects of the industry, from new game announcements and patch notes to legal disputes, Twitch beefs, esports, and Henry Cavill. Lots of Henry Cavill.

Read more
Doom running in a PDF file
Galaxy-brained high schooler ports Doom to a PDF file, paving the way for a bloody revolution in invoicing
A screenshot from a YouTube video of Doom running on an Apple Lightning to HDMI adapter, with a monitor showing an imp on screen.
Doom on a dongle: Turns out the Apple Lightning to HDMI adapter has more than enough grunt to blast imps with aplomb
LinuxPDF, linux running in a PDF document
Here's Linux running inside a PDF, running inside a browser, running on a Windows PC
Various creations in Minecraft, including computers and calculators.
This Minecraft creation blots out the sun for the villagers below, they surely praise it as God, but we know it really to be a functioning 32-bit computer with 2 kB of RAM
Official Doom Guy art superimposed over Vault 666 Fallout-themed background.
Fallout-themed Doom mod Vault 666 has multiple endings, an OP Dogmeat companion, and a Ron Perlman-impersonating narrator so good, I was worried it was AI-generated at first
The cover of the video game Doom
Nightdive's remaster of Doom + Doom 2 gets multiplayer mod support, spectator mode for co-op play, and stops you from losing your mind searching for red doors
Latest in FPS
Destiny 2 Rite of the Nine: The Emissary, massive, ominously standing at the edge of a water basin.
Oops! Bungie rolled out Destiny 2's Rite of the Nine event three weeks early, and new loot is already dropping
A soldier looks out over the Verdansk map, as a single tear rolls down his cheek.
The original Verdansk map is returning to Call of Duty: Warzone, to celebrate which we get a soldier crying to Nat King Cole
FragPunk codes - A close-up shot of a mercenary wearing a mask with glowing eyes.
All FragPunk codes and how to redeem them
An evil-looking demon with red eyes and horns
You can theoretically beat Doom: The Dark Ages without using a gun, but 'You'd have a hard time, that's for sure,' says the game's director
Official Doom Guy art superimposed over Vault 666 Fallout-themed background.
Fallout-themed Doom mod Vault 666 has multiple endings, an OP Dogmeat companion, and a Ron Perlman-impersonating narrator so good, I was worried it was AI-generated at first
The Doomslayer in armor
Doom: The Dark Ages won't end with the Slayer in a coffin waiting for the start of Doom 2016: 'That would mean that we couldn't tell any more medieval stories'
Latest in News
The UHPILCL water cooled gaming laptop
This water-cooled gaming laptop packs a full-size desktop RTX 5090 and even fits in a backpack, but I sure wouldn't want it in mine
The TikTok app with Donald Trump ranting behind it.
Trump says the United States is already talking to potential TikTok buyers: 'We're dealing with four different groups, and a lot of people want it ... all four are good'
Corsair launches Custom Labs in Europe
Corsair's Custom Labs is now available in Europe, allowing you to make your gear as cute or ugly as you want and no-one will stop you
Still from a CNET video highlighting the Samsung concept device from MWC 2025
Samsung's handheld prototype delivers folding phone screens to Switch-like gaming hardware, and I am absolutely here for it
A masked man with an axe in the woods
Rebellion CEO seems kind of awed by major studios making massive videogames: 'How do you organize a game that has 2,000 people working on it?'
A young witch watering a smiling mushroom in a magic garden
Here's a roguelite dungeon crawler Steam reviewers call 'a botanical Diablo' and 'like Cult of the Lamb' except you manage a mystical garden