diff --git a/apps/Box86/description b/apps/Box86/description new file mode 100644 index 0000000..6be4783 --- /dev/null +++ b/apps/Box86/description @@ -0,0 +1,7 @@ +Easily emulate x86 linux apps on Raspberry Pi. + +Box86 lets you run x86 Linux programs (such as games) on non-x86 Linux, like ARM (host system needs to be 32bit little-endian). + +Because Box86 uses the native versions of some "system" libraries, like libc, libm, SDL, and OpenGL, it's easy to integrate and use, and performance can be surprisingly high in some cases. + +Box86 now integrates a DynaRec (dynamic recompiler) for the ARM platform, providing a speed boost between 5 to 10 times faster than only using the interpreter. diff --git a/apps/Box86/icon-24.png b/apps/Box86/icon-24.png new file mode 100644 index 0000000..1766aa1 Binary files /dev/null and b/apps/Box86/icon-24.png differ diff --git a/apps/Box86/icon-64.png b/apps/Box86/icon-64.png new file mode 100644 index 0000000..30cda6f Binary files /dev/null and b/apps/Box86/icon-64.png differ diff --git a/apps/Box86/install b/apps/Box86/install new file mode 100755 index 0000000..9fc17cc --- /dev/null +++ b/apps/Box86/install @@ -0,0 +1,21 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +if [ -d ~/box86 ];then + echo "box86 already exists on your system. Moving the old version to Trash..." + gio trash ~/box86 +fi + +git clone https://github.com/ptitSeb/box86 || error "failed to download repo!" +cd box86 || error "failed to enter directory!" +mkdir build; cd build +cmake .. -DRPI4=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo || error "cmake failed!" +make -j24 || error "make failed!" +sudo make install || error "sudo make install failed!" +sudo systemctl restart systemd-binfmt diff --git a/apps/Box86/uninstall b/apps/Box86/uninstall new file mode 100755 index 0000000..fdfab01 --- /dev/null +++ b/apps/Box86/uninstall @@ -0,0 +1,14 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +echo "moving box86 to trash." +gio trash ~/box86 + +echo "Deleting box86." +sudo rm -f /usr/local/bin/box86 diff --git a/apps/Box86/website b/apps/Box86/website new file mode 100644 index 0000000..2d22d10 --- /dev/null +++ b/apps/Box86/website @@ -0,0 +1 @@ +https://github.com/ptitSeb/box86