Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
#31
@astr0baby I am encountering this issue with chocolate doom on default Debian. I assume this means that the SDL package in Debian 9 is too old? any way around this?


Code:
lukasz@Debian-Desktop:~/chocolate-doom$ ./autogen.sh
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for python... true
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for SDLMIXER... yes
checking for SDLNET... no
configure: error: Package requirements (SDL2_net >= 2.0.0) were not met:

No package 'SDL2_net' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SDLNET_CFLAGS
and SDLNET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
lukasz@Debian-Desktop:~/chocolate-doom$
You can find me on IRC, Discord and Twitter


  Reply
#32
Anyone using devilutionx-git AUR package? Just installed it, and tried following the instructions given at the end of the install (with the help of astr0baby's writeup,) but it loads to a screen with a button and nothing else and crashes immediately after clicking the button. The package's completion instructions for the diabdat.mpq had me rename it to diablodat.mpq and place it at ~/.local/share/diasurgical/devilution.

Has anyone installed this from the AUR and can confirm the correct placement of diab(lo)dat.mpq?

I dug harder and found my answer: https://aur.archlinux.org/packages/devil...ent-687217

Another edit:

After several crashes, I removed the AUR devilution package and strictly followed astr0baby's build instructions. However, now I'm hitting a new wall: when running make install I get the error "make: *** No rule to make target 'install'. Stop.

Any thoughts? I know I didn't miss any steps (there's so few.)
  Reply
#33
(01-16-2020, 09:49 AM)Luke Wrote: @astr0baby I am encountering this issue with chocolate doom on default Debian. I assume this means that the SDL package in Debian 9 is too old? any way around this?


Code:
lukasz@Debian-Desktop:~/chocolate-doom$ ./autogen.sh
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for python... true
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for SDLMIXER... yes
checking for SDLNET... no
configure: error: Package requirements (SDL2_net >= 2.0.0) were not met:

No package 'SDL2_net' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SDLNET_CFLAGS
and SDLNET_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
lukasz@Debian-Desktop:~/chocolate-doom$
You need to probably install the development package  sdl2_net   via # apt-get install libsdl2-net-dev

(01-16-2020, 12:17 PM)tophneal Wrote: Anyone using devilutionx-git AUR package? Just installed it, and tried following the instructions given at the end of the install (with the help of astr0baby's writeup,) but it loads to a screen with a button and nothing else and crashes immediately after clicking the button. The package's completion instructions for the diabdat.mpq had me rename it to diablodat.mpq and place it at ~/.local/share/diasurgical/devilution.

Has anyone installed this from the AUR and can confirm the correct placement of diab(lo)dat.mpq?

I dug harder and found my answer: https://aur.archlinux.org/packages/devil...ent-687217

Another edit:

After several crashes, I removed the AUR devilution package and strictly followed astr0baby's build instructions. However, now I'm hitting a new wall: when running make install I get the error "make: *** No rule to make target 'install'. Stop.

Any thoughts? I know I didn't miss any steps (there's so few.)

Don't run make install Smile  just run the binary from where its is compiled   ie > 
cd devillutionX/bin/   
./devilutionX   

(make sure you have the diablodat.mpq in your path)

I updated my blogpost - there is no rule to install devillutionX thus the make install fails ... so just run it from the build environment or copy the binary to /usr/local/bin ...
  Reply
#34
Thank you for the speedy reply!
  Reply
#35
@astr0baby thanks, that worked a treat Smile
You can find me on IRC, Discord and Twitter


  Reply
#36
Jagged Alliance 2 https://github.com/ja2-stracciatella/ja2-stracciatella  builds now on the Manjaro aarch64 !


git clone https://github.com/ja2-stracciatella/ja2-stracciatella
cd ja2-stracciatella/
mkdir build
cmake ..
make -j6

Next install the game on x86_64 Linux via wine and save to C:\ja2    (in Wine)
Go to $HOME~/.wine/drive_c
tar -cvf ja2.tar ja2

scp the ja2.tar over to the Pinebook

Extract the ja2.tar on the Pinebook in some Games dir

mv ja2.tar Games
tar -cvf ja2.tar

Go to the ja2-stracciatella/build
./ja2-launcher

And setup the Game data location, configure resolution and play

https://twitter.com/astr0baby/status/121...4323403778
  Reply
#37
OpenArena on Manjaro Pinebookpro works and is a little tricky to compile, but its worth the effort. I will update the forum with howto tomorrow (its too late now)

https://twitter.com/astr0baby/status/121...0237024262
https://twitter.com/astr0baby/status/121...6831762433
  Reply
#38
colemancda posted that XNA/FNA based games can be run using native mono and some recompiled libraries.

They followed this tutorial and got Stardew Valley to work.

There's a list here of games that were ported using FNA.
  Reply
#39
(01-17-2020, 05:20 AM)AukonDK Wrote: colemancda posted that XNA/FNA based games can be run using native mono and some recompiled libraries.

They followed this tutorial and got Stardew Valley to work.

There's a list here of games that were ported using FNA.

Running Terraria, Rogue Legacy and Stardew Valley would be awesome, this tutorial is not so clear to me though   Confused
  Reply
#40
(01-16-2020, 09:49 AM)Luke Wrote: I am encountering this issue with chocolate doom on default Debian.

If you prefer high resolutions and being able to look up and down, LZDoom is easy to compile and works with both Panfrost and the blob driver via gl4es.

https://github.com/drfrag666/gzdoom/archive/3.84.tar.gz

Compiling can be done through the standard CMake steps:

Code:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make -j`nproc`
$ sudo make install

For Panfrost, you'll want to use a very recent mesa-git as my bug fix for some levels such as E1M7 has only just been pushed.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Star Pinebook Pro for sale (USA only) pineuser 1 53 3 hours ago
Last Post: Triconium
  My Experience Using the Pinebook Pro as a Daily Driver warpnow 9 437 06-22-2021, 02:30 PM
Last Post: moonwalkers
  Pinebook pro for sale [UA only] mikkra 1 440 06-17-2021, 09:52 AM
Last Post: moondance4n
  Pinebook Boot CharlesBunders 14 1,574 06-15-2021, 07:40 PM
Last Post: James Good
  MAC Spoofing failing in manjaro slow_motion 5 1,966 06-15-2021, 11:28 AM
Last Post: saturday31
  ANSI pinebook pro for sale (sold) andy046 7 549 06-10-2021, 07:55 AM
Last Post: andy046
  PineBook Pro kisangoli78 2 770 06-09-2021, 12:04 AM
Last Post: TfromTexas
  ISO keyboard Pinebook pro for sale tgrauss 2 289 06-08-2021, 12:05 AM
Last Post: tgrauss
  For Sale: Almost Brand New (slightly used) ANSI Pinebook Pro (photos attached) NeedleCone 0 205 06-04-2021, 10:12 AM
Last Post: NeedleCone
  new Pinebook Pro, complete confusion Yehuda 11 792 06-03-2021, 10:52 PM
Last Post: rimaille

Forum Jump:


Users browsing this thread: 2 Guest(s)