People on this forum have shown how to run games like Doom and Quake natively on the GameShell with a good performance!
This is such a method to play Wolfenstein-3D and Spear of Destiny!
Steps for the Game Engine (Wolf4SDL)
First, the tricky part. We are going to install the game engine called ‘wolf4sdl’. However, it has nonfree dependencies. Therefore:
- Append ‘contrib’ to your main repository in /etc/apt/sources.list:
sudo sed -i -- '/^deb .*stretch main$/ s/$/ contrib/' /etc/apt/sources.list
The /etc/apt/sources.list should now look like this (assuming you have not set the repo to your own country):
# deb http://debian-mirror.sakura.ne.jp/debian/ stretch main
deb http://debian-mirror.sakura.ne.jp/debian/ stretch main contrib
deb-src http://debian-mirror.sakura.ne.jp/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://debian-mirror.sakura.ne.jp/debian/ stretch-updates main
deb-src http://debian-mirror.sakura.ne.jp/debian/ stretch-updates main
- Install the game engine:
sudo apt update && sudo apt -y install wolf4sdl
- Check if the installation succeeded:
cpi@clockworkpi:~$ ls -l /usr/games/wolf*
-rwxr-xr-x 1 root root 1636 Mar 4 2017 /usr/games/wolf4sdl
-rwxr-xr-x 1 root root 240180 Mar 4 2017 /usr/games/wolf4sdl-sdm
-rwxr-xr-x 1 root root 244460 Mar 4 2017 /usr/games/wolf4sdl-sod
-rwxr-xr-x 1 root root 250216 Mar 4 2017 /usr/games/wolf4sdl-wl1
-rwxr-xr-x 1 root root 250484 Mar 4 2017 /usr/games/wolf4sdl-wl6
-rwxr-xr-x 1 root root 250528 Mar 4 2017 /usr/games/wolf4sdl-wl6a
-rwxr-xr-x 1 root root 250528 Mar 4 2017 /usr/games/wolf4sdl-wl6a1
Steps for Wolfenstein-3D
Let’s assume you bought the full version of Wolfenstein-3D.
- Create a new directory for Wolfenstein-3D:
mkdir ~/games/Wolf3D
-
Copy your .WL6 files to this new directory.
-
Make the files completely lowercase:
cd ~/games/Wolf3D && rename 'y/A-Z/a-z/' *
The contents should now look like this:
cpi@clockworkpi:~/games/Wolf3D$ ls -l
total 2268
-rwxr-xr-x 1 cpi cpi 1156 Aug 18 14:22 audiohed.wl6
-rwxr-xr-x 1 cpi cpi 320209 Aug 18 14:22 audiot.wl6
-rwxr-xr-x 1 cpi cpi 522 Aug 18 14:22 config.wl6
-rwxr-xr-x 1 cpi cpi 150652 Aug 18 14:22 gamemaps.wl6
-rwxr-xr-x 1 cpi cpi 402 Aug 18 14:22 maphead.wl6
-rwxr-xr-x 1 cpi cpi 1024 Aug 18 14:22 vgadict.wl6
-rwxr-xr-x 1 cpi cpi 275774 Aug 18 14:22 vgagraph.wl6
-rwxr-xr-x 1 cpi cpi 450 Aug 18 14:22 vgahead.wl6
-rwxr-xr-x 1 cpi cpi 1544376 Aug 18 14:22 vswap.wl6
- Create a new launch script ‘Wolfenstein 3D.sh’:
cd ~/apps/launcher/Menu/GameShell/
echo "sudo ln -s ~/games/Wolf3D /usr/share/games/wolf3d" > 'Wolfenstein 3D.sh'
echo "wolf4sdl --res 320 240" >> 'Wolfenstein 3D.sh'
echo "sudo unlink /usr/share/games/wolf3d" >> 'Wolfenstein 3D.sh'
This “dynamic linking” script is because I prefer Spear of Destiny in a separate folder later on!
- [OPTIONAL] Grab a fancy icon:
cd ~/apps/launcher/skin/default/Menu/GameShell/
wget http://icons.iconarchive.com/icons/3xhumed/mega-games-pack-28/128/Wolfenstein-3d-2-icon.png
mv Wolfenstein-3d-2-icon.png 'Wolfenstein 3D.png'
- Reboot (or continue)!
Steps for Spear of Destiny
Again, let’s assume you bought the full version of Spear of Destiny.
- Create a new directory for Spear of Destiny:
mkdir ~/games/Spear
-
Copy your .SOD, .SD1, .SD2, and .SD3 files to this new directory.
-
Make the files completely lowercase:
cd ~/games/Spear && rename 'y/A-Z/a-z/' *
The contents should now look like this:
cpi@clockworkpi:~/games/Spear$ ls -l
total 8876
-rwxr-xr-x 1 cpi cpi 1072 Aug 18 16:34 audiohed.sod
-rwxr-xr-x 1 cpi cpi 328620 Aug 18 16:34 audiot.sod
-rwxr-xr-x 1 cpi cpi 522 Aug 18 16:34 config.sod
-rwxr-xr-x 1 cpi cpi 68290 Aug 18 16:34 gamemaps.sd1
-rwxr-xr-x 1 cpi cpi 135024 Aug 18 16:34 gamemaps.sd2
-rwxr-xr-x 1 cpi cpi 148534 Aug 18 16:34 gamemaps.sd3
-rwxr-xr-x 1 cpi cpi 148534 Aug 18 16:34 gamemaps.sod
-rwxr-xr-x 1 cpi cpi 402 Aug 18 16:34 maphead.sd1
-rwxr-xr-x 1 cpi cpi 86 Aug 18 16:34 maphead.sd2
-rwxr-xr-x 1 cpi cpi 86 Aug 18 16:34 maphead.sd3
-rwxr-xr-x 1 cpi cpi 86 Aug 18 16:34 maphead.sod
-rwxr-xr-x 1 cpi cpi 1024 Aug 18 16:34 vgadict.sod
-rwxr-xr-x 1 cpi cpi 947979 Aug 18 16:34 vgagraph.sod
-rwxr-xr-x 1 cpi cpi 510 Aug 18 16:34 vgahead.sod
-rwxr-xr-x 1 cpi cpi 1616544 Aug 18 16:34 vswap.sd1
-rwxr-xr-x 1 cpi cpi 1879712 Aug 18 16:34 vswap.sd2
-rwxr-xr-x 1 cpi cpi 1881760 Aug 18 16:34 vswap.sd3
-rwxr-xr-x 1 cpi cpi 1881760 Aug 18 16:34 vswap.sod
- Create a new launch script ‘Spear of Destiny.sh’ (mind the wolf4sdl-sod):
cd ~/apps/launcher/Menu/GameShell/
echo "sudo ln -s ~/games/Spear /usr/share/games/wolf3d" > 'Spear of Destiny.sh'
echo "wolf4sdl-sod --res 320 240" >> 'Spear of Destiny.sh'
echo "sudo unlink /usr/share/games/wolf3d" >> 'Spear of Destiny.sh'
- [OPTIONAL] Grab a fancy icon:
cd ~/apps/launcher/skin/default/Menu/GameShell/
wget http://icons.iconarchive.com/icons/3xhumed/mega-games-pack-28/128/Wolfenstein-Spear-of-Destiny-2-icon.png
mv Wolfenstein-Spear-of-Destiny-2-icon.png 'Spear of Destiny.png'
- Reboot!
Finishing up!
You are now ready to play both Wolfenstein-3D and Spear of Destiny using the Wolf4SDL engine!
The final step is to specify your preferred controls in-game:
Options --> Control --> Customize controls --> Keyboard