もっと詳しく

A hacker managed to find a flaw in the code of Doom II and to execute arbitrary code in it. It was enough for him to decide to run Doom in Doom.

It’s long been a challenge dear to nerds: running the venerable game Doom on every platform imaginable. But we can say that this time, we did the trick. Because a programmer has managed to achieve the ultimate hack, the holy grail for this small community with a strange hobby: running Doom… in Doom.

This small technical exploit, we owe it to a programmer who responds to the pseudonym “kgsws”. In a long and very technical Youtube video, he explains how he managed to run the old FPS in a map for Doom II which he created for the occasion.

And it was no small feat! After carefully analyzing the game code, he discovered an exploit allowing the execution of arbitrary code. He therefore managed to load a second version of Doom through this flaw. He then designed a map that displays the game through an animated texture.

Rather impressive, especially since it didn’t stop there. Since kgsws was able to run code in Doomhe also integrated several other games into the game: a minimalist version of the famous snake, a clone ofasteroid and even Heretic, another famous FPS of the early 1990s, which took over the engine of Doom.

The curious can download all this on the developer’s GitHub pagewho still wants to remember that the hack only works on the original version of Doom II, because the code has since evolved. And we must of course not forget that this rather special version requires twice as much RAM, given that two copies are running at the same time. However, this shouldn’t be a big problem for a modern PC, since kgsws estimates the memory footprint at 16 MB…

doom, an open source game since 1997

Let’s be precise: this is not quite the first time that Doom is playable in Doom. You can also enjoy it in the more modern property Doom Eternal (2020), if one enters a secret code on a computer in the Fortress of Destruction. But difficult to compare this pretty easter eggs to the reverse engineered performance of kgsws!

For years, the port of Doom has fascinated hackers, who have managed to run it on ever more improbable platforms. It must be said that the title combines the advantages for this, beyond its status as a cult game: it was written in C, a very widespread language and with an easy-to-port code… Above all, John Carmack -the creator of the game- returned his code open-source in 1997which allowed hackers to appropriate it.

Since then, Doom has been seen running on scientific calculators, the Apple Watch, drone remotes, the new Game&Watch and even Minecraft. Beyond the fun challenge, it’s also a real symbol. Car launch Doom proves that you have total control of your IT tool. Which is good to defend, at a time when hardware manufacturers are increasingly locking down their devices.

Source :

Youtube

[related_posts_by_tax taxonomies=”post_tag”]

The post The circle is complete: we managed to run Doom… in Doom appeared first on Gamingsym.