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
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 2 363 12-05-2024, 04:16 PM
Last Post: tllim
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,943 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 349 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 685,164 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,280 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 1,049 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 754 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 740 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 666 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 725 02-12-2024, 05:03 PM
Last Post: gilwood

Forum Jump:


Users browsing this thread: 4 Guest(s)