Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112) +--- Thread: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) (/showthread.php?tid=8665) |
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - slow_motion - 06-21-2020 (06-21-2020, 02:34 AM)brzegorz Wrote:(06-20-2020, 01:37 PM)slow_motion Wrote: Hi everyone,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 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 RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - m4xx3d0ut - 06-25-2020 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? RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - gira93 - 06-28-2020 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. RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - Idaho - 06-30-2020 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 RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - gira93 - 06-30-2020 (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 ^^ 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). RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - astr0baby - 06-30-2020 Starcraft on Pinebookpro Manjaro http://45.76.81.249/Pinebook64/pinebook-pro/GAMES-HOWTO/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-pro/GAMES-HOWTO/starcraft/stratagus_2.2.7.patched.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-pro/GAMES-HOWTO/starcraft/stargus_2.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-pro/GAMES-HOWTO/starcraft/stargus.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 RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - Idaho - 07-03-2020 (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 ^^ I think it's only about the libraries but I'm not totally sure either... RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - brzegorz - 07-04-2020 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. RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - astr0baby - 07-04-2020 (07-04-2020, 07:32 AM)brzegorz Wrote: This probably was mentioned already, but I'll report it separately anyway:With OpenMW did you encounter crash when exiting the Imperial ship ? RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - brzegorz - 07-12-2020 I don't; ) |