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
  Pinebook Pro for sale - Europe (Poland) as400 6 329 4 hours ago
Last Post: Owlsy
  Pinebook Pro won't turn on when unplugged decisivedove 7 1,449 9 hours ago
Last Post: mattpenn
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 40 11,701 Yesterday, 11:01 AM
Last Post: wdt
  Pinebook Pro Initial Impressions kunger 400 195,419 02-25-2021, 11:57 PM
Last Post: Braillynn
  Pinebook pro for sale [UA only] mikkra 0 90 02-24-2021, 01:38 PM
Last Post: mikkra
  Pinebook Pro pre-order iMav 3 194 02-21-2021, 10:15 AM
Last Post: Arwen
  Pinebook Pro for sale - ISO keyboard - UK only c6Q$! 0 115 02-21-2021, 09:19 AM
Last Post: c6Q$!
  How Much Non-Free Software Does The PineBook Pro Use? ImmyChan 6 401 02-18-2021, 07:58 PM
Last Post: TRS-80
  Pinebook Pro for Sale in US BluBombr64 13 1,751 02-18-2021, 05:54 AM
Last Post: BluBombr64
Exclamation Pinebook Pro dead after dd crmcalls 1 154 02-18-2021, 03:17 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)