Nice PDF, But Can It Run DOOM? Yup! (hackaday.com)
from caos@feddit.org to gaming@beehaw.org on 15 Jan 20:38
https://feddit.org/post/6866161

“DOOM is a classic game to implement on a variety of platforms, but doompdf by [ading2210] is one we didn’t see coming. It runs a bit slow and controls are a little awkward but it does run. Entirely within a PDF file, at that.”

#gaming

threaded - newest

muhyb@programming.dev on 15 Jan 21:16 next collapse

So, soon we’ll see Bad Apple in PDF too. If it isn’t already out there.

NakariLexfortaine@lemm.ee on 15 Jan 21:55 collapse

Apparently it’s 6,500 files.

Also not the only one.

muhyb@programming.dev on 15 Jan 22:08 collapse

Heh, that’s one way to do it I guess. It would be more impressive with this doompdf format though, especially with ASCII.

Midnitte@beehaw.org on 16 Jan 01:39 next collapse

There’s also tetris. Wonder how they achieve randomness…

Malix@sopuli.xyz on 16 Jan 10:51 collapse

As cool as this is, to me this just screams security issues. If scripting in PDF can run doom, it can be (and is) used for nefarious purposes. Wasn’t eg. LTT’s channel compromized because of a PDF with some nasty stuff in it?

Anivia@feddit.org on 16 Jan 11:52 collapse

Just because you can render a game using scripting doesn’t mean your script can escape the PDF reader.

You can build a fully working Turing machine inside PowerPoint, but without an exploit you are still not going to run code outside the PowerPoint environment