Wow: inside DOS Doom version 2, you can run another Doom (even arbitrary other code)
Posted by jpluimers on 2024/09/17
Repository:
- [Wayback/Archive] kgsws/doom-in-doom: Doom 2 code execution. With a Doom port.
- [Wayback/Archive] Releases · kgsws/doom-in-doom
A Video that way better explains how the hacks work to make this happen is at [Wayback] You can run Doom inside (DOS) Doom, for real. – YouTube
I have found a code execution exploit in the original DOS Doom 2 and ported a Chocolate Doom to it. And then Chocolate Heretic.
Attention: This does only work on the original DOS Doom2 version, no GZDoom or other source ports. This is a good thing as you don’t want code execution exploit on modern systems. People would abuse it to spread malicious code.
DOS version is available on Steam and you can use DosBox emulator to run it.
Copy
kgdid.wadto the directory where you have doom2.exe and then in DosBox start it with command “doom2 -file kgdid.wad“.(Copy other files too if you want to try them. Game injection has to be renamed to
doomsav4.dsg)
Related:
- [Archive] Doom 2 (MS-DOS) : Id Software : Free Download, Borrow, and Streaming : Internet Archive
- [Wayback/Archive] Chocolate Doom code
- [Wayback/Archive] Chocolate Doom documentation
–jeroen






Leave a comment