Skip to main content
Tech Radar Tech Radar TechRadar The source for Tech Buying Advice
Subscribe
RSS
(opens in new tab) (opens in new tab) (opens in new tab) (opens in new tab)
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
Technology Magazines
(opens in new tab)
Technology Magazines (opens in new tab)
Why subscribe?
  • The best tech tutorials and in-depth reviews
  • Try a single issue or save on a subscription
  • Issues delivered straight to your door or device
From$12.99
(opens in new tab)
View Deal (opens in new tab)
  • News
  • Best
  • Reviews
  • Opinion
  • How To
  • Deals
  • More
    • Versus
    • Appliances
    • Audiovisual
    • Cameras
    • Car Tech
    • Computing
    • Coupons
    • Downloads
    • Entertainment
    • Fitness
    • Laptops
    • Phones
    • Smart Home
    • Tablets
    • TVs
    • Wearables
    • About Us
Tech Radar Pro
Tech Radar Gaming
Trending
  • iPhone 15
  • ChatGPT
  • Wordle hints
  • Best phones
  • Best VPN
  • Best air-fryers

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

  1. Home
  2. How-to
  3. Computing

How to run Wolfenstein 3D, Doom and Duke Nukem on your Raspberry Pi

By Nate Drake
published 22 July 2017

First-person Pi

  • (opens in new tab)
  • (opens in new tab)
  • (opens in new tab)
  • (opens in new tab)
Run classic FPS games on the Raspberry Pi

Run classic FPS games on the Raspberry Pi

Anyone over 30 may remember playing classic 90s first-person shooters such as Wolfenstein 3D, Doom and Duke Nukem 3D. While a little formulaic, the games always kept you guessing and required super motor control as you navigated Nazi fortresses, hell-infested Martian bases and an alien-infested Earth respectively.

The Raspberry Pi has very humble specs compared to modern desktop computers, but is perfect for playing these classics given that it's over 10 times faster than the average machine in 1995, which had only 8MB of RAM and a 33Mhz processor.

Each of the games listed above was originally released as shareware, in that you could play the first 'episode' or 10 levels free of charge. This was done to drum up interest in the game. 

In this guide we'll explore how to download and install software 'engines' for these games, as well as how to play either the shareware or full versions. You won't need any in-depth knowledge of computers. 

Provided you have a Raspberry Pi and know how to copy and paste files and text, you'll be able to start playing in minutes.

Read on for more retro gaming nostalgia!

  • Want some more ideas for using the mini PC? Check out our collection of Raspberry Pi projects
Page 1 of 6
Page 1 of 6
1. Prepare your Raspberry Pi

1. Prepare your Raspberry Pi

In order to begin, you'll need to have your own Raspberry Pi, ideally the Raspberry Pi 3. You'll also need to connect your Raspberry Pi to an external keyboard and to a monitor using an HDMI cable. 

Next, open Terminal on your Raspberry Pi and install the necessary software by running the following command:

sudo apt-get install cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libbz2-dev libjpeg-dev libgtk2.0-dev python-imaging build-essential nasm libgl1-mesa-dev libglu1-mesa-dev libsdl2-dev libsdl2-mixer-dev flac libflac-dev libvorbis-dev libpng-dev libvpx-dev libgtk2.0-dev freepats

The installation process will take some time but once downloaded, these programs  will allow you to compile the game engines for Wolfenstein 3D, Doom and Duke Nukem on your Raspberry Pi. 

After the installation is complete, you may wish to download the game engines themselves. 

To download the Wolfenstein 3D game engine, 'Chocolate Wolfenstein' run:

git clone https://github.com/fabiensanglard/Chocolate-Wolfenstein-3D 

To download the Doom game engine, 'Chocolate Doom' run:

wget https://www.chocolate-doom.org/downloads/2.2.1/chocolate-doom-2.2.1.tar.gz && tar xzf chocolate-doom-2.2.1.tar.gz

To download the Duke Nukem game engine:

wget http://dukeworld.duke4.net/eduke32/synthesis/20170711-6359/eduke32_src_20170711-6359.tar.xz && tar xpvf eduke32_src_20170711-6359.tar.xz 
Page 2 of 6
Page 2 of 6
2. Download game data

2. Download game data

If you're interested in Wolfenstein 3D, you can download the free shareware version of the game data files, which contains only the first ten levels, by opening Terminal on your Raspberry Pi and running the command:

wget http://maniacsvault.net/ecwolf/files/shareware/wolf3d14.zip && unzip -X wolf3d14.zip

If you want the full game and have a Windows machine, consider buying the Steam version of Wolfenstein 3D (opens in new tab). Once you've installed the game you can find the necessary data files (with the extension .WL6) in C:\Program Files (x86)\Steam\steamapps\common\Wolfenstein 3D\base. Copy these to your Raspberry Pi.

If you want to play Doom, you can download the free shareware version which contains only the first episode of ten levels by running:

wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_WAD.zip && unzip shareware_doom_WAD.zip

Alternatively if you have access to a Windows computer you can buy Ultimate Doom on Steam (opens in new tab). You can find the game data files (with the extension .WAD) in C:\Program Files (x86)\Steam\SteamApps\common\Ultimate Doom\base

For Duke Nukem fans the setup is a little more complicated. If you have access to a Windows machine you can download and install the free shareware version (opens in new tab) of the game, which contains the first episode of the game.

Alternatively you can buy a copy of the game very inexpensively on Steam (opens in new tab). Data files are stored in C:\Program Files (x86)\Steam\steamapps\common\Duke Nukem 3D\gameroot\classic. Copy the files named DUKE3D.GRP and DUKE.RTS to a USB stick, then onto your Raspberry Pi.

Page 3 of 6
Page 3 of 6
3. Play Wolfenstein 3D

3. Play Wolfenstein 3D

Open Terminal on your Raspberry Pi and change to the directory where you downloaded the data files by running:

cd wolf3d14

Next, run:

for i in $(find . -type f -name "*[A-Z]*"); do mv "$i" "$(echo $i | tr A-Z a-z)"; done

This makes sure Chocolate Wolfenstein can read the files. Now move the data files to the game directory with:

mv *.wl1 /home/pi/Chocolate-Wolfenstein-3D

If you're using the full version of the game change .wl1 to .wl6.

Switch to the game directory by running:

cd /home/pi/Chocolate-Wolfenstein-3D

Then compile the code with:

sudo make

Once the program has compiled, the shareware version of Wolfenstein 3D will now ready to play and you can launch it any time by entering:

./Chocolate-Wolfenstein-3D

Add the option:

--res 640 480

or similar to adjust the screen resolution. See the Chocolate Wolfenstein page (opens in new tab) for a full list of command line parameters.

Page 4 of 6
Page 4 of 6
4. Play Doom

4. Play Doom

Open the Terminal on your Raspberry Pi and switch to the newly created Doom directory:

/home/pi/cd chocolate-doom-2.2.1

Next, run:

./configure

This will prepare the necessary files. Now run :

make

This will begin compiling them. This can take some time so feel free to take a break. Once this completed run:

sudo make install

The WAD data file e.g. DOOM1.WAD you downloaded or copied from your Windows machine earlier must be in the 'chocolate-doom' directory. Use your mouse to move it there.

Use the command:

chocolate-doom-setup -WAD DOOM1.wad

This will launch the setup wizard. You can use this to configure, the display, sound, keyboard layout, mouse and even a gamepad if you have one.

To launch Doom run:

chocolate-doom -WAD DOOM1.WAD

Doom will automatically launch in full-screen mode, which can place a strain on the Raspberry Pi, so consider opening it in a window with this command:

chocolate-doom -WAD DOOM1.WAD -window 640x480

If you have a different WAD file substitute DOOM1.WAD for the file of your choice.

Page 5 of 6
Page 5 of 6
5. Play Duke Nukem 3D

5. Play Duke Nukem 3D

Open the Terminal on your Raspberry Pi and switch to the eduke32 directory by running:

cd eduke32_20170711-6359

Locate the data files from either the shareware or full version of Duke Nukem 3D named DUKE3D.GRP and DUKE.RTS and copy them to this directory as well using your mouse. 

Next, re-open Terminal and run:

./eduke32

Click the 'Configuration' tab to adjust values such as the screen resolution. (640 x 800 is ideal for the Raspberry Pi). 

Click the 'Game' tab to verify you have the right version of Duke Nukem installed e.g. Atomic Edition. Click the 'Start' button at the bottom right to begin playing the game. 

Duke Nukem 3D supports a number of official and unofficial add ons which can be installed by follow the Official Guide on the eduke32 wiki (opens in new tab). 

The fan-made add on Nuclear Showdown (opens in new tab) adds support for widescreen, many new Duke quotes and new weapons. 

To get started, download the ZIP file e.g. Nuclear_Showdown_V2.1.zip using the link above and extract the contents to the eduke32 directory.

Return to Terminal on your Raspberry Pi and switch to the eduke32 directory by running:

cd eduke32_20170711-6359

Next run the below command to play Nuclear Showdown:

./eduke32 /ICDGAME.CON /GDukedc.grp /showdown.grp -ns.def

You can now play these classic FPS games on your Raspberry Pi!

  • How to turn a Raspberry Pi into a retro games console
Page 6 of 6
Page 6 of 6
  • (opens in new tab)
  • (opens in new tab)
  • (opens in new tab)
  • (opens in new tab)
Nate Drake
Social Links Navigation

Nate Drake is a tech journalist specializing in cybersecurity and retro tech. He broke out from his cubicle at Apple 6 years ago and now spends his days sipping Earl Grey tea & writing elegant copy.

See more Gaming how-to
More about computing
The White House

The White House is sending millions to countries hit by major cyberattacks

a portable black desktop PC against a dark blue background

This small but mighty gaming PC drops to a record-low of just $399 at Amazon

Latest
Marvel's Wolverine trailer screenshot showing Wolverine's claws coming out of his hand

Marvel's Wolverine: everything we know about the PS5 exclusive so far

See more latest ►
Most Popular
How to install an M.2 SSD in your PS5

By Aleksha McLoughlinMarch 29, 2023

Got an Oculus Quest 2? Here's why you need to get a Google Chromecast too

By Hamish HectorMarch 29, 2023

Scotland vs Spain live stream: how to watch Euro 2024 qualifier online and on TV from anywhere, team news

By Kevin LynchMarch 28, 2023

How to opt out of BeenVerified

By Bryan M WolfeMarch 28, 2023

How to download Google Maps for offline use on mobile

By Hamish HectorMarch 27, 2023

How to measure distance on Google Maps on any device

By Hamish HectorMarch 27, 2023

How to remove yourself from the internet

By Bryan M WolfeMarch 27, 2023

How to create a YouTube channel

By Kenneth C. NzeoguMarch 27, 2023

How to watch Succession season 4 online: stream every episode of the HBO drama's final season

By Aatif SulleymanMarch 26, 2023

How to watch Great Expectations: live stream the 2023 Dickens adaptation for free online

By Aatif SulleymanMarch 26, 2023

How to watch Rabbit Hole online – stream the new spy thriller starring Kiefer Sutherland free online

By Aatif SulleymanMarch 26, 2023

  1. Woman using a laptop in a coffeeshop
    1
    Leaked screenshot could be an early glimpse of the Windows 12 desktop
  2. 2
    The Xbox Series X receives visual update, but not the one we've been waiting for
  3. 3
    Apple TV 4K gets promised Quick Media Switching feature to eliminate 'HDMI bonk'
  4. 4
    The best QLED TVs are catching up to OLED TVs
  5. 5
    Microsoft’s mission to make Windows 11 worse continues with ads in the Start menu
  1. Apple TV 4K 2022 and Siri remote on white background
    1
    Apple TV 4K gets promised Quick Media Switching feature to eliminate 'HDMI bonk'
  2. 2
    Windows 12’s RAM demands could spell doom for older PCs
  3. 3
    Microsoft’s mission to make Windows 11 worse continues with ads in the Start menu
  4. 4
    ChatGPT has passed the Turing test and if you're freaked out, you're not alone
  5. 5
    OPPO Find N2 Flip is here to disrupt the Indian foldable smartphone market

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site (opens in new tab).

  • About Us (opens in new tab)
  • Contact Future's experts (opens in new tab)
  • Contact Us (opens in new tab)
  • Terms and conditions (opens in new tab)
  • Privacy policy (opens in new tab)
  • Cookies policy (opens in new tab)
  • Advertise with us (opens in new tab)
  • Web notifications (opens in new tab)
  • Accessibility Statement
  • Careers (opens in new tab)

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.