PINE64
Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) (/showthread.php?tid=8665)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - astr0baby - 01-01-2020

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/11/pinebookpro-gaming-part-1/
Part2 OpenArena - Manjaro
https://astr0baby.wordpress.com/2020/01/26/pinebookpro-gaming-part-2/
Part3 Half-Life 1 - Debian
https://astr0baby.wordpress.com/2020/01/27/pinebookpro-gaming-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/dunelegacy/files/dunelegacy/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


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - brzegorz - 01-05-2020

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


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - astr0baby - 01-05-2020

(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)


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - agD0i7rY - 01-07-2020

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-rct2-files/linux

The only workaround is d-bus due to a bug in the ubuntu package.
see: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1775067/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.


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - AukonDK - 01-07-2020

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".


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - astr0baby - 01-08-2020

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


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - AukonDK - 01-08-2020

(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.


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - brzegorz - 01-10-2020

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.


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - xalius - 01-10-2020

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.


RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - Luke - 01-10-2020

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.