# Let's play Dave Gnukem!

**URL:** <https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917>\
**Category:** Games\
**Tags:** duke, nukem, dave, gnukem, platform\
**Created:** [November 2, 2018, 1:13am UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917 "2018-11-02T01:13:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oet](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/oet/32/5786_2.png) [@Oet](https://forum.clockworkpi.com/u/Oet)\
**Post date:** [November 2, 2018, 1:13am UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/1 "2018-11-02T01:13:02Z")

</div>

Although [Duke Nukem 1](https://3drealms.com/catalog/duke-nukem-1_24/) is playable on the GameShell using [DosBox](https://forum.clockworkpi.com/t/how-can-i-install-configure-and-run-dos-games/776), I could not find a GNU implementation of it to run natively on the GameShell.

Then I stumbled upon [Dave Gnukem](https://djoffe.com/gnukem/), an open source retro-style 2D scrolling platform shooter, inspired by and similar to Duke Nukem 1. The creator started this project back in 2001 and only recently finished it in 2018.

Dave Gnukem is actually quite suitable for the GameShell, so I decided to make yet another instruction topic!

> **[1.0gameshell · Tags · Joeri / Dave Gnukem](https://gitlab.com/Oet/dave_gnukem/tags/1.0gameshell)**
>
> GitLab.com

# Dave Gnukem v1.0 for GameShell

[DaveGnukem.zip](https://gitlab.com/Oet/dave_gnukem/uploads/81862fe6f741606c61a8233eae57f979/DaveGnukem.zip)

![](https://gitlab.com/Oet/dave_gnukem/uploads/d2dcac0f858ff25a638f72f8a6d39b92/gnukem.gif)

## Instructions

These instructions describe how to install Dave Gnukem on the GameShell.

1. Login with `ssh`.

2. Download DaveGnukem.zip:

```auto
wget https://gitlab.com/Oet/dave_gnukem/uploads/81862fe6f741606c61a8233eae57f979/DaveGnukem.zip

```

1. Extract DaveGnukem.zip:

```auto
unzip DaveGnukem.zip

```

1. Move the extracted **DaveGnukem/** directory to `/home/cpi/games/`:

```auto
mv DaveGnukem/ /home/cpi/games/

```

1. Go to that folder:

```auto
cd /home/cpi/games/DaveGnukem/

```

1. Get the **data** files from the creator like this:

```auto
git clone https://github.com/davidjoffe/gnukem_data.git data

```

1. Create a launch script:

```auto
echo 'cd /home/cpi/games/DaveGnukem/' > '/home/cpi/apps/launcher/Menu/GameShell/Dave Gnukem.sh'
echo './davegnukem -f' >> '/home/cpi/apps/launcher/Menu/GameShell/Dave Gnukem.sh'

```

1. Reboot and select the Dave Gnukem icon!

## Further notes

- Set your controls in-game: **REDEFINE KEYS** (I recommend UP for ACTION).
- To build from source you have to install the dependency `libsdl-mixer1.2-dev`.

---

<div class="post-metadata">

**Author:** ![Gerst](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/gerst/32/959_2.png) [@Gerst](https://forum.clockworkpi.com/u/Gerst)\
**Post date:** [November 2, 2018, 4:16pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/2 "2018-11-02T16:16:17Z")

</div>

Works really well, playing this as we speak! Thanks for the detailed instructions!

---

<div class="post-metadata">

**Author:** ![Tariq](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/tariq/32/2763_2.png) [@Tariq](https://forum.clockworkpi.com/u/Tariq)\
**Post date:** [June 29, 2019, 2:34pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/3 "2019-06-29T14:34:17Z")

</div>

I’m trying to install Dave Gnukem to my GameShell i followed the instructions but was only able to get the files on my computer and not the GameShell. Is there anything I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![Oet](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/oet/32/5786_2.png) [@Oet](https://forum.clockworkpi.com/u/Oet)\
**Post date:** [July 1, 2019, 6:56pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/4 "2019-07-01T18:56:30Z")

</div>

What do you see after you login with SSH on the GameShell?

---

<div class="post-metadata">

**Author:** ![Tariq](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/tariq/32/2763_2.png) [@Tariq](https://forum.clockworkpi.com/u/Tariq)\
**Post date:** [July 1, 2019, 6:58pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/5 "2019-07-01T18:58:11Z")

</div>

It always messes up on the last part of the installation saying no such file or directory

---

<div class="post-metadata">

**Author:** ![Oet](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/oet/32/5786_2.png) [@Oet](https://forum.clockworkpi.com/u/Oet)\
**Post date:** [July 1, 2019, 7:13pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/6 "2019-07-01T19:13:55Z")

</div>

The new 0.3 image needs a different approach. Try:

1. Create a launch script:

```auto
mkdir '/home/cpi/apps/Menu/Dave Gnukem' 
echo 'cd /home/cpi/games/DaveGnukem/' > '/home/cpi/apps/Menu/Dave Gnukem/Dave Gnukem.sh'
echo './davegnukem -f' >> '/home/cpi/apps/Menu/Dave Gnukem/Dave Gnukem.sh'

```

1. Reload UI and select the Dave Gnukem icon!

Let me know the result.

---

<div class="post-metadata">

**Author:** ![Tariq](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/tariq/32/2763_2.png) [@Tariq](https://forum.clockworkpi.com/u/Tariq)\
**Post date:** [July 1, 2019, 7:16pm UTC](https://forum.clockworkpi.com/t/lets-play-dave-gnukem/1917/7 "2019-07-01T19:16:40Z")

</div>

Cool thanks I’ll let you know the result
