t94xr / PCem_Linux

18 stars 4 forks source link

PCem v17 for Linux

There is very little to basically no documentation on how to install/compile PCem 17 for Linux.

WAYLAND SUPPORT

PCem 17 does not have any Wayland Support. It does appear that PCem 18 is on the horizon which should support Wayland, but it will be a while as this is a hobby project and therefore development is slow.

Ubuntu 21.04/Mint 21.2

Notes

sudo apt-get install libsdl2-dev libwxgtk3.0-gtk3-dev libopenal-dev gcc make g++

mkdir PCemV17Linux/ wget -c https://pcem-emulator.co.uk/files/PCemV17Linux.tar.gz tar -xvzf PCemV17Linux.tar.gz --directory PCemV17Linux cd PCemV17Linux

./configure --enable-alsa --enable-release-build --enable-networking --prefix=/opt/pcem17 make -j5 sudo make install

Once the 'make install' command has been completed, try running the following terminal command to ensure it is now working on your machine:

  /opt/pcem17/bin/pcem

If build has completed successfully, running the /opt/pcem17/bin/pcem terminal command will complain about missing BIOS ROM files.

PCem ROMS

cd ~
cd .pcem
mv roms roms-bak
git clone https://github.com/BaRRaKudaRain/PCem-ROMs.git 
mv PCem-ROMs roms

Running /opt/pcem17/bin/pcem should appear with the PCem dialog. Create a Shortcut to it by right clicking on the PCEM on the first lunch and then you will see it added among your programs.