Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#1
Opening this thread up for anybody interested in sharing their howtos for beginners to get going and playing some games on their Pinebook-Pro
I usually post fresh stuff on my twitter account https://www.twitter.com/astr0baby

Part1 of the Howtos is here
https://astr0baby.wordpress.com/2020/01/...ng-part-1/
Part2 OpenArena - Manjaro
https://astr0baby.wordpress.com/2020/01/...ng-part-2/
Part3 Half-Life 1 - Debian
https://astr0baby.wordpress.com/2020/01/...ng-part-3/

Currently I have compiled and successfully ran the following games so far 

- Doom3 (via dhewm3 https://github.com/dhewm/dhewm3 )  - performance is poor, getting about 4-7 FPS   - already as a .deb package in repositories
- OpenRA (Open Red-Alert  https://www.openra.net/ ) - performance is kind of ok, but slow on full HD resolution 1920x1080
- Ultima 8 (pentagram http://pentagram.sourceforge.net/ ) - works well
- Dune2 (Dune-Legacy https://sourceforge.net/projects/duneleg...cy/0.96.4/ ) - works well
- Doom/Heretic/Hexen/Strife (via chocolate-doom https://github.com/chocolate-doom/chocolate-doom ) - works well
- gzdoom ( https://github.com/drfrag666/gzdoom ) - works well
- Diablo 1 (devilutionX https://github.com/diasurgical/devilutionX ) - works well
- Return to Castle Wolfenstein ( https://github.com/iortcw/iortcw) - works ok
- Quake3 ( ioquake https://github.com/ioquake/ioq3 ) - works well
- OpenArena ( https://github.com/OpenArena/) - works extremely well
- Quake 1 ( quakespasm http://quakespasm.sourceforge.net/ ) - works well
- Quake 2 ( Yama Quake 2 https://github.com/yquake2/yquake2 ) - works well
- Duke Nukem 3D ( eduke32 https://github.com/svn2github/eduke32 ) - works well
- Baldur's Gate I & II + Icewind Dale I & II ( gemrb https://github.com/gemrb/gemrb ) - works well
- Jagged Alliance 2 ( https://github.com/ja2-stracciatella ) - works well
- Alephone Marathon ( https://alephone.lhowon.org/ ) - works well
- Half-Life 1 (https://github.com/FWGS/xash3d) - works well
- Elder Scrolls 3 - Morrowind ( OpenMorrowind https://github.com/OpenMW ) - works well (will upload howto later on)
- Caesar 3 ( Julius https://github.com/bvschaik/julius) - thanks @hectorzg for notifying, works well

I will add the generic howtos here as my time allows it for others to replicate the effort and confirm it works for them Smile



Quick rule on building the source code on Linux is to first get all the necessary building tools like compilers etc in place

For Debian aarch64
===============================================
Core packages
# apt-get install build-essential cmake git

And additional libraries headers
# apt-get install libsdl2-dev

For Manjaro Linux (if you will be using this then you probably know what you are doing Wink)
==============================================
Most of the packages needed are already present in the image, normally one uses
pacman to install stuff (there are no DEV packages in Arch linux)

Searching for packages
# pacman -Ss sdl2
Installing then the needed one
# pacman -S sdl_ttf
  Reply
#2
Hi, I'll link my Baldur's Gate topic as this is the most comprehensive games list I've found. There are some flags to tick in the engine compilation, but it works well and supports mods(or at least the widescreen one).

Maybe we should initiate a wiki section with compilation instructions and explanation of how well the game works? Currently the info is scattered across forums, and I think it's quite valuable.

P.S. Link: https://forum.pine64.org/showthread.php?tid=8702
  Reply
#3
(01-05-2020, 06:14 AM)brzegorz Wrote: Hi, I'll link my Baldur's Gate topic as this is the most comprehensive games list I've found. There are some flags to tick in the engine compilation, but it works well and supports mods(or at least the widescreen one).

Maybe we should initiate a wiki section with compilation instructions and explanation of how well the game works? Currently the info is scattered across forums, and I think it's quite valuable.

P.S. Link: https://forum.pine64.org/showthread.php?tid=8702

I think a Wiki would be a great idea, Much better than the forum posts here I guess. Lets see how this thread will grow and if needed we can do something about Wiki in the future, Im still lagging behind to get all my notes up here (currently waiting for a long build to finish under qemu-system-aarch64 of FreeBSD -current xfce4-wm on the Pinebook-pro)
  Reply
#4
My PBP is on Ubuntu 18.04 Mate :
I run RollerCoasterTycoon smoothly if the park is not overloaded.
It runs with OpenRCT2 ( https://openrct2.org/ )  which I compiled from the project Git ( https://github.com/OpenRCT2/OpenRCT2 ) and data from the Gog.com game package. ( https://www.gog.com/game/rollercoaster_tycoon_2 )

How-to Extract Data : https://openrct2.org/quickstart/extract-...iles/linux

The only workaround is d-bus due to a bug in the ubuntu package.
see: https://bugs.launchpad.net/ubuntu/+sourc...comments/7
Workarount 1 > DBUS_FATAL_WARNINGS=0 openrct2


Code:
$: openrct2
dbus[7867]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Abandon (core dumped)

This bug has bothered me as well with other games or emulators.
I'll be able to try Doom again, for example.
  Reply
#5
I tried compiling GZDoom but the version of OpenGL isn't supported by the hardware. There is the official fork of the older codebase LZDoom which does work.

EDuke32 has an error when I try to compile the latest source code. "Invalid Operands".
  Reply
#6
Compiled eduke32 on the latest Manjaro (5.5.0-0.1-MANJARO-ARM)

git clone https://github.com/svn2github/eduke32
cd eduke32
make

copy DUKE3D.GRP (original data file) to ~/.config/eduke32/

https://pbs.twimg.com/media/ENyrE2_XsAYxob3.jpg
https://pbs.twimg.com/media/ENyrE3BXYAMkXOh.jpg

./eduke32
  Reply
#7
(01-08-2020, 04:15 PM)astr0baby Wrote: Compiled eduke32 on the latest Manjaro (5.5.0-0.1-MANJARO-ARM) 

Cool, I was trying on the stock Debian. I'll try it on my Manjaro and Ubuntu Mate installs. Ion Fury should work with eduke32.
  Reply
#8
If anyone managed to compile Eternity Engine for Doom, I'm interested in tips.
I'll get to that myself sooner or later, but I'm busy now.
  Reply
#9
LZdoom which is an older release of GZdoom works well for me with Panfrost. For Eternity or Doomsday we have to wait for GL3 work to finish.
Come have a chat in the Pine A64 IRC channel >>
  Reply
#10
Oh wow, how did I miss this topic! Great stuff Smile

[edit] @astr0baby think you could take a crack at OpenArena? its broken in Debian repos, and for the life of me I didn't get it to build from source so it would work. Instructions would obviously be much appreciated.

If we could build it, then it would be fun to host a PBP tournament.
You can find me on IRC, Discord and Twitter


  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  PineBook Pro benchmarks zxorg 1 47 2 hours ago
Last Post: KiteX3
  Manjaro not booting sinistermrcream 24 290 3 hours ago
Last Post: 7tubb9
  From where the PineBook ships to europe zxorg 1 34 7 hours ago
Last Post: tophneal
Question How far are we from installing Linux witout extra patches? dumetrulo 1 108 8 hours ago
Last Post: xmixahlx
  Pinebook Pro DOA? zamansky 2 62 10 hours ago
Last Post: SalvaG
  Offer: Pinebook Pro (64GB+UK KBD) Europe stapes 15 667 Yesterday, 11:52 PM
Last Post: this_is_tom
  A request to anyone with a Pinebook pro / other Pine device.. account3122 12 396 Yesterday, 02:32 PM
Last Post: account3122
  extracting debian to SD jbradley419 1 52 Yesterday, 05:56 AM
Last Post: khanku
  No Wifi on new pinebook pro geekyjm 2 89 06-02-2020, 09:25 AM
Last Post: KiteX3
  Pinebook Pro won't boot from emmc jamiechonz@gmail.com 2 111 05-31-2020, 03:24 AM
Last Post: zer0sig

Forum Jump:


Users browsing this thread: 2 Guest(s)