Join us on our own very special Reddit on /r/Linuxers.

It's possible to run Doom inside of Doom

By - | Views: 20,659

We've all seen how Doom has become one of the ways people test electronics, the whole "I got Doom to run on x" but this is something else. Running Doom inside of Doom, Doomception here we come.

YouTuber kgsws managed to find a code execution exploit in the original DOS version of Doom 2. As they noted it's a good thing it only works with the DOS version "as you don't want code execution exploit on modern systems" since it would open up some unfortunate issues. Here though, it means you can run Doom inside of Doom and even Heretic too.

Completely ridiculous of course but it's a very interesting, although very technical video. A fun point is that they're doing all this on Linux too. Not only that, they built a little cinema for it in Doom and you can even control the full game inside. This honestly blows my mind a little.

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

The modder has put the source code up on GitHub for anyone interested in trying it.

For a bit of extra fun, I decided to see how easy it would be getting it running on a Steam Deck and it turns out it was amazingly simple. Just a case of downloading the release zip file, extracting it and putting the contents into the same folder as the DOOM2.exe file. Then you can just edit the "doom2.conf" and "doom2m.conf" files to add "-file kgdid.wad" to the end of the line where doom2.exe is listed and then it will run with the Steam release.

Here's just a quick take on Steam Deck:

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link
Article taken from GamingOnLinux.com.
Tags: FPS, Mod, Video
25 Likes
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
8 comments

Yo Dawg! I heard you like Doom so I put Doom in Doom so you can Doom while you Doom
What about Doom inside the inner Doom, that's running inside doom? Doom-On-Doom-On-Doom?
Tuxee 13 Jul
Quoting: BlackBloodRumWhat about Doom inside the inner Doom, that's running inside doom? Doom-On-Doom-On-Doom?

This will inevitably create a singularity in the space-time continuum. And what that means has already been shown in a game named "Doom"...
fabertawe 13 Jul
Truly impressive. You've got to love the ingenuity of some people
Liam Dawe 13 Jul
Deck video is up now because I couldn't resist, article updated.
Jarmer 13 Jul
I just love the neverending support and community this game/franchise has! I think if you would have told me in 1990 (or whenever it released) as I was loading the floppy disks onto my 386 that 30+ years later there would be still be a vibrant and interesting community releasing fun content, I would have said you were crazy. Now look where we are! Love it!
jens 13 Jul
  • Supporter
Quoting: JarmerI just love the neverending support and community this game/franchise has! I think if you would have told me in 1990 (or whenever it released) as I was loading the floppy disks onto my 386 that 30+ years later there would be still be a vibrant and interesting community releasing fun content, I would have said you were crazy. Now look where we are! Love it!

Yeah, I also remember putting this on a computer while being a temp during high school. Just the thought at that time that it would run someday perfectly on washing machines or watches would have been utterly ridiculous :)


Last edited by jens on 14 July 2022 at 5:17 pm UTC
axredneck 23 Jul
Can Doom run Linux?
Can Bad Apple run Doom?
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.