programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RmDebArc_5@sh.itjust.works to RetroGaming@lemmy.worldEnglish · 5 months ago

Playable DOOM Now Available in PDF Format

www.retronews.com

external-link
message-square
16
link
fedilink
  • cross-posted to:
  • [email protected]
115
external-link

Playable DOOM Now Available in PDF Format

www.retronews.com

RmDebArc_5@sh.itjust.works to RetroGaming@lemmy.worldEnglish · 5 months ago
message-square
16
link
fedilink
  • cross-posted to:
  • [email protected]
A developer known as Ading2210 has ingeniously created a playable version of Doom (1993) that runs inside a PDF file, aptly named DoomPDF. This project showcases the surprising versatility of the PDF format, which supports JavaScript for interactive features. The game can be played in any Chromium-based browser (such as Google Chrome) that supports PDF rendering engines like PDFium.To make this possible, Ading2210 used an older version of Emscripten to compile Doom's C code into asm.js, allowing it to run within the constrained JavaScript environment of a PDF file. Instead of rendering individual pixels as text fields—which would have required

cross-posted from: https://sh.itjust.works/post/31143411

  • aviationeast@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    5 months ago

    I don’t believe doom should be playable in any document, being able to, in my opinion, is a sign of software vulnerability.

    • MajorHavoc
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      5 months ago

      Oh yes. Adobe Reader has a reputatation for ongoing vulnerabilities. (Count: 1901 at time of comment)

      Part of it was Adobe’s shitty security culture for many years. They’ve done a good job search-washing this away, but many of us remember their previous CEO lashing out at security researchers - as if Adobe being a Cybersecurity laughing stock was some kind of conspiracy.

      Part of it is simply that becoming the final word in portable documents required a lot of shenanigans.

      For some context, and contrast:

      • Microsoft Word Vulns (368 at time of comment)
      • Emacs Vulns (26)
      • Firefox Vulns (over 3,000)

      Edit: In fairness, Adobe Reader is (whether it should be or not) also closer to Firefox in functionality, as well.

      • Hawke@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 months ago

        How about LaTeX vulnerabilities? :-D

        • MajorHavoc
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          5 months ago

          Lol. 26 known vulnerabilities in Latex

      • mindbleach@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        There’s a reason Flash needed updates every damn day.

        • MajorHavoc
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Lol. Yeah. I remember that era. Oof.

RetroGaming@lemmy.world

retrogaming@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Vintage gaming community.

Rules:

  1. Be kind.
  2. No spam or soliciting for money.
  3. No racism or other bigotry allowed.
  4. Obviously nothing illegal.

If you see these please report them.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 141 users / day
  • 825 users / week
  • 2.95K users / month
  • 9.26K users / 6 months
  • 270 local subscribers
  • 22.8K subscribers
  • 2.06K Posts
  • 18.8K Comments
  • Modlog
  • mods:
  • Xilly@lemmy.world
  • Tenthrow@lemmy.world
  • gts@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org