mirror of
https://codeberg.org/ciciplusplus/bLEH
synced 2026-11-30 14:45:39 -10:00
main
bLEH
bLEH - High Level Emulator for i386 macOS executables (B-type).

Status
blEH is a proof of concept currently capable of running a few test examples (see examples/).
One "real" app is working too - Reckless Gateway 1.0.5 (no sound or network connection).
Important: by design, only modern macOS hosts are supported.
Usage
Building
- Install Golang
brew install go
- Install Unicorn
brew install unicorn
- Compile (optional)
Make sure that CGO_CFLAGS and CGO_LDFLAGS are pointing to header and lib of the Unicorn. See run.sh for expected defaults.
go build -o bleh .
Running
./run.sh -file <path to i386 macOS executable>
Note: if you want to run a .app bundle, you should specify a full path to the executable.
Thus for running a ShaderCube example:
./run.sh -file ./examples/ShaderCube.app/Contents/MacOS/ShaderCube
License
bLEH is licensed under the GNU General Public License, version 2 only. See LICENSE.
bLEH links to the Unicorn Engine, which is GPL-2.0-only.
Languages
Go
89.7%
Objective-C
10.1%
Shell
0.2%