Developer Makes Doom Run Inside a PDF File (theregister.com) 22
Programmers have found ways to run the 1993 first-person shooter Doom on an array of unexpected platforms, and now a PDF file joins that list.
Developer ading2210's DoomPDF project shows the game operating within a document format primarily designed for static content display. The creator says he drew inspiration from pdftris, another PDF-based game port by Thomas Rinsma.
Developer ading2210's DoomPDF project shows the game operating within a document format primarily designed for static content display. The creator says he drew inspiration from pdftris, another PDF-based game port by Thomas Rinsma.
so while were at it..... (Score:1)
Two thoughts (Score:5, Informative)
1) Awesome job!
2) It's not surprising in the least, but the fact that this is even possible makes a good demonstration regarding all that's wrong with modern document formats.
Re: (Score:3)
Re: (Score:2)
It's disappointing to me. PDF should have been a read-only format. It would have been utterly awesome at that. But by making it a read/write format, with scripting, etc, it ruined it. Even with an interpreted language inside (evolution of Postscript) there was no need to add stuff that could read or write files or things like that). Or at the very least, those extra features could have been flagged specificallly in the file header, so that users could disallow for extra protection, a warning could pop u
But only if (Score:3)
you open it on Chrom*.
So, not really a PDF, right?
Re: (Score:2)
you open it on Chrom*.
Indeed, can't have it get away from the Privacy Rapists and being used on anything else.
It does make me wonder what Chrom* flaw this exposes.
Video in PDFs (Score:3)
Re: (Score:3)
But we already have a gazillion container formats, from general-purpose ones like zip, tar, and gz, to special-purpose ones like mp3 and mp4.
The great thing about PDFs is that you are (very nearly) guaranteed that a document will appear to the reader exactly as it appeared to the writer.
Re: (Score:3)
I did not verify that the generated Postscript is 100% correct, but it looks like it is on the right track. I did not tell it to exclude Flash on my first query and so Perplexity gave an answer that
Now make a ASCII shell script run Doom (Score:3)
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
I did not have this on my 2025 bingo list (Score:4, Interesting)
Meantime why is PDF editing like legit hard? There is no decent (and I mean like really good) open source programmatic PDF editor. Sucks.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Um? (Score:1)
Does this mean that PDFs are capable of more complicated remote code executable attacks?
Postcript is a Turing-Complete language (Score:2)
Expect then DOOM running in Postcript in 3... 2... 1...
Re: (Score:2)
That should be relatively easy, and performant – Ghostscript (the most popular open source Postscript interpreter) is Real Darned Fast and can hook up to a X console for live display.
Re: (Score:2)
PDF is also supposedly a subset of PostScript. I've heard PDF has some layout features and such, but the programming language itself (supposedly Turing complete) should be compatible.
Not impressive enough (Score:2)
I want to see Doom running on a Voyager probe.
Presumably slowly, to account for the lag.