"We have box64 at home".
A streamlined tool to build and package box64 for MiceWine.
- Automated box64 compilation for ARM64
- Automated dependency installation
- sys/sem.h patching
- .rat package creation
- Commit management
- Automated tuning for current device
- Android device with Termux
- Basic understanding of Termux
- Copy the script to Termux:
curl https://raw.githubusercontent.com/Happ1ness-dev/BoxBuilder/refs/heads/main/boxbuilder -o $PREFIX/bin/boxbuilder && chmod +x $PREFIX/bin/boxbuilder
- Run initial setup:
boxbuilder
You'll be prompted for:
- Dependency installation + sem.h patching (recommended)
- Box64 repository (cloning) path (default:
~/git-projects/box64
) - Output directory for .rat packages (default:
/sdcard/Download
)
Configuration is saved to ~/.config/BoxBuilder/settings.conf
boxbuilder [command]
Commands:
build - Build box64
build update - Update repo & rebuild
pull - Update repository
checkout [hash] - Switch to specific commit
repatch - Reapply sys/sem.h patch
config - Show current configuration
Successful builds create a .rat package containing:
- box64 binary
- box64.box64rc config
- Package metadata
Output path: Your specified directory (default: /sdcard/Download
)
- Android 10+ (API 29+) is required
- Repository operations use
git reset --hard
- The script patches
sys/sem.h
to prevent build errors - Builds have ARM Dynarec and Android-specific optimizations enabled by default