Repository navigation
Releases
x2recomp 0.3.0
x2recomp 0.3.0 — release notes
Which code this describes.
mainat the 0.3.0 tag: the CDTV release, the launcher and the in-game menu, asset
packs version 2, the importer additions and the 2026 security fixes are all in this one release. The test counts
below were measured on this commit (macOS 27.0.1, Apple M4 Pro, 2026-11-24).
A native port of the Amiga game Xenon 2 Megablast (The Bitmap Brothers, 1989), built by static
recompilation. The game's own 68000 code runs on a model of a PAL Amiga 500 — copper, blitter, Paula audio,
CIAs and a scanline display — either on the Musashi interpreter or as 68000 code translated to C++.
0.2.0 read the preservation formats and most of the known disk releases. 0.3.0 adds the CDTV release of the game as a
second game: it imports from your own CDTV disc image, starts and plays on the interpreter and on the translated
executor, plays its CD audio and speech, and takes the modernisation options. It is also the release of the window you can use instead of
remembering options: the launcher opens before a game starts and the in-game menu opens over it, both made of the same pages, and each page
shows the command line that does the same thing. The command line is unchanged and does everything the window does. Asset packs grow to version 2
(whole screens, the status panel, backgrounds, round stars, sound effects, speech and music), and the 2026 security audit's fixes are in. The supported games are the Amiga disk
releases and the CDTV release. The disk releases run exactly as before: the canonical image and every existing replay golden are unchanged.
Read "What is not verified" before you rely on it.
Downloads
| Platform | File | sha256 |
|---|---|---|
| macOS (Apple Silicon and Intel) | x2recomp-0.3.0-macos-universal.zip |
c5ae3d4d68dececb1455ee348208e34467532dd89c8443a8c1ff172e4f4d8482 |
| macOS (Apple Silicon and Intel) | x2recomp-0.3.0-macos-universal.dmg |
54d94f80b20e6b3aa910b86a17527cd5a0ca521e86d9355c78761b58e2780e03 |
| Windows x64 | x2recomp-0.3.0-windows-x64.zip |
19977386cecdccfa9940599f612169f08e17a2bc0fe1b0ae099fd54e1349c1fd |
| Linux aarch64 (64-bit Raspberry Pi OS) | x2recomp-0.3.0-linux-aarch64.tar.gz |
a4fcb18f4069f84ab03c32887ace405dfa00a142316cdf496ebf6d84bf0e925e |
| Linux x86_64 | x2recomp-0.3.0-linux-x86_64.tar.gz |
6c519c4138011f1892e9b7261d155873c8c3d548d8ff780f34619c2fe8fa9264 |
None of the binaries is code-signed (macOS has an ad-hoc signature only); see "Install and quick start".
Legal position
- This release contains no game data. No disk images, no disc contents, no game code, no graphics, no music, no speech,
no text, and no code translated from the game. - Bring your own copy. You need your own copy of the game as Amiga disk images or dumps, or as a CDTV disc image.
x2recomp --importreads them on your machine and writes what the runtime needs to your per-user data directory.
Nothing leaves your machine. - No CDTV firmware is needed or shipped. The CDTV release runs without the CDTV ROMs: the runtime answers the few
operating-system services the program asks for itself. The CD audio and speech are played from your own disc image. - The importer is not a cracking tool. For the copy-protected retail disk it reads the key track from your dump and the
runtime answers the game's own check; no key value is in the program and the image is not modified. The separate opt-in
patch (unchanged since 0.2.0) is described inREADME.mdanddocs/BUILDING.md. - The opt-in protection patch is not in the way. It is still only offered while importing a retail disk 1 that has no key
track, behind the full disclaimer and a separate "I own the original disc" box that starts unticked every time. - x2recomp is free software under the GNU GPL, version 3 or later (GPL-3.0-or-later). The full text is in
LICENSE,
included in the package. It is GPL because part of the accurate-timing code is derived from WinUAE/Amiberry
(PROVENANCE.md). Third-party components keep their own GPL-compatible licences (THIRD-PARTY-NOTICES.md,licenses/): the
launcher adds the Unscii pixel fonts (public domain), and dr_flac and stb_vorbis (asset-pack audio) are listed with their licence texts.
The pictures of the launcher are drawn by the program itself.
Xenon 2 Megablast itself is copyright The Bitmap Brothers / Mirrorsoft and is covered by no licence here; the music is
credited to Bomb the Bass and others and is licensed separately from the game. The GPL gives you the right to the complete
source for what is in the package: it is the git repository this release was built from, recorded in the release tag. A
-DX2_RECOMP=ON build contains C++ translated from your own game image (either release) and is not redistributable.
What is new: the CDTV release
- Import.
x2recomp --import <CDTV disc image>takes a.cuewith its.binfiles, a ZIP or folder holding them, or the
bare data track as.bin/.iso. It reads the disc's ISO 9660 volume, links the game programX2at fixed addresses and
stores it, with the 95 files the game loads from the disc, inassets-cdtvin your data folder (the disk releases stay in
assets). The same command imports the CD audio tracks into the data folder (about 680 MB of PCM).--diagnose-image
and--list-variantsknow the disc. - Play.
x2recomp --game cdtv(or plainx2recompwhen it is the only game imported; with both imported,game = auto|disk|cdtvinsettings.cfgchooses, andautostarts the disk release and says so). The
front end, all five levels, bosses, the shops, two players, game over and the ending run. The window title names the
release. - CD audio and speech. The CD is the music, as in the original; the program asks the CD for a track and polls it once a
second (every 51 ticks), so a finished track restarts up to about a second after its end (the program's own poll; the original
drive's seek time is not modelled).
Speech and effects use the game's own sample player. Which track plays where is indocs/re-notes/cdtv-audio.md. Without
imported CD tracks the game runs and says once that the music is silent. - Controls. The CDTV joypad's second button fires the special weapon (
button2, defaultC, or a gamepad shoulder
button).input.cfgis now format 5 (version 4 files are upgraded and kept asinput.cfg.bak). The CDTV remote control
is not used: the game never reads it. - Scores. The CDTV release saves its high-score table (the original keeps none), in its own file.
- Recompiled executor and modernisation.
-DX2_RECOMP=ONtranslates the CDTV game too, bit-identical to the interpreter.
Interpolation, widescreen, the HD status panel, filters, asset packs and the Faithful switch work on it. - Under the hood: a selectable 1 MB chip RAM model (the CDTV program needs about 800 KB; the disk builds keep their 512 KB
behaviour exactly).
What is new: the launcher and the in-game menu
- The launcher.
x2recompstarted without arguments (or double-clicked) opens it: one card for each release you have imported
(Amiga disk, Amiga CDTV) with Play, and the import page when nothing is imported yet. Drop disk images, flux dumps, a disc
image, a zip or a folder on it; it says what it found, shows a progress bar and a Cancel button (a cancelled import changes
nothing), and explains errors in plain sentences. Pages: Display, Audio (with a test tone), Controls (key and gamepad
bindings), Packs (enable, order, check, add and dump asset packs), Advanced and About.--guiand--no-guiand
launcher = auto | always | neverchoose when it appears; any other argument starts the game exactly as before. - The in-game menu. F1 (Cmd+1 on a Mac) or the gamepad's Start button pauses the game and opens the Faithful switch, Display, Audio,
Controls, Asset packs, Assists and cheats, Reset, Back to launcher and Quit. Changes apply at once where the release can take them
and are saved. F1 no longer toggles Faithful by itself: the switch is the menu's first row,--faithfulis unchanged, and the
faithfulaction ininput.cfgcan still be bound to a key (input.cfgis format 6; older files are upgraded and kept asinput.cfg.bak). - Advanced. What each import recorded, a bug report you can copy (no game data, no folder names), a check for any image, the program's
log (x2recomp.login the data folder), export, import and reset of the settings file, and the command-line-only tools. - Comfort. Text size (Large), Contrast (High) and Motion (Reduced). Everything works with a keyboard or a gamepad alone. Screen
readers are not supported; the command line is the accessible way. docs/GUI.mddescribes every page.
What is new: asset packs version 2 and the importer additions
- Asset packs, version 2. Beyond sprites and tiles a pack can now replace whole screens and the status panel, give the far background
layer backgrounds, round stars and hit flashes, and replace the game's sound effects, speech and music (WAV, FLAC and Ogg
Vorbis, with loop points). A version 1 pack loads unchanged; packs layer, can be ZIPs, and are found in apacksfolder. The tools:--dump-assets
and--dump-audiowrite what to replace,--check-asset-packvalidates against a dump,--list-asset-packslists, andtools/assetpack/
slices, packs sprite sheets, validates and builds a demo pack from your own dump (make_demo_pack.py). The graphics cost is inside the
design's 5% budget (1.3 to 1.6% of a 60 Hz frame on the flood replays), round stars render in parallel (--modern threads=N), and the guide,
field reference, five tutorials and a complete skeleton ship in the package (ASSET-PACKS.md,ASSET-PACKS-REFERENCE.md,asset-packs/). - **Importer additions since 0.2.0.*...
x2recomp 0.2.0
x2recomp 0.2.0 — release notes
A native port of the Amiga game Xenon 2 Megablast (The Bitmap Brothers, 1989), built by static
recompilation. The game's own 68000 code runs on a model of a PAL Amiga 500 — copper, blitter, Paula audio,
CIAs and a scanline display — either on the Musashi interpreter or as 68000 code translated to C++.
0.1.0 imported one release of the game: two cracked ADFs. 0.2.0 reads the preservation formats (IPF, flux dumps,
DMS, WHDLoad) and most of the known releases, including the original copy-protected retail disks. The game itself
runs exactly as before: the canonical image and every existing replay golden are unchanged. Read "What is not
verified" before you rely on it.
Downloads
| Platform | File | sha256 |
|---|---|---|
| macOS (Apple Silicon and Intel) | x2recomp-0.2.0-macos-universal.zip |
e33760da6334f6eda3b6733d6422fac800020c3f33e8fcd1a38561e49c2c8304 |
| macOS (Apple Silicon and Intel) | x2recomp-0.2.0-macos-universal.dmg |
38a1d590abfdbdde41bb6d4f56f1a995b4336c62cc95f5613ecd7d1d9d8e9e00 |
| Windows x64 | x2recomp-0.2.0-windows-x64.zip |
82874b3e59f902d5fd383e47e13a32004313b15f0aad62862195823c9c60bd06 |
| Linux aarch64 (64-bit Raspberry Pi OS) | x2recomp-0.2.0-linux-aarch64.tar.gz |
d831cbc25c06ddc3157ce36d90993c7de27bd09a135dace4d5b0510d1ab9297b |
| Linux x86_64 | x2recomp-0.2.0-linux-x86_64.tar.gz |
c5e0b61fa7a46d3a24c3525e4ad6b40cede82d1584fc703e804f99c14ede3e26 |
The Windows zip was re-packed on 2026-10-31 with the same files (the executables are byte for byte unchanged): the first upload stored backslash path separators, which unzip on macOS and Linux flattens, and a CRLF SHA256SUMS.txt. The checksum above is for the re-packed file.
None of the binaries is code-signed (macOS has an ad-hoc signature only); see "Install and quick start".
Legal position
- This release contains no game data. No disk images, no game code, no graphics, no music, no text, and
no code translated from the game. - Bring your own disks. You need your own copy of the game as Amiga disk images or dumps.
x2recomp --import
reads them on your machine and writes what the runtime needs to your per-user data directory. Nothing leaves
your machine. - The importer is not a cracking tool. For the copy-protected retail disk it reads the key track from your dump
and the runtime answers the game's own check; no key value is in the program and the image is not modified. The
separate opt-in patch is described below. - CDTV music is user-supplied. The optional CD-audio layer plays tracks from your own CDTV disc image.
- x2recomp is free software under the GNU GPL, version 3 or later (GPL-3.0-or-later). The full text is in
LICENSE, included in the package. It is GPL because part of the accurate-timing code is derived from
WinUAE/Amiberry (PROVENANCE.md). Third-party components keep their own GPL-compatible licences
(THIRD-PARTY-NOTICES.md,licenses/). New in this release: the IPF reader is a port of the BSD-3-Clause MAME
reader (attribution inTHIRD-PARTY-NOTICES.md); the SPScapsimglibrary is not used or shipped; the DMS and LHA
decoders are our own code written from the public format descriptions.
Xenon 2 Megablast itself is copyright The Bitmap Brothers / Mirrorsoft and is covered by no licence here. The GPL gives
you the right to the complete source for what is in the package: it is the git repository this release was built from,
recorded in the release tag. A -DX2_RECOMP=ON build contains C++ translated from your own game image and is not
redistributable.
What you can import
x2recomp --list-variants prints this table with the hashes; x2recomp --diagnose-image FILE... tells you what the
importer makes of a particular image.
| Release | Give the importer | Result |
|---|---|---|
BS1 [t+3] two-disc set (the canonical image), its [a] and Deejay99 variants, the [h Timecircle] set, the "Xenon 2 & 4 Others" compilation |
ADF, ADZ, DMS, IPF, flux, WHDLoad, zip | the canonical image: all replay goldens apply |
Retail two-disc release, Image Works, both pressings (SPS 0297, SPS 2874 [a]) |
disk 1 as an IPF or flux dump (SCP, KryoFlux stream folder, HFE) so the Copylock key track is kept; disk 2 in any format | imports; not canonical (original credit text; the first pressing has a code revision in the level 4 boss); own goldens |
the same retail disk 1 from a plain ADF, DMS or WHDLoad Disk.1 (no key track) |
add --apply-protection-patch --i-confirm-i-own-the-original |
refused with the options unless you choose the opt-in patch |
| Power Pack compilation (SPS 2234, one disk) | IPF, flux or the WHDLoad Disk.1 |
imports as its own build (build=power-pack-2234); disc 2 rebuilt from the disk's six game files (functionally equal; 61 unused sectors differ); slightly different audio (lower-precision samples) |
| Bombuzal + Xenon 2 compilation (SPS 1762, two disks) | both disks (IPF, flux, WHDLoad) | imports as its own build (build=compilation-1762, own disk 2); plays levels 1-5, the shop and the ending; its recorded runs differ from canonical early on and the cause is not investigated |
| cracks of the retail disk 1: PNA, Quartex, Flashtro +16 | ADF + the standard disc 2 | import; own variants (canonical=false), Flashtro +16 is a trainer build |
PNA [a], Black Monks, and the one-disk crunches Vision Factory, VF [a], Black Monks [h][t +36] |
ADF (+ the standard disc 2 where needed) | import; trainer builds flagged trainer=true; Black Monks' image tail is repaired from a duplicate block, the crunches are decrunched and disc 2 rebuilt from their data files |
Predators +9, Flashtro +16 [a], bad disk 2 copies |
refused with the reason (a trainer replaced the entry code; an unanalysed transformation; a copier's filler in the level data) | |
| the playable demo disks, the L.G.C.S.S. compilation, WHDLoad demo and CDTV installs | recognised and reported, not imported: different programs |
Formats read: ADF, ADZ, ZIP (nested), DMS, extended ADF, IPF, SCP, KryoFlux stream files (any DTC file prefix), HFE,
LHA archives, WHDLoad installs, and folders of these. CDTV discs (for the music layer) as before.
The opt-in protection patch
The retail first disk is protected; the default way to import it keeps the protection check intact and answers it in
the runtime from a receipt that your own key track verified. If you only have a plain ADF, DMS or WHDLoad Disk.1 of
that disk (no key track), you can ask for the alternative explicitly:
x2recomp --import disk1.adf disk2.adf --apply-protection-patch --i-confirm-i-own-the-original
This changes 18 bytes of the game image decoded from your retail disk 1 (the Copylock call and a check constant), in
your own copy on your own machine. It prints a disclaimer first, stops with exit code 4 unless you pass the
confirmation flag (the import window asks for a second keypress), applies only to a catalogued retail pressing
(checked by SHA-1), and is recorded in the manifest as patched=true. Nothing patched is distributed by this
project. Use it only with a copy you own, and comply with the law where you live. The key-track method is the default
and the preferred one.
Install and quick start
Unpack the archive for your platform, then import your disks. The first-run window also accepts them dropped onto it.
macOS — the archive holds x2recomp.app with SDL3 bundled. The app is ad-hoc signed, not notarised, so Gatekeeper
will object on first launch: right-click the app and choose Open, or clear the quarantine flag with
xattr -dr com.apple.quarantine x2recomp.app.
./x2recomp.app/Contents/MacOS/x2recomp --import Disk1.ipf Disk2.ipf # or your own dumps, ADFs, a zip, a folder
open x2recomp.app
Windows — unzip anywhere and run x2recomp.exe from the folder (SDL3 is beside it, and the C runtime is linked in,
so nothing has to be installed). The exe is unsigned, so SmartScreen may warn on first run: choose "More info", then
"Run anyway".
x2recomp.exe --import Disk1.ipf Disk2.ipf
x2recomp.exe
Linux — bin/x2recomp finds lib/libSDL3.so.0 beside it through its RUNPATH; nothing has to be installed.
Take linux-aarch64 for 64-bit ARM (a Raspberry Pi 3, 4, 5 or 400 on 64-bit Raspberry Pi OS) and linux-x86_64 for a
PC; uname -m says which. Minimum system: glibc 2.35 (Debian 12, Ubuntu 22.04 and newer). 32-bit Raspberry Pi OS
(armv7l) is not supported by either archive.
tar xzf x2recomp-0.2.0-linux-aarch64.tar.gz && cd x2recomp-0.2.0-linux-aarch64
./bin/x2recomp --import ~/Disk1.ipf ~/Disk2.ipf
./bin/x2recomp
x2recomp --import exits 0 imported, 1 could not write, 2 bad input, 3 unsupported image (including a protected retail
disk 1 without its key track), 4 confirmation required. Making your own dump: docs/DUMPING.md. Controls, assists and
every option are in README.md and BUILDING.md. Imports made by 0.1.0 are redone automatically from their recorded
sources the first time you start this version.
What is verified, and how
- 128 tests pass in the default interpreter build, run without game data on every CI platform (macOS arm64, macOS
universal, Linux GCC and Clang, Windows MSVC are required checks; macOS x86_64 and Windows MinGW-w64 also run). The tests
that need real images are reported as Skipped there. With the maintainer's images present they all pass locally.
The translated-executor (-DX2_RECOMP=ON) suite is 150 tests; run with the maintainer's images, all pass exceptgame_import, whose expectations for the cracks were still the 0.1.0 ones (fixed in this release, then re-run), and four folder-driven local tests (flux_files,dms_files,lha_files,ipf_files) that are skipped without a folder. - Replay goldens (frame and audio hashes, the whole scripted corpus: title, five levels, shop, two-player, game over,
ending)...
x2recomp 0.1.0
x2recomp 0.1.0 — release notes
A native port of the Amiga game Xenon 2 Megablast (The Bitmap Brothers, 1989), built by static
recompilation. The game's own 68000 code runs on a model of a PAL Amiga 500 — copper, blitter, Paula audio,
CIAs and a scanline display — either on the Musashi interpreter or as 68000 code translated to C++.
This is the first collected version. It is a working port, not a finished product: read "What is not verified"
before you rely on it.
Downloads
| Platform | File | sha256 |
|---|---|---|
| macOS (Apple Silicon and Intel) | x2recomp-0.1.0-macos-universal.zip |
9b66dbdd4a99518dc46aa9f65f998a0529dc0ac207e036e23faa639e65e91dff |
| macOS (Apple Silicon and Intel) | x2recomp-0.1.0-macos-universal.dmg |
6b0ac056d8fe6322c20ae118d99112f8ef940db40ca10ea9b71aaece7ec1b9c2 |
| Windows x64 | x2recomp-0.1.0-windows-x64.zip |
02f66b61e6375d5c7147fe774ab118518843fa052dd4a9f91ab5762514ddc8c3 |
| Linux aarch64 (64-bit Raspberry Pi OS) | x2recomp-0.1.0-linux-aarch64.tar.gz |
574b2b3a7589aa2564ce11d674ca0f584bd77006e93bb1a8e0eaa8192d9502a5 |
| Linux x86_64 | x2recomp-0.1.0-linux-x86_64.tar.gz |
ccfddb768bd3a770753aa397124979516108be943d5255855139663dd5ddfb5c |
The Windows zip was re-packed on 2026-10-31 with the same files (the executables are byte for byte unchanged): the first upload stored backslash path separators, which unzip on macOS and Linux flattens, and a CRLF SHA256SUMS.txt. The checksum above is for the re-packed file.
None of the binaries is code-signed (macOS has an ad-hoc signature only); see "Install and quick start".
Legal position
- This release contains no game data. No disk images, no game code, no graphics, no music, no text, and
no code translated from the game. - Bring your own disks. You need your own copy of the game as Amiga disk images.
x2recomp --import
reads them on your machine and writes what the runtime needs to your per-user data directory. Nothing
leaves your machine. - CDTV music is user-supplied. The optional CD-audio layer plays tracks from your own CDTV disc image.
No disc audio is shipped. - x2recomp is free software under the GNU GPL, version 3 or later (GPL-3.0-or-later). The full text is in
LICENSE, included in the package. It is GPL rather than permissive because part of the accurate-timing
code is derived from WinUAE/Amiberry, which is GPL;PROVENANCE.md(also in the package) records exactly
which code that is and the compatibility reasoning. Third-party components keep their own licences, all
GPL-compatible, listed inTHIRD-PARTY-NOTICES.mdand reproduced in full inlicenses/. SoftFloat, which
Musashi can use for its FPU, is deliberately not built: this game is a 68000 with no FPU, so none of it is
compiled, linked or shipped. Musashi itself is vendored with three small local changes (two fixing an
MSVC miscompilation of its opcode-table generator, one a macOS/BSDsetjmpoptimisation); they are marked in its source, its MIT-style licence permits
modification, and its notice is retained (PROVENANCE.md§9).
Xenon 2 Megablast itself is copyright The Bitmap Brothers / Mirrorsoft and is covered by no licence here.
The GPL gives you the right to the complete source for what is in this package. It is the git repository
this release was built from; the commit is recorded in the release tag. If you redistribute a modified
binary, pass the source on with it. Note that a -DX2_RECOMP=ON build is not redistributable: it
contains C++ translated from your own game image, which is the game's code, not this project's.
Which game release is supported
Only the two-disc BS1 "[t+3]" release, for example a Xenon2.zip holding
Xenon II - Megablast (1of2)[t+3].adf and (2of2)[t+3].adf, or the same disks in a TOSEC-style set. The
importer identifies disks by content, not by file name, and also accepts:
- the disk 1
[a]variant with an alternate boot block; - the Deejay99 UAE-fix pack (its disk 2 differs by 26 bytes, so the importer warns).
The single-disk cracks (PNA, Quartex, Black Monks, Vision Factory) are different builds and are recognised and
rejected. DMS, IPF and extended (UAE-1ADF) images must be converted to plain 880 KB ADFs first.
The supported release is cracked and trained, but the importer never runs the trainer loader: the game image
is used exactly as packed, so there is no trainer and no infinite lives.
Install and quick start
Unpack the archive for your platform, then import your disks.
macOS — the archive holds x2recomp.app with SDL3 bundled. The app is ad-hoc signed, not notarised, so
Gatekeeper will object on first launch: right-click the app and choose Open, or clear the quarantine flag with
xattr -dr com.apple.quarantine x2recomp.app.
./x2recomp.app/Contents/MacOS/x2recomp --import ~/Xenon2.zip
open x2recomp.app
Windows — unzip anywhere and run x2recomp.exe from the folder (SDL3 is beside it, and the C runtime is
linked in, so nothing has to be installed). The exe is unsigned, so SmartScreen may warn on first run: choose
"More info", then "Run anyway".
x2recomp.exe --import Xenon2.zip
x2recomp.exe
Linux — the tarball holds bin/x2recomp with lib/libSDL3.so.0 beside it, found through the executable's
RUNPATH. Nothing has to be installed first.
sha256sum x2recomp-0.1.0-linux-aarch64.tar.gz # compare with the Downloads table
tar xzf x2recomp-0.1.0-linux-aarch64.tar.gz && cd x2recomp-0.1.0-linux-aarch64
./bin/x2recomp --import ~/Xenon2.zip
./bin/x2recomp
Take linux-aarch64 for 64-bit ARM (a Raspberry Pi 3, 4, 5 or 400 on 64-bit Raspberry Pi OS, or any other
arm64 Linux; the Pi 3 is the slowest of these and none has been timed) and linux-x86_64 for a PC; uname -m says which. Minimum system: glibc 2.35, so Debian 12
"bookworm", Ubuntu 22.04 and anything newer. 32-bit Raspberry Pi OS (armv7l) is not supported by either
archive — use the 64-bit OS image on the same Pi, or build from source.
A desktop session needs no options. Force a backend with SDL_VIDEO_DRIVER=wayland|x11|kmsdrm and
SDL_AUDIO_DRIVER=pipewire|pulseaudio|alsa (SDL3 loads them at run time, which is why one archive fits every
desktop). On weak hardware start with --scale 2 --filter nearest, leave --modern interp off, and raise
--audio-latency 80 if the sound breaks up. docs/PORTING.md has a Raspberry Pi test recipe.
You can also skip the import step and just start x2recomp: the first-run window asks you to drag your disk
images, a zip, or a folder onto it. On the command line, --import exits 0 on success, 2 for bad input and 3
for an unsupported image. --print-data-dir prints where imports and settings go.
Default controls: arrow keys and Ctrl or Z to fire; P, Esc and Space are the game's own keys; F11 or Alt+Enter
for fullscreen, F10 or Cmd/Ctrl+Q to quit, F12 to reset. Gamepads work and are hot-pluggable. The full list is
in README.md, and bindings can be changed in input.cfg in the data directory.
Everything optional is off by default. BUILDING.md in the archive documents every flag.
What is verified, and how
- 67/67 tests pass in the interpreter build and 89/89 with
-DX2_RECOMP=ON. - The interpreted and recompiled executors agree bit for bit across the whole replay corpus — compared
against each other, not against a stored expectation. - Replays cover the title, all five levels, the shop, two-player mode, game over and the ending, each
checked against recorded frame and audio hashes. - Compared against a reference emulator (Amiberry, running the original disks): pictures match except for
0.06-0.11% of pixels, all in the twinkling starfield; palette identical; the logic rate, stereo balance and
game state agree. Audio envelopes correlate at 0.98-0.999 per 100-frame window. - Builds and passes its tests on every supported platform in CI — macOS arm64, macOS universal, macOS
x86_64, Linux GCC, Linux Clang, Windows MSVC and Windows MinGW-w64, plus the repository hygiene check: all
eight jobs passed on the release tag (run41098436359). CI runs without game data, so this proves the code compiles and
that every test not needing the game passes. - Run with the real game on macOS arm64, macOS x86_64 (under Rosetta 2), macOS universal, Windows x64
(MSVC and MinGW-w64), and Linux arm64 with GCC 13 and Clang 18 in a container. The Windows run is the whole suite
with game data and every hash matches the macOS goldens (docs/WINDOWS-VERIFICATION.md). - The Linux archives themselves were run, not just built. The packaged
bin/x2recompstarts in a clean
debian:bookworm-slimcontainer with no packages installed — it needs only libc, libm and the SDL3 beside it
— and the aarch64 one reproduces thelevel1_play(24 hashes),boss1(24) andending_natural(20) replays
exactly from the user's own game data; the x86_64 one reproduceslevel1_play. Their glibc floor is 2.35 and
they carry no libstdc++ requirement at all. The x86_64 archive was built on a native GitHub runner
(.github/workflows/release-linux.yml). - Played by hand. On macOS the maintainer played the whole game from the first level to the end of the last
with the autofire and god-mode assists on. After the final shop the game starts again from level 1, which is how
the original ends. On Windows the maintainer played it in a window with sound, including the smooth
high-frame-rate modes, and reports that it matches the macOS experience; that is a hands-on impression, not a
measurement. Playing found and fixed the macOS keyboard problems (CHANGELOG.md). - Music that goes quiet while firing is the original's behaviour (Amiberry and FS-UAE both do the same). The
opt-in--protect-musickeeps the tune audible anyway (docs/re-notes/music-dropouts.md).
What is not verified
- **No comparison against real Amiga hardwar...