Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Can MS Paint Run Doom? Clipboard Trick Explained

· 7 min read · Home Tech

In this article
  1. Background: Why Doom Runs on Everything
  2. How the Clipboard Trick Actually Works
  3. What You Need to Try It Yourself
  4. Common Problems and Limitations
  5. Is It Actually Playable?
  6. Safety and Practicality
  7. Alternatives That Are Actually Usable
  8. Frequently Asked Questions

Yes, MS Paint can run Doom using the clipboard trick, but only in a very limited, proof-of-concept way: it displays a tiny, low-resolution version of the game that updates a frame at a time through the clipboard, not a playable, real-time port. The trick works by having a separate program (usually a Python script) capture Doom's output, shrink it to a very small size (like 32x32 pixels), copy it to the clipboard, and then paste it into Paint repeatedly, while Paint's own window is used as the display. It is not a practical way to play the game—it runs at a few frames per second at best—but it is a clever demonstration of how clipboard automation can turn a simple image editor into a crude screen.

Background: Why Doom Runs on Everything

The phrase "Can it run Doom?" is a long-running internet joke and a real engineering challenge. The original 1993 Doom was designed to run on modest 386-era PCs, and its engine is famously portable. Over the years, enthusiasts have ported it to calculators, smart refrigerators, ATMs, and even inside PDF files. The MS Paint trick is part of that tradition—not because Paint is a capable game engine, but because the challenge is to make something absurd work through sheer cleverness.

MS Paint is a simple raster graphics editor that has shipped with Windows for decades. It has no scripting interface, no plugin system, and no way to run code. The only way to "run" anything in Paint is to feed it images. The clipboard trick exploits that: if you can get a program to generate frames and paste them into Paint fast enough, Paint becomes a very slow, very low-resolution monitor.

How the Clipboard Trick Actually Works

The trick relies on three components working together:

  • A modified version of Doom (or another game) that can run headless—meaning it renders frames to memory instead of a screen.
  • A script (usually written in Python or C#) that captures each rendered frame, scales it down to a tiny resolution (like 32x32 or 64x64 pixels), and copies it to the Windows clipboard.
  • MS Paint, which is set to automatically paste the clipboard contents at regular intervals. This is done by sending keyboard shortcuts (Ctrl+V) to Paint using a separate automation script.

In practice, the script runs Doom, grabs the frame, resizes it, copies it to the clipboard, then sends a Ctrl+V to Paint. Paint pastes the image, the script waits a few milliseconds, and repeats. The result is a choppy, blocky, but recognizable version of Doom playing inside Paint's canvas.

The frame rate is extremely low—typically 1 to 5 frames per second—because clipboard operations are slow and Paint has to re-render the pasted image each time. The resolution is also tiny because copying a full 320x200 frame would be too slow; shrinking it to 32x32 or 64x64 makes the clipboard transfer faster.

What You Need to Try It Yourself

If you want to attempt this, you need:

  1. A Windows PC with MS Paint installed (any recent version works).
  2. A copy of Doom (the shareware version is freely available from id Software's website).
  3. A source port that supports headless rendering—Chocolate Doom or PrBoom+ are common choices, but you must configure them to run without a visible window.
  4. A scripting environment like Python with the pyautogui and PIL libraries, or a compiled program that automates clipboard and keystrokes.

There is no official, one-click tool that does this. You will find community-made scripts on GitHub and forums, but they are not officially supported and may require tweaking. The process is not for beginners—it involves installing Python packages, editing config files, and troubleshooting timing issues.

Common Problems and Limitations

The biggest issue is speed. Clipboard operations are not designed for real-time video. Each frame requires a clipboard write, a paste command, and a repaint in Paint. Even on a fast PC, the overhead is significant. You will also run into:

  • Clipboard conflicts: if you copy anything else while the script is running, it will break the frame feed.
  • Paint's auto-scroll: if the pasted image is larger than the visible canvas, Paint will scroll to show the top-left corner, which can hide parts of the game.
  • Window focus: Paint must be the active window for the Ctrl+V to work, so you cannot use your computer for anything else while the trick is running.
  • Resolution limits: at 32x32 pixels, Doom's text is unreadable and enemies are just blobs. You can increase it to 64x64, but the frame rate drops further.

If the script fails, the most common fixes are to close other clipboard-using apps, ensure Paint is in the foreground, and reduce the resolution to the lowest possible.

Is It Actually Playable?

No, not in any practical sense. At 2-3 frames per second, moving through a level is a slide-show. You can technically press keys to move and shoot, but the input lag is so high that you cannot react to enemies. The trick is a demonstration of what is possible with automation, not a way to play Doom. If you actually want to play Doom, you are far better off using a modern source port like GZDoom, which runs the game at full speed with high resolution and mouse look.

The MS Paint trick is often confused with running Doom inside Paint's interface, but it is not that. Paint is just a display; the actual game logic runs in the background. The same technique could display any video or other game—Doom is just the cultural icon that makes it go viral.

Safety and Practicality

This trick is safe to try as long as you download Doom from official sources and use well-known automation libraries from the Python Package Index or GitHub. Avoid random executables that claim to "run Doom in Paint"—they could contain malware. The script itself does not modify your system or Paint; it only sends keystrokes and clipboard data. However, because it takes over your keyboard and mouse, you should save any open work before running it.

There is no risk of damaging your computer, but it will be unusable for anything else while the script runs. If you want to stop it, you can usually kill the Python process from the task manager. Do not attempt this on a work or school computer if you do not have permission to install software.

Alternatives That Are Actually Usable

If you want the novelty of seeing Doom in an unexpected place, there are better options:

  • Doom in a PDF file: some projects embed a playable version in a PDF using JavaScript.
  • Doom in Minecraft: redstone computers can simulate the game, though extremely slowly.
  • Doom in a browser: many JavaScript ports run at full speed in any modern web browser.
  • Doom on a calculator: TI-84 and similar calculators have homebrew ports.

None of these are as absurd as Paint, but they are all more playable. The Paint trick is best appreciated as a video demonstration—watching a 32x32 pixel Doom crawl along at 2 FPS is amusing for about a minute, but it is not a game you would sit down to play.

Frequently Asked Questions

Can I run Doom in MS Paint without any external programs?

No. MS Paint has no scripting capability, so you need an external program to capture the game frames and paste them into Paint. The trick is not possible with Paint alone.

Does this work with Paint 3D?

Paint 3D is a different app that replaced the classic Paint on some Windows versions. The clipboard trick can work in Paint 3D too, but the automation is trickier because Paint 3D has a different interface and may not respond to Ctrl+V in the same way. Most demonstrations use the classic Paint app.

Will this damage my computer or MS Paint?

No. The script only sends keystrokes and copies to the clipboard. It does not modify Paint or any system files. The only risk is downloading a malicious script from an untrusted source, so stick to well-known repositories.

How fast can it actually run?

Most demonstrations achieve 1 to 5 frames per second at 32x32 resolution. At 64x64, the frame rate drops to about 1 FPS. The bottleneck is the clipboard and Paint's repaint time, not your CPU.

Is there a way to make it run faster?

You can try reducing the resolution further, closing other programs, and using a faster clipboard library like win32clipboard instead of pyperclip. But even with optimizations, you will not get above about 10 FPS because of Paint's inherent limitations.

Why do people do this if it is not playable?

It is a programming challenge and a joke. The point is to prove that even the most unlikely software can be made to display a game with enough clever automation. It also generates curiosity and teaches people about clipboard automation and inter-process communication.

In short, the MS Paint Doom trick is real but purely a novelty. It works by copying tiny frames into Paint via the clipboard, and while it technically "runs" Doom, it is neither smooth nor practical. If you want to experience Doom, use a normal source port. If you want to impress your friends with a bizarre tech demo, the clipboard trick is a fun project—just do not expect to get past the first level.