PinePhone Game Thread
#1
Can we get a sticky/important on this thread?

I'm starting an official(unofficial?) Pinephone games thread!  We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).

First up: Zandronum
Code:
#https://wiki.zandronum.com/Compiling_Zandronum_on_Linux#Debian.2FUbuntu <---deps for general zandronum building

Building on Pinephone:
mkdir /Games <--doesn't matter where but preferably /home/user/Games
cd Games

grab these deps (doesn't matter if they don't all take, most will already probably be there on the device)
pacman -S --needed gcc make cmake sdl mercurial zlib bzip2 libjpeg-turbo \
fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew


sudo pacman -Syu
base-devel
cmake
sdl2
glew-wayland
glew1.10
libglvnd
openssl
sqlite3
gtk2
zlib
nasm
gxmessage kdialog fluidsynth
sdl sdl2
extra/glu

#now with all those it should build correctly



make sure you're still in /Games

git clone https://github.com/ptitSeb/zandronum
cd zandronum
mkdir build
cd build

ccmake ..
"c" to configure
NO_FMOD=ON
NO_ASM=ON
NO_OPENAL=OFF
hit "t"
set CFLAGS to -mcpu=native
hit "c" to configure
hit "g" to generate

make -j4
============================================================================
it *should* build but *if* it fails then you will need to go to the source folder

navigate to game-music-emu and fine CMakelists.txt and around line 87 or so change [3-9] to [0-9]

make -j4 should now work
============================================================================
in the place you built it type ./zandronum

if it asks for a wad it's built!

(put wads wherever, or in the zandronum.ini folder, but link them!!!!
       


  Reply
#2
It's not much, but whenever I find spare time I've been taking a crack at various games available on Mobian via apt and Flatpak, and adding them to the games section on this wiki.

https://wiki.mobian-project.org/doku.php?id=apps

Everyone is free to add to the wiki if they want, but if it's too tedious I can add them for you! just mention the games here and I'll add them (eventually).

Also it would be nice to have dedicated lists like this for each different phone OS, but a LOT of compatibility for games right now hinge on phosh improving. Once Phosh reaches a certain level of polish, suddenly tons of games will just work.
  Reply
#3
I previously added (and now recently updated) ARM support for GB Studio 2 (a drag-and-drop GameBoy/GameBoy Color game creator) and submitted a pull request to the GitHub repo. It hasn't been accepted yet, but the creator of the program did test it previously and liked the idea, so I'm hoping it will be accepted soon. I tested it on Mobian; Phosh isn't great for it (even with scale-to-fit enabled), but if you install Gnome, the program is more usable. This is, however, a better program for the convergence feature, since things are kinda small on the screen.


Attached Files Thumbnail(s)
   
  Reply
#4
(12-08-2020, 09:36 AM)patrickmollohan Wrote: I previously added (and now recently updated) ARM support for GB Studio 2 (a drag-and-drop GameBoy/GameBoy Color game creator) and submitted a pull request to the GitHub repo. It hasn't been accepted yet, but the creator of the program did test it previously and liked the idea, so I'm hoping it will be accepted soon. I tested it on Mobian; Phosh isn't great for it (even with scale-to-fit enabled), but if you install Gnome, the program is more usable. This is, however, a better program for the convergence feature, since things are kinda small on the screen.

Awesome man!  I wonder if I can get this working on arch/xfce on the PineTab? (or debian PBP)


  Reply
#5
(12-08-2020, 10:08 AM)PixelPaintbrush Wrote:
(12-08-2020, 09:36 AM)patrickmollohan Wrote: I previously added (and now recently updated) ARM support for GB Studio 2 (a drag-and-drop GameBoy/GameBoy Color game creator) and submitted a pull request to the GitHub repo. It hasn't been accepted yet, but the creator of the program did test it previously and liked the idea, so I'm hoping it will be accepted soon. I tested it on Mobian; Phosh isn't great for it (even with scale-to-fit enabled), but if you install Gnome, the program is more usable. This is, however, a better program for the convergence feature, since things are kinda small on the screen.

Awesome man!  I wonder if I can get this working on arch/xfce on the PineTab? (or debian PBP)

Thanks! I imagine you should be able to. I don't have a PineTab or Pinebook Pro to test, but I do run Arch on my x86-based laptop and it does work. If you install all the proper dependencies (as described here) you can execute "npm run start" in the terminal to build and run it on the fly, or you could execute "npm run make:linux-arm64" (when/if my pull request is accepted) to build the .deb and .rpm packages, extract the files from either of the packages, and manually copy them where they need to go. Not ideal, but it works; obviously, easier to install it on Debian in this case.

Oh, should have mentioned: on the PinePhone, the /usr/share/applications/gb-studio.desktop file needs to be modified so that the "Exec=gb-studio %U" line reads "Exec=gb-studio %U --disable-gpu". Without the modification, the screens will be completely blank; I'm guessing hardware acceleration isn't yet enabled? You would also need to add "--disable-gpu" if you run "gb-studio" from the terminal instead of from the icon. Not sure if this would be the case as well for the PineTab, and if so, how that would impact the "npm run start" command for Arch.
  Reply
#6
I've been trying to build my favorite Unix game, rogue, on the Pinephone but still have compilation errors to track down. A problem is that the code is ancient, written in prehistoric K&R C. (I used to play it on VAX BSD 4.1 back in the early 1980s). There is some linux-ized source code available and I've built it on my Ubuntu desktop system but no joy on the Pinephone yet. (Actually just having a phone where one can ssh in to use a C compiler and makefiles etc. is a real hoot all on its own.)

The source code I've been working with is here:

https://codeload.github.com/Davidslv/rogue/zip/master

So far I've had to download the latest config.guess from github to get the configure script to work, and installed the ncurses library dependency, but there are still some problems with declaration of variables, functions, and structures.
  Reply
#7
(12-08-2020, 07:25 AM)PixelPaintbrush Wrote: Can we get a sticky/important on this thread?

I'm starting an official(unofficial?) Pinephone games thread!  We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).

First up: Zandronum

Hello,
Nice to meet you.

I have tested it with Manjaro Community edition updated OS

I've been tested Zandronum but the only game I could run was Doom1, is it normal?
Regards,
Seb
  Reply
#8
(12-14-2020, 02:35 AM)tekman Wrote:
(12-08-2020, 07:25 AM)PixelPaintbrush Wrote: Can we get a sticky/important on this thread?

I'm starting an official(unofficial?) Pinephone games thread!  We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).

First up: Zandronum

Hello,
Nice to meet you.

I have tested it with Manjaro Community edition updated OS

I've been tested Zandronum but the only game I could run was Doom1, is it normal?
Regards,
Seb


Did you try DOOM2.wad?  I've gotten them all to run, make sure you point the directory to all of your I and P Wad files.


  Reply
#9
(12-14-2020, 07:57 PM)Yesterday I found 2 others that worked but they look very similar. (freedoom2, ultdoom2-dv2.9.wad) Wrote: I placed the wad file in the ~/.config/zandronum, is something better could be done?
Anyway thank you for the work done.

PixelPaintbrush
(12-14-2020, 02:35 AM)tekman Wrote:
(12-08-2020, 07:25 AM)PixelPaintbrush Wrote: Can we get a sticky/important on this thread?

I'm starting an official(unofficial?) Pinephone games thread!  We have one for the PinebookPro, and I feel like this will help others looking to run games and stuff without all the digging and wasted hours (I spent maaaaaaaaany on zand).

First up: Zandronum

Hello,
Nice to meet you.

I have tested it with Manjaro Community edition updated OS

I've been tested Zandronum but the only game I could run was Doom1, is it normal?
Regards,
Seb


Did you try DOOM2.wad?  I've gotten them all to run, make sure you point the directory to all of your I and P Wad files.
  Reply
#10
Great idea! I am not much into games, but I forked MGLapps with LINMOBapps a while ago, and since then I've singled out the games to a Game List.
Maybe some interesting games are on there (many seem to be FOSS Android Games, so YMMV).
Mails, Merge Requests are totally appreciated, if someone wants to take over maintaining the list, please get in touch!

BTW: SuperTuxKart is playable, if anyone is into racing games: https://devtube.dev-wiki.de/videos/watch...86129f2662
blog | app list | co-host of PineTalk
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone 3/32GB , convergence, beta edition for sale -- Europe(Czech republice) pom3ranc 3 186 Yesterday, 02:46 PM
Last Post: piner67
  UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) megous 147 94,097 06-14-2021, 11:55 AM
Last Post: calinb
  My PinePhone shuts down when the screen turns off rvbarreto 0 49 06-13-2021, 05:11 PM
Last Post: rvbarreto
  Are you using the Pinephone as your daily driver? jro 28 3,508 06-11-2021, 04:31 PM
Last Post: OhneZ
  Buiding apps for pinephone katesfb 6 491 06-10-2021, 10:52 PM
Last Post: katesfb
  The Best Feature of the PinePhone is... Dog House Dave 8 402 06-08-2021, 06:22 PM
Last Post: ryo
Heart What native PinePhone application would you like to see in the near future? kern707 61 9,098 06-05-2021, 04:13 PM
Last Post: AwHereWeGoAgain
  List of Pinephone browsers Gamey 15 3,035 06-04-2021, 11:22 AM
Last Post: ryo
  How should pinephone integrate with Desktop? gamerminstrel 9 774 06-01-2021, 09:24 AM
Last Post: TRS-80
  Does the Pinephone rely on components built with slave labor? MirceaKitsune 8 462 05-31-2021, 02:46 PM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)