Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
(06-21-2020, 02:34 AM)brzegorz Wrote:
(06-20-2020, 01:37 PM)slow_motion Wrote: Hi everyone,
nice thread Smile
i was wondering if anyone managed to get Chiaki working on pinebook pro manjaro edition?
On the git there are only x86 images.
Otherwise, is there an equivalent software for arm to connect remotely to ps4?
Thank you
If you're compiling from AUR on Manjaro, you can add "aarch64" to list of architectures and there's a huge change it'll just compile, since it's built for Android too.

Thanks for the tip! i'm new to building packages, didn't know we could specify the architecture Smile
But the "official" package threw cpp errors. I ended up downloading the chiaki-git package instead of chiaki, edited PKGBUILD to add aarch64 as you suggested and it works!
Thank you
  Reply
Eduke32 built nicely on system with Debian Bullseye! I've tried the HRP but end up with lots of missing textures, not exactly sure why yet. Has anyone else tried or had any luck?
  Reply
Hi all!
I've managed to build and run Xash3D on Manjaro using Docker!

I've used a Debian Arm32 image to compile and run everything; i made a repo on github with a Dockerfile and some scripts (there is also a Readme file)

If someone wants to try it (or fork it and make it better) here it is:
https://github.com/gira93/xash3d-docker-pbp

It's not the final and most stable method but it's a start.
  Reply
Hi guys, been a long time since I haven't come in here and I was wondering if anyone has tried to run box86, it's an x86 to arm emulator and it seems to give pretty good results with running simple indie games and basic apps like steam on the raspberry, I was gonna try to figure it out but I was thinking maybe someone already has ^^

Here's the link to the GitHub if anyone's interested: https://github.com/ptitSeb/box86
  Reply
(06-30-2020, 02:32 AM)Idaho Wrote: Hi guys, been a long time since I haven't come in here and I was wondering if anyone has tried to run box86, it's an x86 to arm emulator and it seems to give pretty good results with running simple indie games and basic apps like steam on the raspberry, I was gonna try to figure it out but I was thinking maybe someone already has ^^

Here's the link to the GitHub if anyone's interested: https://github.com/ptitSeb/box86

The page says that it needs a 32bit host; i don't know if that means it will not work on a 64bit cpu or that it needs 32bit libraries; I should try to compile it under a Docker image (as i did with Xash3d).
  Reply
Starcraft on Pinebookpro Manjaro

http://45.76.81.249/Pinebook64/pinebook-...starcraft/


// Make sure we have Lua5.1 !!
// When multiple Lua versions are present
// We need to define lua version during cmake
// And stratagus works probably with Lua 5.1 only

// For the build's sake remove lua (5.3) and lua52
// pacman -R lua lua52


// Lets install a few dependencies
// Assuming we already have the
// GCC build environment in place

# pacman -S
cmake
lua51
harfbuzz
tolua++
libtheora
libmikmod
sdl2 sdl2_graphics sdl2_image sdl2_mixer sdl2_net sdl2_ttf
sqlite
libmng
wget

// I have uploaded the working sources to my repo
// for others to replicate the build
// Original location is https://launchpad.net/stratagus/+download
// I have patched the source code so that it builds using GCC 8 and 9
//
// Create a working directory STARCRAFT
// Download stratagus sources and extract them

mkdir $HOME/STARCRAFT
cd $HOME/STARCRAFT
wget http://45.76.81.249/Pinebook64/pinebook-...hed.tar.gz
gunzip stratagus_2.2.7.patched.tar.gz
tar -xvf stratagus_2.2.7.patched.tar
cd stratagus_2.2.7.patched
mkdir build
cd build
cmake ..
make -j3
su
# make install
# exit

// Lets download and compile stargus

cd $HOME/STARCRAFT
wget http://45.76.81.249/Pinebook64/pinebook-...2.7.tar.gz
gunzip stargus_2.2.7.tar.gz
tar -xvf stargus_2.2.7.tar
cd stargus_2.2.7
mkdir build
cd build
CFLAGS="-isystem /usr/include/harfbuzz" CXXFLAGS="-isystem /usr/include/harfbuzz" cmake ..
make -j3
su
# make install
# exit

// Now we need to extract the stargus.tar data tarball and place it
// in /usr/local/share/games/stratagus/
// I have included the Starcraft data since the extraction does not
// work for me on aarch64 - it worked on x86_64 with startool
// and I believe the game is offered for free from Blizzard anyway

// Download the Starcraft Data file

cd $HOME/STARCRAFT
wget http://45.76.81.249/Pinebook64/pinebook-...targus.tar
tar -xvf stargus.tar
su
# rm -rf /usr/local/share/games/stratagus/stargus

// Copy or move the extracted stargus tarball here

# cp -rv /home/user/STARCRAFT/stargus /usr/local/share/games/stratagus

// Finally symlink the game binary

# ln -s /usr/local/games/stargus /usr/local/bin/stargus
# exit

// Play the game

stargus


P.S Please note that on higher resolutions other than 800x600
the game crashes when building a first structure ..
It seems to be stable on 800x600
  Reply
(06-30-2020, 03:32 AM)gira93 Wrote:
(06-30-2020, 02:32 AM)Idaho Wrote: Hi guys, been a long time since I haven't come in here and I was wondering if anyone has tried to run box86, it's an x86 to arm emulator and it seems to give pretty good results with running simple indie games and basic apps like steam on the raspberry, I was gonna try to figure it out but I was thinking maybe someone already has ^^

Here's the link to the GitHub if anyone's interested: https://github.com/ptitSeb/box86

The page says that it needs a 32bit host; i don't know if that means it will not work on a 64bit cpu or that it needs 32bit libraries; I should try to compile it under a Docker image (as i did with Xash3d)...

I think it's only about the libraries but I'm not totally sure either...
  Reply
This probably was mentioned already, but I'll report it separately anyway:

- OpenJK works with Jedi Outcast straight from AUR(openjk-git). Unless you turn on volumetric shadows game works smoothly
- Same for Battle of Wesnoth(wesnoth-git)
- Openmw doesn't need patches anymore, thanks to Icecream95. OPENMW_DECOMPRESS_TEXTURES=1 variable is needed for it to work since Pinebook lacks S3TC compression.
  Reply
(07-04-2020, 07:32 AM)brzegorz Wrote: This probably was mentioned already, but I'll report it separately anyway:

- OpenJK works with Jedi Outcast straight from AUR(openjk-git). Unless you turn on volumetric shadows game works smoothly
- Same for Battle of Wesnoth(wesnoth-git)
- Openmw doesn't need patches anymore, thanks to Icecream95. OPENMW_DECOMPRESS_TEXTURES=1 variable is needed for it to work since Pinebook lacks S3TC compression.
With OpenMW  did you encounter crash when exiting the Imperial ship ?
  Reply
I don't; )
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 586,596 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,275 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 385 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 293 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 281 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 214 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 242 02-12-2024, 05:03 PM
Last Post: gilwood
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 655 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 722 02-01-2024, 11:35 AM
Last Post: tomekdev
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,566 12-17-2023, 09:29 PM
Last Post: insideau786

Forum Jump:


Users browsing this thread: 1 Guest(s)