Finally succeeded in playing DOOM in DOOM
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: