ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.73k stars 267 forks source link

Box64+Box86 Steam Unsupported Architecture aarch64 #1394

Closed nitram166 closed 6 months ago

nitram166 commented 6 months ago

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.

ptitSeb commented 6 months ago

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.

nitram166 commented 6 months ago

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.

ptitSeb commented 6 months ago

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