Finally succeeded in playing DOOM in DOOM

DOOM II: Hell on Earth , a first-person shooter (FPS) game released as software for MS-DOS in 1994, uses the same game engine as the first DOOM , but with complex and diverse maps and A large number of enemies and weapons were added, and the first edition of 600,000 copies was a huge hit, selling out in just one month. Since DOOM has very few environment-dependent parts in the source code, it is known for being ported to various platforms by volunteers, from Linux to Porsche 911 and even Twitter , but reverse engineer kgsws has finally announced that it has successfully ported DOOM II within DOOM II.
Well, yet another platform you can run Doom on. I have ported Doom to ... Doom ... yeah, DOS Doom2.
— kgsws (@_kgsws_) July 10, 2022
Explanation: https://t.co/6sayWWRyLh
It's a code execution from wad file in DOS Doom2. #Doom #Doom2 #DOS #hack pic.twitter.com/Wl5s7ac2Ou
You can see how DOOM II is actually started on DOOM II in the following movie.
You can run Doom inside (DOS) Doom, for real.-YouTube
This 'Launch DOOM II on DOOM II' is possible due to a bug in the calling function. The following call function calls a graphic associated with a predetermined unique ID from the map file in DOOM II, but it seems that special processing is performed for specific IDs, so arbitrary code can be executed here It is said that there is vulnerability.
Therefore, kgsws tried to execute code using this vulnerability and start DOOM II within DOOM II.

First, start DOOM II.

Next, start DOOM II on the started DOOM II.

In order to play DOOM II on DOOM II, kgsws created a map. The screen of DOOM II is displayed on the specified wall of the created map.
Not only is the image flowing, but pressing the F12 key will switch to the operation of DOOM II started within DOOM II.

In addition, kgsws is creating more complex maps to play DOOM II comfortably on DOOM II.

A room where you can set the startup program for DOOM II

Heading to a theater-style room ......

DOOM II is displayed. 'DOOM-IN-DOOM BY KGSWS' is displayed at the top of the screen.


You can also maximize the gameplay display, so you can switch the screen to DOOM II while playing DOOM II.

There is also a room surrounded by DOOM II play screens on all sides.

You can also run other games as long as they use the same game engine as DOOM. Below is '

Also,


The tool 'DOOM-in-DOOM' for playing DOOM on DOOM is published on GitHub by Mr. kgsws.
GitHub - kgsws/doom-in-doom: Doom 2 code execution.
https://github.com/kgsws/doom-in-doom
Related Posts:
in Software, Video, Game, Free Member, Posted by log1i_yk