Repository navigation
Releases
v0.2.0 — one-step launchers (Linux + Windows)
One-step launchers for Linux and Windows, plus a working Windows build.
Launchers (no toolchain installs)
| Platform | Download | What it does |
|---|---|---|
| Linux x86_64 | Benefactor-x86_64.AppImage |
one 121 MB file with the source and the toolchain inside: offline, double-clickable |
| Linux x86_64 | benefactor-launch.sh |
asks for the three ADFs, downloads source + benefactor-buildkit-linux-x86_64.tar.xz, builds, runs |
| Windows x86_64 | benefactor-launch.ps1 |
same with benefactor-buildkit-windows-x86_64.zip, native file dialog |
The kit contains cmake, ninja, the Zig C compiler, CPython with capstone, and SDL2. Nothing is installed system-wide: everything lives in ~/.local/share/benefactor-launcher (Linux) or %LOCALAPPDATA%\BenefactorLauncher (Windows).
# Linux — AppImage (recommended, no network needed)
chmod +x Benefactor-x86_64.AppImage && ./Benefactor-x86_64.AppImage
./Benefactor-x86_64.AppImage Disk1.adf Disk2.adf Disk3.adf
./Benefactor-x86_64.AppImage --level 12
# Linux — script launcher (downloads the kit on first run)
chmod +x benefactor-launch.sh && ./benefactor-launch.sh
./benefactor-launch.sh Disk1.adf Disk2.adf Disk3.adf
./benefactor-launch.sh --level 12# Windows
powershell -ExecutionPolicy Bypass -File .\benefactor-launch.ps1
powershell -ExecutionPolicy Bypass -File .\benefactor-launch.ps1 -Level 12First run translates the four runtime banks from your disks (a few minutes), then builds ~1,200 translated C functions. Later launches are instant.
You must supply the game disks
This release is source + tooling. You need the TOSEC CLS images; the launcher checks their SHA-256:
Benefactor (1994)(Psygnosis)(Disk 1 of 3)[cr CLS].adf 901120 bytes
Benefactor (1994)(Psygnosis)(Disk 2 of 3)[cr CLS].adf 901120 bytes
Benefactor (1994)(Psygnosis)(Disk 3 of 3)[cr CLS].adf 901120 bytes
Disk.1 0b7bc60dacc4ab66bb582c51d8fd12181693749f05ac49b7d7acbc31eeee9b71
Disk.2 2acbe50c90ad2302d97eaa0d18fa9eb6f8c15548817142676eb3960cb4ecd2be
Disk.3 afa4b06727dbf7c0d75649d4737bc832dbbb4ff95cf8c0bdd20a37260cb25b2a
Disks, ROMs, generated guest code and extracted artwork are never distributed.
Windows support
The engine now builds on Windows: a small Win32 compatibility layer provides the pthread subset, alarm()/SIGALRM watchdog and mkdir mapping the engine uses, and the opt-in POSIX HTTP debug server is excluded there.
Honest status: the Windows binary compiles (PE32+ x86-64, cross-built with the same toolchain the launcher ships) and the Linux build of the identical sources is fully tested, but this release has not been run on Windows hardware yet. Bug reports welcome.
Verified on Linux with the kit itself: levels 1, 49 and 60 reach playable state, and the credits roll plays.
Gameplay status (unchanged from v0.1.0)
- 60/60 levels playable; cold intro, menu flow, credits.
- PUAE lockstep: 5/87,984 px difference on level 1, 574/87,984 on world 5.
- Level-1 mixed and world-5 per-channel bounded PCM parity.
- 4:3 / 16:9 / 21:9, vanilla / BenRen software / BenRen Vulkan renderers, optional HD side HUD.
- Next stage is replacement artwork, keyed by the stable scene-inventory ids.
Benefactor remains the property of Digital Illusions/Psygnosis; unofficial, non-commercial project distributing only original port/runtime source (MIT).
v0.1.0 — native Benefactor port (pre-artwork)
Native, non-emulated PC port of Benefactor (1994, Digital Illusions / Psygnosis), produced by statically translating the game's 68000 code to C and implementing its Amiga services natively. No interpreter, no dynarec, no UAE at runtime.
You must supply the game disks
This release contains source code only. To play, you need the TOSEC images:
Benefactor (1994)(Psygnosis)(Disk 1 of 3)[cr CLS].adf 901120 bytes
Benefactor (1994)(Psygnosis)(Disk 2 of 3)[cr CLS].adf 901120 bytes
Benefactor (1994)(Psygnosis)(Disk 3 of 3)[cr CLS].adf 901120 bytes
SHA-256:
Disk.1 0b7bc60dacc4ab66bb582c51d8fd12181693749f05ac49b7d7acbc31eeee9b71
Disk.2 2acbe50c90ad2302d97eaa0d18fa9eb6f8c15548817142676eb3960cb4ecd2be
Disk.3 afa4b06727dbf7c0d75649d4737bc832dbbb4ff95cf8c0bdd20a37260cb25b2a
Disks, Kickstart ROMs, generated guest code and extracted artwork are deliberately not distributed.
Build
tar xzf benefactor-re-source.tar.gz && cd benefactor-re-source/port
cp /path/to/Disk.* . # the three CLS ADFs
PYTHON=/path/to/venv/bin/python tools/regen.sh # requires pycapstone
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j"$(nproc)"Regeneration translates the four runtime banks from your disks; it is required because generated code is derived from the game and cannot ship.
Run
./build/benefactor-pc Disk.1 Disk.2 Disk.3 # intro -> poster -> menu -> game
./build/benefactor-pc Disk.1 Disk.2 Disk.3 --level 12 # direct level 1..60
./build/benefactor-pc Disk.1 Disk.2 Disk.3 --credits # credits rollESC opens the pause menu: renderer (VANILLA / SOFTWARE BenRen / HARDWARE BenRen Vulkan), aspect (4:3 / 16:9 / 21:9), HD side HUD, controls, speed.
Verified in this build
- 60/60 levels reach playable state; cold intro, menu flow and credits work.
- Lockstep against a frozen PUAE oracle: 5 of 87,984 pixels differ on level 1, 574 of 87,984 on world 5; six level-1 asset regions byte-identical (388,006 bytes).
- Level-1 mixed and world-5 per-channel bounded PCM content/gain parity; native CIA audio schedule matches the three measured per-frame phases (scanlines 0, 8.5, 30.5).
- ATN/Imploder decoder differential: 34 streams, 32 byte-exact, 2 agreed corrupt, 0 mismatches.
- Reproducible sprite/tile inventory for the upcoming art pass: level 1 = 105 distinct assets, world 5 = 262.
Known limits: audio parity is bounded content/gain after local alignment, not sample-identical callback latency; the optional PUAE comparison harness requires the libretro-uae fork described in port/.gitmodules.
Next stage
Replacement sprite/tile artwork, keyed by the stable scene-inventory ids. None is included in this release.
Benefactor remains the property of its owners; this is an unofficial, non-commercial fan project distributing only original port/runtime source (MIT).