Jump to content
  • Sign Up
×
×
  • Create New...

Doom ported to a standalone Microsoft Word document — plays well but there’s no sound


Recommended Posts

  • Diamond Member

This is the hidden content, please

Doom ported to a standalone
This is the hidden content, please
Word document — plays well but there’s no sound

UCgy5e62UwXUEeLbFFWq37.jpg

A software engineer has ported Doom to a standalone Word document. The single 6.6MB document file, available

This is the hidden content, please
contains a source port of doomgeneric. Users will need a modern version of
This is the hidden content, please
Office/Word on an x86 computer system, and eschew security warnings, to enable the VBA macro in the document to run.

Netherlands-based Wojciech Graj is the brains behind this project. On social media, Graj explains that he was inspired to port Doom to a Word document after seeing DoomPDF, which was in turn inspired by Pdftris. The video above shows that this version of Doom looks far more faithful to what a retro-gamer would expect than the PDF efforts. The graphics look similar to the original experience here, and it runs at a fair pace.

However, Word-based Doom is far from Graj’s first oddball Doom porting exercise. He also has

This is the hidden content, please
like Doom-ascii, Doom in Stardew Valley, and Doom in Minecraft.

Returning our attention to WordDoom, or DoomWord (Graj doesn’t seem to have a preference), the software engineer explains that this feat is achieved through the document containing the doomgeneric_docm.dll library and doom1.wad game data encoded in base 64. Upon opening the document, a VBA macro is set up to extract the b64 data and load it.

In the video, the game seems to run quite smoothly. However, in the background, “Every game tick, doomgeneric.dll creates a bmp image containing the current frame and uses GetAsyncKeyState to read the keyboard state,” notes Graj. Perhaps this is why the viewport is quite small (original 320 x 200 pixels?) — to keep the game responsive.

WordDoom gamers can use their arrow keys for movement, Control key for fire, Space key for use, and number keys 1-7 for weapon selection. Graj highlights that there is no sound in this game release.

We opened the downloaded doom.docm file to a spare computer, but the Word 2007 version installed on the machine must have been missing something, even though we accepted the security warning concerning macros.

Get Tom’s Hardware’s best news and in-depth reviews, straight to your inbox.

If this Doom port has tickled your interest, it might be worth a dig through Graj’s other Doom projects, linked above. The Tom’s Hardware archive is also full of stories of Doom being ported to weird and wonderful devices/platforms, including lawnmowers, a web Captcha system, and even keyboard keycaps.



This is the hidden content, please

#Doom #ported #standalone #

This is the hidden content, please
#Word #document #plays #sound

This is the hidden content, please

This is the hidden content, please

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Vote for the server

    To vote for this server you must login.

    Jim Carrey Flirting GIF

  • Recently Browsing   0 members

    • No registered users viewing this page.

Important Information

Privacy Notice: We utilize cookies to optimize your browsing experience and analyze website traffic. By consenting, you acknowledge and agree to our Cookie Policy, ensuring your privacy preferences are respected.