12-08-2020, 07:25 AM
Can we get a sticky/important on this thread?
I'm starting an official(unofficial?) Pinephone games thread! We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).
First up: Zandronum
============================================================================
it *should* build but *if* it fails then you will need to go to the source folder
navigate to game-music-emu and fine CMakelists.txt and around line 87 or so change [3-9] to [0-9]
make -j4 should now work
============================================================================
in the place you built it type ./zandronum
if it asks for a wad it's built!
(put wads wherever, or in the zandronum.ini folder, but link them!!!!
I'm starting an official(unofficial?) Pinephone games thread! We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).
First up: Zandronum
Code:
#https://wiki.zandronum.com/Compiling_Zandronum_on_Linux#Debian.2FUbuntu <---deps for general zandronum building
Building on Pinephone:
mkdir /Games <--doesn't matter where but preferably /home/user/Games
cd Games
grab these deps (doesn't matter if they don't all take, most will already probably be there on the device)
pacman -S --needed gcc make cmake sdl mercurial zlib bzip2 libjpeg-turbo \
fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew
sudo pacman -Syu
base-devel
cmake
sdl2
glew-wayland
glew1.10
libglvnd
openssl
sqlite3
gtk2
zlib
nasm
gxmessage kdialog fluidsynth
sdl sdl2
extra/glu
#now with all those it should build correctly
make sure you're still in /Games
git clone https://github.com/ptitSeb/zandronum
cd zandronum
mkdir build
cd build
ccmake ..
"c" to configure
NO_FMOD=ON
NO_ASM=ON
NO_OPENAL=OFF
hit "t"
set CFLAGS to -mcpu=native
hit "c" to configure
hit "g" to generate
make -j4
it *should* build but *if* it fails then you will need to go to the source folder
navigate to game-music-emu and fine CMakelists.txt and around line 87 or so change [3-9] to [0-9]
make -j4 should now work
============================================================================
in the place you built it type ./zandronum
if it asks for a wad it's built!
(put wads wherever, or in the zandronum.ini folder, but link them!!!!