ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices

Home Page:https://box86.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Box64+Box86 Steam Unsupported Architecture aarch64

nitram166 opened this issue · comments

Didn't find a similar open issue, so I figured I would open one.

When trying to launch a lot of linux games on Steam I get the error "unsupported architecture aarch64" in terminal.
There are others that work fine, but I wonder why these do not play nice with Box64.
For example I tried "The Whispered World Special Edition".

Raspberry Pi 5
OS: Ubuntu 23.10
Built and installed Box64, Box86, and Steam.sh from github.

You probably need to setup BOX64_BASH env. var. This needs to point to a x86-64 version of bash. There is one copy inside the tests folder of box64 repo. This allows running bash script in box64 environnement and should fix those issues.

I added "export BOX64_BASH=~/box64/tests/bash" at the bottom my /etc/bash.bashrc and restarted Ubuntu.
Then I reran the game and it worked perfectly, thank you!

And since I saw there was a BOX86_BASH too, I added "export BOX86_BASH=~/box86/tests/bash" to bashrc as well.

You shouldn't need the box86 one, box86 will recognise the BOX64_BASH and will use it anyway.