Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
I've attempted to run box86 on Debian chroot, both sid and bullseye. I've been able to run explorer/winecfg, but no success with Torchlight II that runs on native Debian.

At this point, I give up - one day when the ecosystem matures I'll switch to Debian on PBP and probably tinker with box86 again, but trying to do it through Docker/chroot is way much more hassle than simply running a Debian on SD card: ).

(10-12-2020, 11:43 AM)Idaho Wrote:
(10-12-2020, 03:54 AM)brzegorz Wrote: I'm happy to report that x86 Linux Torchlight 2 works on 32-bit Debian with box86. It's possible that you can do it in a chroot or a Docker container, but I haven't tested that yet

Hey if you make this work on docker, it'd be cool if you share a tutorial in here Big Grin
I'm eager to test box86 but I'm on manjaro and box86 seems to be already a bit complex to build on its own + I've never touched Docker in my life yet...

Not a tutorial per se, but better than nothing:

1. Make a SD card with Debian through https://github.com/daniel-thompson/pineb...-installer. Contrary to the README, it works on Manjaro. You want armhf debian with bullseye release. Buster has old graphics driver.
2. Put the SD card into PBP and reboot to boot into Debian.
TIP: For steps 2&3 you can use attached script*
2. Install  i386:wine and prequisites for box86
3. Compile box86
4. To run something through wine&box86, type "box86 wine EXECUTABLE" in the console. Examples:
- box86 wine winecfg
- box86 wine explorer
5. To run Torchlight II, run "box86 path_to_x86_executable". It's not start.sh, it's the one located in /game subfolder.

*
Code:
#!/bin/bash dpkg --add-architecture i386 apt-get update apt-get -y upgrade apt-get -y dist-upgrade apt install -y git cmake g++ python3 gnupg wget libstb0:i386 \     libavcodec58:i386 libavutil56:i386 libsdl2-2.0-0:i386 libxxf86vm1 \     libfaudio0:i386 libxcb-randr0 libwine libgl1 mesa-utils \     libxinerama1 libxrandr2 libxcomposite1 libxi6 libxfixes3 libxcursor1 ##### Get wine wget -nc https://dl.winehq.org/wine-builds/winehq.key apt-key add winehq.key echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/wine.list apt update apt install -y --install-recommends winehq-stable:i386 wine-stable:i386 \     wine-stable-i386:i386 ##### Get box86 git clone https://github.com/ptitSeb/box86 cd box86 mkdir build && cd build cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo && \     make -j4 install export PAN_MESA_DEBUG=gl3
  Reply


Messages In This Thread
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - by brzegorz - 11-03-2020, 09:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 17,214 Today, 04:48 AM
Last Post: deltaexploitss
  Updated Pinebook Pro? tantamount 2 2,638 06-20-2026, 10:14 AM
Last Post: tantamount
  Pinebook pro bricked? michaelmoua 4 8,416 05-26-2026, 02:20 AM
Last Post: Anthona
Thumbs Up Finally got Kali working on my Pinebook Pro! qingss0 0 1,969 04-04-2026, 08:00 AM
Last Post: qingss0
  dead Pinebook - help please RicTor 3 3,648 03-26-2026, 04:22 PM
Last Post: williamcorlin
  Pinebook problem meghancordo 2 7,110 03-18-2026, 08:58 AM
Last Post: RicTor
  Pinebook Pro in EU for Sale - €90 jan_vdk 5 11,051 02-09-2026, 12:50 AM
Last Post: Anthona
  Pinebook Pro for sale rfm83 0 2,174 11-08-2025, 09:22 AM
Last Post: rfm83
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 9,050 08-02-2025, 08:55 PM
Last Post: KC9UDX
Question Printing and scanning documents with pinebook? Www 0 5,401 06-28-2025, 01:25 AM
Last Post: Www

Forum Jump:


Users browsing this thread: 2 Guest(s)