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 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
  Cellular module for Pinebook Pro Lotech 1 238 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 219 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 201 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 141 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 165 02-12-2024, 05:03 PM
Last Post: gilwood
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 524 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 579 02-01-2024, 11:35 AM
Last Post: tomekdev
  looking to buy one pinebook pro (mainland China) duanduan 2 1,754 01-11-2024, 01:07 AM
Last Post: winecork
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,133 12-17-2023, 09:29 PM
Last Post: insideau786
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 1,943 12-15-2023, 02:11 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 2 Guest(s)