Foreign YouTuber exploits “Doom II” vulnerability to run “Doom” in “Doom” – Programmer Sought

It seems that no one can stop foreign players’ love for “Doom”.lego blocksdial phoneGAME & WATCH Super Mario Bros.Potato, etc. Recently, another foreign YouTube found that “Doom II” has a loophole, which can be used to run the “Doom” game in “Doom”, which means that you can play “Doom” in the “Doom” game. Destroyer” (enough rap), he also shared the relevant code on GitHub, and interested friends can try it.

Foreign YouTuber Uses Doom II Vulnerability to Run Doom in Doom

A few days ago, the foreign YouTube channel kgsws uploaded a “You can run Doom inside (DOS) Doom, for real.” video. According to the description, he said that he found a code loophole in the original DOS “Doom II” game version. , which allows Chocolate Doom to execute internally, the DOS version available on Steam, and then run using the DosBox emulator.

In the video, he details the process of modifying the code and how to make Chocolate Doom run internally:

Like this, the wall ahead is where Doom is played, and the image below is not fully revised:

Then he made some adjustments and successfully executed another Doom II in it:

It can indeed be played, but it is not so easy to control at present. The “Doom II” inside moves with the “Doom II” outside. For example, after the gun is fired outside, the inside will be opened after a beat:

Then he made some modifications, so that the “Doom II” outside would be like watching a movie, standing still, and the manipulation would only affect the “Doom II” inside:

In the next few days, he also made the “Doom II” outside like a movie theater:

For friends who are interested in trying it out, he has shared the relevant code files in GitHub website, after running it with the DosBox emulator. Copy kgdid.wad to the directory where doom2.exe is located, then use the command “doom2 -file kgdid.wad” in DosBox to start it. As a reminder, you must have the DOS version of Doom II to try it out.

In addition to Doom II, kgsws has also successfully loaded other games into Doom II, such as Heretic.

Full video:

What makes people curious is that I don’t know whether it is really because foreign players particularly like the “Doom” series, or because it has a lot of developmental potential. Every time I see a strange transplant, I use the “Doom” game.

For friends who have the first generation of “Doom”, someone has added Ray Tracing to this old game before, the picture quality has been greatly improved, and the file has also been shared on the GitHub website. Those who want to know more canclick me to read

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.