Repository navigation
Releases
XRecomp v0.19.5
XRecomp 0.19.5
A fix from a failure report sent from the app since 0.19.4.
- Prepare on Android 11 (XRECOMP-12): every Prepare failed within a second with « PACK_INVALID: the pack made
is not usable ». The program Prepare is started with (setsid) behaves differently on Android 11 than on later
versions: the app took it for a Prepare that had ended, and stopped listening before it had begun. It is now
waited for. Android 12 and later were not affected. - Clearer failures: a Prepare that ends without a result and without a pack is reported as
NO_RESULT, with
what was seen of it, not as an invalid pack;PACK_INVALIDnames the check that failed.
Known: this was found from the report's log and Android 11's sources, and not run on an Android 11 device;
whether a whole Prepare then completes there is not confirmed. The black screen of D3D8 4361 titles stays until
XBA-349 is done.
Changes
Prepare
- it no longer ends before it starts on Android 11 (setsid -w); an exit without a result is not « PACK_INVALID » (87fb051)
Built by CI from 2127f53. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.19.4
XRecomp 0.19.4
A fix from a failure report sent from the app since 0.19.3.
- PlayStation 2 discs (XRECOMP-11): a PS2 disc in a library folder was listed as a PS1 game, and its Prepare
failed with « PSX.EXE not on the disc ». A PS2 disc is the same kind of volume as a PS1 one; it is now told
apart by itsSYSTEM.CNF(BOOT2). XRecomp does not run PS2 games: the library lists such a disc on its own
line under the grid, a Prepare of one says what the disc is, and no failure report is sent for it. A library
that already shows one as a PS1 game is corrected by the first scan after the update.
Known: a PS2 disc as a .chd is listed under « Other files », without the PS2 line. The black screen of D3D8
4361 titles stays until XBA-349 is done.
Changes
PS1
- a PlayStation 2 disc is named as one, not prepared as a PS1 game (8cdce21)
Built by CI from 9d674dd. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp, latest main (2127f534)
XRecomp for Android built by CI from main at 2127f53: the app with the on-device Prepare (Python, capstone, clang + lld). No game inside. arm64-v8a, Android 11+.
Signed with the release key: it updates any earlier xrecomp-latest in place, keeping packs, saves and settings.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Install: open xrecomp-2127f534.apk on the device, or adb install -r xrecomp-2127f534.apk. Switching from a build signed with another key: docs/android/toolchain.md, Signing.
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.19.3
XRecomp 0.19.3
A fix from a crash report sent from the app since 0.19.2.
- N64 on a Vulkan 1.1 GPU (Retroid Pocket Classic, XRECOMP-10): every N64 game, and its shader warm-up,
crashed at start. Below Vulkan 1.2, paraLLEl-RDP read the host query reset feature without enabling its
extension, then called the missing reset function. The extension is now enabled, and timestamps stay off when
that function is missing. A new test (n64_rdp_vulkan_vk11) runs the RDP tests on the Vulkan 1.1 path. - Crash reports: the top frame now comes from the crashed game's own backtrace, not the first one in the
crash buffer. A crash through a NULL pointer (« ») now names its first caller. Reports also carry the
GPU's Vulkan version and the SoC.
Known: the black screen of D3D8 4361 titles stays until XBA-349 is done.
Changes
N64 Vulkan RDP
- no NULL call at start on a Vulkan 1.1 GPU; crash reports name the caller (3ee302e)
Built by CI from 66c26a0. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.19.2
XRecomp 0.19.2
Fixes and diagnostics from the problem reports sent from the app since 0.19.1.
- Prepare reports: a Prepare that fails before the lifter starts (toolkit missing, hash mismatch, I/O error
while installing) now writes its stack trace to prepare.log, the file attached to « Send report » and to the
automatic report. These reports carried the exception's message only (XRECOMP-6). - Xbox titles with an unknown D3D build (Crash Bandicoot: The Wrath of Cortex, D3D8 4361, black screen after
one frame, XBA-349): the log now says which software methods the GPU executor left unserviced, when the D3D
service still has no device after 10 s, and the semaphore releases that came before any target. Diagnostics
only: the next report from that title says what is missing; the game itself is not fixed yet.
Known: the black screen of D3D8 4361 titles stays until XBA-349 is done.
Changes
D3D service and executor
- say an unknown build's unserviced software methods and a device never found (bfb8a68, XBA-349)
Executor
- say a GPU semaphore release that comes with no target (ee7a27d, XBA-349)
Prepare
- a failure before tools.prepare keeps its stack trace in prepare.log (94e0fa4)
Built by CI from ba604cb. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.19.1
XRecomp 0.19.1
Fixes from the first problem reports sent from the app, plus the performance work since 0.19.0.
- Long disc image paths (Android, macOS, Linux): host paths were capped at 260 bytes and cut without a word. An
ISO with a long name in a deep folder made<image>/base/textures/saveimage.xbxthetexturesfolder, so files
under the disc did not open; DOOM 3 lost most ofbase/and showed « dirty disc » after its first save. Paths now
go up to 4096 bytes, and one that still does not fit fails with a warning instead of naming another file. - A Prepare queued behind another title shows its place in the queue on the Preparing screen. It showed
« Stopped » with Retry, and its automatic report went out as « PrepareFailed: ? ». Only a failed Prepare is
reported now. - Benchmark in the game menu: 60 s from the newest save state (or from boot); its result is sent only on Send.
Game runs can send a performance summary (opt-in, as the crash reports). - Prepare compiles the lifter's finished files while it still runs, and the object cache keeps its keys across
an app update. - Performance: GameCube loads, stores and the GX pipe in line (gxtex −15 % x86 / −12 % arm64); N64 RSP threaded
dispatch, wait loops skipped, SSE2 vector unit; Xbox 360 guest loads and stores without the NULL test, VMX
helpers on NEON / SSE2, depth and stencil resolves packed on the GPU. - Network library takes
.torrentfiles up to 64 MB and says why one is refused.
Known: the disc path and queue fixes are not checked on a device yet. Before this release, shortening the image's
name or folder works around the path one.
Changes
App
- a queued Prepare is not reported as a failed one (8551759)
- a Prepare queued behind another title still waits on the Preparing screen (57521ca)
disasm
- range and section lookups by bisection; recomp: lite prefilter (a7954e5)
Docs
- N64 RSP profile, the wait-loop skip, threaded dispatch and SSE2 VU, measured (e30be50)
- game performance reports (app-shell, profiling, host layer), the privacy text mentions frame rates (7f50067)
- x360 GPR loads and stores at their floor, measured (9aebf72)
docs/android/prepare.md
- object cache keys, plain.json, Python stage timings (ff3cbba)
- early compiles running at the lift's end (a07163f)
- overlap measurements, lifter peaks, the warm cache (714d003)
Game menu
- Benchmark, 60 s from the newest save state (or from boot), its result sent only on Send (d104b04)
Game performance
- a run summary from the perf counters, sent as a « game » transaction (c32a884)
- one summary per game process, its key noted at the start (03b9036)
GC
- address translation's common cases inline into gc_load / gc_store (XBA-295) (aabaa68)
- the dispatcher's common case inline, the probe walk out of line (a0fd2c0)
- silent AI spans mix to silence in one go (555616c)
- gc_store's common case keeps nothing across a call; pipe shorts and bytes at once (2858f3a)
GX
- the pipe's common write in line in gc_store; commands parsed in place, TLUT loads at once (4020f7d)
- each VAT's vertex format decoded once, read per attribute present (b4ca631)
N64 RSP
- loops that only wait run their iterations at once (db60b6b)
- threaded dispatch, no per-instruction r[0] or single-step checks (6a1bc62)
- SSE2 vector unit on x86-64 (b64e805)
Network library
- take .torrent files up to 64 MB, and show why one is refused in a sheet (7acb252)
Prepare
- compile the lift's finished files while the lifter runs (2d3d58a)
Prepare object cache
- keys survive an app update (bea2efd)
Prepare overlap
- pack.json early / lift_peak_mb, docs (516ddff, XBA-341)
- do not drain the early compiles before compile_all (33d7b98)
- no early compile for what the object cache has (5ffa3ee)
- keys.json keeps the digests of the last plan (df20f7a)
tools.recomp --split-bytes
- write the chunks as they fill up (0950fb9)
x360
- import calls find their thunk by a direct table, not a binary search (8fcb64f)
- count idle sweeps on the perf line; cheaper per-turn polls and sweep (b68111a)
- sync / lwsync / eieio are a compiler barrier when guest threads share one host thread (d76123f)
- lifted GPR loads and stores without the NULL test, the base in a prologue local, the index opaque (2314fe7)
- guest memory is separate storage from the context and the machine (clang); xe_ptr's index opaque too (de49935)
X360 depth resolves
- depth and stencil packed on the GPU, one read-back (WP-38) (505b5cb)
- packed path self-checked against the split one, flush first (e9304b2)
- resolve_write checks the packed words; RECOMP_X360_DEPTH_RESOLVE documented (4ca501a)
- the self-check needs its stencil pattern back; stex cleared whole (cd64a4f)
x360 identify
- decrypt in parts, keep the plain XEX across Prepares (23a0819)
x360 lift
- leaders found once, direct code lookups, lazy helper scan (9a0ce04)
x360 VMX
- vperm, the halfword packs and the byte / halfword merges on NEON / SSE2 (05a6a41)
- float NaNs by the AltiVec rule, independent of the compiler and -O level (469786f)
- the float helpers on NEON / SSE2, the NaN fix-up inline (298e81a)
x360_mirror
- the vector case keeps vectors in locals and stores around a load, so it fails without the opaque index (a13061f)
x360_vmx_ref
- the float digest is checked, not only printed (e324ea5)
Other
- Host paths up to PATH_MAX on POSIX, refused rather than cut when too long (76a620a)
Built by CI from 6bb0eba. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.19.0
XRecomp 0.19.0
A second Xbox 360 performance night, measured headless on Warhammer: Battle March. Frames and save states are byte
identical to 0.18.0, except where a change is opt-in or per title (below).
- Guest CPU:
MmQueryStatisticskeeps a page count instead of scanning (it was half of the boot's host CPU). The
VMX helpers work on 16- and 8-bit lanes, use the compiler's vector extensions and are inlined. Host CPU: the boot
is 3× faster and in-game play 1.8× (141 → 79 ms of guest time per swap). The scheduler turn is cheaper and makes
the same decisions. Prepare is not slower: the VMX-heavy files compile 27–41 % faster with NDK clang. - Renderer: 16-bit resolve formats take the fast path, and the stencil is read back in 2 passes instead of 8.
Tiled addressing is worked out per tile row, texture rows are read 16 bytes at a time, texture memory is hashed in
8 lanes and packed vertex formats use tables. Renderer CPU per swap is about half of 0.18.0's. - Warhammer resolves lazily by default (a per-title default). Over 921 swaps, frames and states are identical
to the eager mode. - GPU thread (WP-22 stage 2) is in but off by default. To try it, add
RECOMP_X360_GPU_THREAD=1to
recomp.cfg.
Known: none of this is measured on a device yet (XBA-345). X360 packs show as stale: Prepare them again to get the
VMX gain (old packs still run).
Changes
docs
- x360 GPU thread, unpaced results from boot and repeats (95b05a8)
Release
- the X360 performance night 2 makes a minor release (2e6ad6d, XBA-345)
x360
- MmQueryStatistics reads the physical heap's page count instead of scanning 128 Ki page flags (10d67fa)
- GPU thread stage 2 (WP-22), the command processor on the renderer's thread while the machine runs (9b8d50d)
- GPU thread stage 2, the scheduler waits for the GPU before skipping time; hold waits for a run; doc (b1551b3)
- GPU thread stage 2, signed back-pressure count; no scheduler wait for the GPU (e2231dd)
- GPU thread stage 2 off by default (RECOMP_X360_GPU_THREAD=1), awaiting a device check (c74f571)
- a cheaper cooperative scheduler turn (978e219)
- lazy resolves by default for Warhammer: Battle March (WP-2) (60f7618)
- the GPU thread's unpaced runs wait for posted work instead of running ahead (WP-22 stage 2) (29f8d27)
- a comment within 120 columns (f838f47)
x360 homebrew runner
- copy src/input, which x360_pad_map and so x360_run link since WP-25 (ed6c12b)
x360 renderer
- 16-bit resolve formats written the direct way, stencil read back four bits at a time (WP-36) (e128dff)
- packed vertex formats fetched straight from memory, one loop per format and swap mode (WP-36) (22a05e3)
- 2D-tiled texture rows read 16 bytes of blocks at a time (WP-36) (3e999cc)
- texture rows decoded with the format chosen once, half floats from a table (WP-36) (b182c52)
- texture bytes read a dword at a time from memory (WP-36) (a325b7d)
- 8_8_8_8 vertex components from a table; the packed vertex macro on lines of its own (WP-36) (7727762)
- read_stencil's comment says four bits a read-back (WP-36) (b4c358a)
- resolve rows addressed by tile, a whole tile row of texels at a time (WP-36) (2f76396)
- memory hashed in 8 scalar lanes (WP-36) (cc6f52d)
- 16-bit resolve rows addressed by tile, whole dwords stored directly (WP-36) (c1df26d)
- depth resolves stored straight into memory, one loop per swap mode (WP-36) (692b661)
- direct_rows' inner loop indented, tables made with tiled2d_split (WP-36) (a1d064c)
- 16-bit and half-float vertex components from tables (WP-36) (ca9e88d)
x360 tests
- the homebrew and arm64 scripts build x360_run with x360_pad_map again (f61ffbb)
x360 VMX helpers
- host-order lanes and vector ops instead of per-element shifts and masks (1de6c81)
Built by CI from 95a6732. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.18.1
XRecomp 0.18.1
Fixes from the first Fold8 problem report on Adventure Time (Xbox 360).
- Screenshots of GPU pictures: « Report a problem › Add a screenshot », the companion panel's screenshot and the
automatic cover shot had no frame for a game presented as a GPU texture (Xbox 360, GameCube with GX or GPU-YUV).
The window now draws the picture it shows into a picture of its own when one is asked, also while the game is
paused behind the menu, with the right colours (the Xbox 360 swizzle and float frames). F12 uses the same grab. - Frame generation on the Xbox 360 reads the picture as the window shows it (no red / blue swap, float frames
readable). - Frame generation without Lossless.dll: a game's « On » is dimmed in its Options with the reason, and the game
starts without frame generation instead of logging « no shader cache »; the choice applies once the DLL is imported. - Logs: console games (GBA, PS1, N64, GameCube, Xbox 360) no longer log « the disc image cannot be read »; one line
says the game goes to its own runtime.
Known: not checked on a device yet. On the Fold8, Adventure Time still draws only the interface, not the 3D scene
(under investigation). No Prepare needed; save states from 0.18.0 load.
Changes
Android
- frame generation without Lossless.dll says so, runs off (1e74062)
host_window
- screenshots of a texture present, grabbed by the presenting thread (d3bb840)
- frame generation reads a GPU picture as the window shows it (91558f0)
Shell
- route console games explicitly, no « disc image cannot be read » (d9eff64)
Built by CI from aba5df2. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.18.0
XRecomp 0.18.0
A speed night on every console but the Xbox 360. Every change is bit-exact: frame, RAM and audio hashes over 600
frames or more are identical to 0.17.0, and lockstep with the interpreters holds.
| Console | x86-64 instructions per frame (bench) | Prepare again? |
|---|---|---|
| GBA | 9.06M → 7.09M (−22 %) | yes |
| PS1 | 8.08M → 6.49M (−20 %) | no |
| N64 | 6.58M → 5.65M (−14 %) | yes |
| GameCube | audio mix −24 %, GX front end −14 % | no |
| Xbox | float stack code −30 % on arm64 (fistp without libm) |
yes |
- GBA: the prefetch model charges a run of plain instructions in one call, and exact segment cycles keep lifted
code running (instructions handed to the interpreter −43 %). - PS1: the SPU skips idle voices and silent reverb; handed instructions run in one loop; the HLE interrupt entry
and exit copy registers in blocks. - N64: COUNT reads stay in lifted code (polling screens 7× cheaper); one range test per store; the AI resampler
skips silence; a cheaper dispatcher hit. - GameCube: the 48 kHz audio mix without a call per frame; unaligned GX pipe writes take the fast path.
- Xbox: the OHCI controller no longer advances the frame number while a guest thread walks the USB lists
(XBA-329).
Known: not measured on the Thor yet (XBA-295, XBA-329 device checks). GBA, N64 and Xbox packs show stale; Prepare
them again. Save states from 0.17.0 load.
Changes
Docs
- GBA prefetch model, cheaper (XBA-295) (5253746)
- N64 resume points inside a block measured and not taken, what paid instead (XBA-295) (1d8e412)
- the prefetch-on fuzz test (XBA-295) (7ea9f92)
- GBA speed 6 (handed instructions from blocks, rc_pf_fetch_n's front) (4176987)
- the N64 frame around lifted code, profiled whole, and what paid (XBA-295) (8550650)
- N64 profile split under load (rdpq, polling) and the RDP's share (XBA-295) (58da776)
GameCube audio
- the 48 kHz mix without a call per frame (c615c33)
GBA
- one prefetch call for a run of plain instructions' fetches (XBA-295) (ca2ef0d)
- rc_pf_fetch_n charges the rest of a run at once once the buffer is empty (XBA-295) (afebd72)
- a segment that is one run checks the next event with its exact cycles (XBA-295) (941347b)
- literal loads from the function's region join a run (XBA-295) (d3a83e6)
- exact event checks for more segments, a lean rc_pf_fetch_n, refills in one call (XBA-295) (ebf4eca)
- rc_pf_fetch_n's short path covers fetches at the buffer's head after a gap (XBA-295) (f3b7cfb)
- prefetch-on fuzzing, and save states with a running buffer of no read cycles refused (XBA-295) (0b14f06)
- instructions handed over in the cartridge run from the predecoded blocks (e777de4)
- rc_pf_fetch_n's two frequent cases in a front without a frame (31f2bac)
GX
- unaligned pipe writes inside a 32-byte line take the fast path (c4f03e6)
Lifter speed 6
- fistp without a libm call, math functions without errno (9fbecab)
- fist's limits in the round-24 test, at Prepare's flags; numbers in prepare.md (4e51cfc)
N64
- n64_run --stats counts the hand-offs to the interpreter (XBA-295) (b12b48d)
- MFC0 / DMFC0 run in lifted code, through the core's COP0 read (XBA-295) (cfbd301)
- an inline store tests one range, the MI repeat mode folded into it (XBA-295) (bc0bbf7)
- the AI resampler skips its sums while the DAC holds silence (XBA-295) (0156f16)
- a dispatcher hit on a line checks only its pages' write counters (XBA-295) (7776dd7)
OHCI
- advance the frame clock under the list lock (XBA-329) (eee88fd, XBA-327)
PS1
- instructions handed to the interpreter run in one loop (XBA-295) (0e7a68e)
- ps1_cpu_step_handed declared in ps1_recomp.c, so packs stay current (XBA-295) (0f9a796)
PS1 HLE
- a TCB's registers in two block copies, the EvCB scan straight from RAM (XBA-295) (fed2d1c)
PS1 SPU
- idle voices and a silent reverb history cost nothing per sample (XBA-295) (a74759e)
Release
- the console speed night makes a minor release (d81b673, XBA-295, XBA-329)
usb_ohci_walker frame_race
- skip when the sides never overlap, no total past the owed cap (3592827)
Built by CI from 07ffee2. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.
XRecomp v0.17.0
XRecomp 0.17.0
Changes
docs
- RECOMP_X360_NOOP_DRAWS (WP-9) (45b7506)
Release
- the X360 performance night makes a minor release (86f005f)
x360
- MSAA off by default for Adventure Time (WP-11 item 5) (58b218f)
- lifted functions call each other from C (WP-16) (ba635f5)
- perf counters off the per-turn path (WP-31) (d0fc499)
- a cheap scheduler turn (WP-32) (b1faf61)
X360
- rectangle lists read back by default, the GPU fourth corner opt-in (590ec0f)
x360 dispatcher
- fast path for lifted code first (WP-20) (eb4aede)
x360 GPU
- x360_gpu_poll split into a post half and a run half behind an explicit seam (WP-22 stage 1) (95d484a)
- x360_gpu_drain runs the command processor only on the run half's own thread (WP-22 stage 1) (c1f8236)
x360 perf
- device counters, a second perf line (WP-19) (62fcaaa)
x360 perf line
- CPU time versus waiting, no-op draws, passes, hashed bytes (WP-15) (4914a01)
x360 Prepare
- packs for 4 KB-page devices leave out view4k_skew (WP-33) (b2af6b0)
x360 rectangle lists
- fourth corner on the GPU, no read-back (WP-10) (5577a1e)
x360 renderer
- skip draws that cannot write (WP-9) (27237e8)
- resolve-copy textures keep their texture object when size and format match (WP-11 item 3) (41e0f64)
- glCheckFramebufferStatus only when a draw FBO attachment changed (WP-11 item 4) (8177386)
- shader CRCs cached, large resolve copies checked sparsely (WP-12) (aafea02)
- stale eDRAM rows of the surfaces being bound cleared on the draw FBO (WP-11 item 1) (1d6adf7)
- resolve clears on the draw FBO when it has the surface attached (WP-11 item 2) (2814d23)
- invalidate attachments overwritten whole (WP-17, part 1) (c0506fe)
- resolve clears wait for the next pass that draws there (WP-17, part 2) (7ae4932)
- no depth attachment for passes that do not use depth (WP-17, part 3) (4d21186)
- sample and show resolve pictures in place (WP-18) (eb2e9ed)
- sampler objects for texture sampling state (WP-24, item 2) (89567e7)
- texture entries found by hash, 1024 of them, returned to bind_textures (WP-24, item 1) (f983179)
- render state set only when it changes (WP-24, item 3) (054e8e4)
- showing the front buffer's copy in place is opt-in (RECOMP_X360_DIRECT_PRESENT=1) (e79bf68)
- PA_SC_WINDOW_OFFSET moves the window scissor and the resolve rectangle (WP-26) (017d920)
- the viewport's z scale and offset through the depth range (WP-27) (8065f78)
- a clear through an MSAA view of 1x tiles goes to the 1x surfaces; unused depth untouched by default (WP-28) (b2a36a7)
- start-up self-test of the rectangle lists' capture (WP-29 step 1) (74cf88b)
- rectangle lists capture 60 components, not 64 (WP-35 step 1) (304aa5f)
- indexed rectangle lists below GLES 3.2, one point draw per index (WP-35 step 2) (cfc3e9b)
x360 resolves
- write-behind (lazy) resolves, on for Adventure Time (WP-2) (a019c26)
Other
- x360_run applies the per-title defaults like the app (WP-25) (4b2dcbb)
Built by CI from d739095. arm64-v8a, Android 11+. No game inside.
signed with: release key
Signer #1 certificate DN: CN=XRecomp, O=adserver.fr
Signer #1 certificate SHA-256 digest: bcf20446e6fe386f3cfaa1b875b25e997a770ae61ab24868dd4c9ce318f839fd
Desktop
*-macos-arm64.zip: the XRecomp app for Macs with Apple silicon (macOS 14+) in the toolkit folder it drives.
KeepXRecomp.appinside that folder. It is not notarized: before the first launch, run
xattr -dr com.apple.quarantine <the XRecomp folder>in Terminal (otherwise macOS blocks the app, or
runs it from a copy that cannot see its toolkit). Setup lists the Homebrew packages and Python it needs.*-linux-x86_64.tar.gz,*-linux-arm64.tar.gz: the toolkit for Linux, with its prebuilt runtime and the
GBA / PS1 / N64 players:bash tools/linux/install_deps.sh, then./xrecomp prepare /path/to/game.iso,
./xrecomp play <game>(docs/desktop/cli.md « Install »).*-windows-x86_64.zip(experimental, Xbox games only): the toolkit for Windows 10/11 x86-64. Python 3 and
Visual Studio's Build Tools (C++), thenxrecomp.cmd prepare C:\path\to\game.isoand
xrecomp.cmd play <game>(docs/desktop/windows.md).
No game inside: you prepare your own games on your computer.