A native Linux port of the Xbox 360 XBLA game Real Steel (Yuke's, 2011 — the robot-boxing game based on the DreamWorks film), built with the ReXGlue SDK static recompiler — the same toolchain family as 'Splosion Man, The Maw and Condemned 2.
Status: playable on Linux — boot, menus, the robot builder and
career fights verified by playing, on Kubuntu (AMD RX 6600 / RADV),
with graphics, PipeWire audio, controller, and FSR upscaling.
Windows build: in progress via GitHub Actions (see
.github/workflows/windows.yml), following the same recipe that
produced 'Splosion Man's verified Windows test build.
No game data is included in this repository or its releases. You must supply your own legally obtained copy of the game: the XBLA package for title ID 584111E0, or a folder containing
default.xexextracted from it. The launcher (below) can import and extract the XBLA package for you. Real Steel is © Yuke's / DreamWorks. This is a fan-made interoperability project; do not redistribute game assets.Note: the game's DLC (robot parts, motions, colour packs) were separate downloads on Xbox Live and are not part of the base package. If you have the add-on packages, the launcher's Import DLC or title update... button installs them (a package, a .rar/.zip/.7z of them, or a folder); see DLC below. The game's title update is supported too: import its
TU_...package the same way and the launcher starts the build made from it; see Title update. Online versus is not supported (the Xbox Live services it used are gone); local play is the target.
Linux builds ship as an AppImage plus a folder zip (see Releases):
extract, chmod +x the AppImage, run — the launcher auto-detects your
game folder (~/Games, mounted drives, next to the launcher) or lets
you pick it, and its Import XBLA Package button extracts a stock
XBLA package into a ready-to-play folder. Requirements: a distro with
glibc 2.43 (the current packages are built on a recent toolchain —
older-distro rebuilds are on the roadmap), Vulkan drivers for your
GPU, and PipeWire or PulseAudio.
The Factual Metal Launcher (yes, really) is the house TP launcher
shared with the other ports (tp-launcher/ in this repo, per-game
themed from one codebase — this build wears cage-steel teal):
- Game tab: detection status, one-click XBLA package import (built-in STFS extractor — no external tools), PLAY.
- Settings in four explained sections (Graphics / Audio / Storage & Logs / Advanced), each with a plain-language note on what it does: resolution scale, FSR or bilinear presentation, FXAA, MSAA, VSync, frame limit, mute, your choice of save-data and log locations — plus a Reset to Defaults button. Every setting maps to a flag the runtime actually has.
- Settings persist between runs; the exact command line assembled for
every launch is written to
last-command.txtnext to the logs.
Two title-specific defaults worth knowing about, both earned the hard way during the port:
- Game speed is the frame rate — keep the frame limit at 60. Real Steel advances its game logic one step per frame, so 45 fps plays at three-quarter speed and an unlimited frame rate runs menus at 1.5x. The launcher defaults to a 60 fps limit (and migrates older settings that had it at 0). The runtime's limiter schedules exact 1/60 s deadlines, so it holds 60.00, not "about 58".
- VSync is safe (and on by default). It only makes presentation
tear-free. Older builds also ran the guest's vblank at the real 60 Hz,
which snapped any frame that missed 16.7 ms to 30 fps — half-speed
fights; that strict mode is now opt-in (
--vsync_swap_wait=true). - The launcher always passes
--gpu_allow_invalid_fetch_constants=true. Real Steel issues texture fetches with 'invalid' fetch constants thousands of times per session; without the runtime's tolerance those draws render as flickering green textures.
Real Steel's last title update (TU 2, executable version 0.0.2.5) is supported. Releases ship two game programs built from the same runtime:
realsteel— the original release (0.0.0.5), as before.realsteel-tu— the game recompiled fromdefault.xexwith the title update'sdefault.xexpapplied. At start it applies the same patch to the image it loads, so code and data match.
Import the title update package (the TU_... file) with Import DLC or
title update...; it installs next to your add-ons
(<save data>/0000000000000000/584111E0/000B0000/). From then on PLAY
starts realsteel-tu and the launcher shows "Title update: 0.0.2.5"
(Settings > Advanced > Use title update turns it off). A default.xexp
copied next to default.xex works as well. Each program checks the
executable version it loaded and refuses to start on the wrong one,
with a message saying why, instead of crashing later. Only TU 2 is
supported; TU 1 (0.0.1.5) is detected and reported, and the original
release is used.
With the title update the game reads every add-on's text itself, so the later add-ons' part names are right without the string-table fix below, and its own additions appear, such as the "18. KO Rules Match" page in How to Play. (A KO-rules match itself is a DLC rule set; playing one was not tested.)
Verified headless: the title update build boots, loads a career save with all 18 add-ons, shows every DLC part name, and plays full fights at a locked 60 fps with no faults.
All 18 Real Steel add-on packages load and their parts appear in the
Assembly shop. Import them with the launcher's Import DLC or title
update... button (pick a package, an archive, or a folder; folders
are searched with their subfolders, archives inside a folder are not
opened): it installs into your Save data folder (or the
runtime's default, ~/.local/share/realsteel), in the layout the
runtime's content system reads, with the license data the game checks.
The later add-ons (14-21) were made for the game's title update. Run
without it (the original release), their parts used to show placeholder names
such as Text10900: the base game reads only the original string-table
format, and those add-ons keep their text in a newer one. The launcher
fixes that before every launch: it copies the missing part names and
descriptions from the newest add-on's table into the older-format
tables the game does read, keeping their structure exactly as the game
expects (originals are kept as string.pac.orig). The same fix is
available as a script, tools/dlc/merge_string_tables.py, which also
documents the format.
This fix runs only for the original release; with the title update (above) it isn't needed.
You need: the ReXGlue SDK (pinned commit, with the house patches and FidelityFX enabled), clang 20, Qt6 dev, Vulkan headers, and PipeWire + SPA development headers — without them SDL silently builds without a PipeWire audio backend and the game has no sound on PipeWire systems. (Ask us how we know.)
- Clone the SDK at
f5337cdc947ff6d4c4196737e2c807a48f2a1fc2, init its submodules, and applypatches/house-sdk.patch(git apply— the accumulated house fixes: input threading, codegen discovery, shader-cache and presentation work). - Codegen from your own
default.xex(or use the includedgenerated/):rexglue codegen, with the function hints inrealsteel_config.toml. If you re-run codegen you must redo the post-processing before the tree will build and play: runscripts/refix.sh(it freezes the codegen rule in the build graph and rewrites the handful of calls codegen leaves as fatal stubs withscripts/fix-tailcalls.py). Thegenerated/tree in this repo is already in that post-fix state — it's the tree that produced the shipping Linux build. The title update build has its own tree,generated-tu/(also included, post-fix): putdefault.xexand the TU'sdefault.xexpinassets-tu/and runscripts/codegen-tu.sh <rexglue>. It usesrealsteel_tu_manifest.tomland its own hints (realsteel_tu_config.toml, TU addresses — the base hints do not apply), post-fixes the tree, and puts back the base tree's frozengenerated/rexglue.cmake, which the codegen CLI always rewrites. - Build the game (both
realsteelandrealsteel-tu): CMake presetlinux-amd64-releaseon Linux,win-amd64-releaseon Windows, with-DREXSDK_DIR=<sdk tree> -DREXGLUE_ENABLE_FIDELITYFX=ON. (FidelityFX defaults OFF and fails silently — the game just looks blurry. Check for it.) - Build the launcher in
tp-launcher/(CMake, Qt6,-DTP_GAME=realsteel).
Note: never mix the executable and librexruntime.so /
librexgpu-xenos.so (or their Windows .dll counterparts) from
different build sets — it corrupts the heap.
The first release was slow in exactly the way a frame-locked game
shows it: in the 3D arena it rendered ~33 fps, so fights played at
roughly half speed. Profiling the runtime (headless, eu-stack
sampling, A/B per change on the same scene) found several runtime
bugs that are fixed in patches/house-sdk.patch:
| Fix | Arena fps (headless, uncapped) |
|---|---|
| First release | 32.9 |
| Per-draw vertex-fetch OOB trace off by default (it scanned every index buffer on the GPU thread to print a DEBUG line) | 36.5 |
| Multi-object waits are event driven (they busy-spun: the audio thread burned a core), register lookup table, timer thread blocks instead of spinning | 43.5 |
Write-watch faults no longer parse /proc/self/maps under the global lock (it stalled the GPU thread ~1/3 of the time) |
56.0 |
| Consecutive GPU register writes are batched (as in Xenia-Canary) | 67.7 |
With the 60 fps limiter the arena and fights now hold a locked 60.00 in the same headless setup (which itself adds ~5 ms per frame), so the game runs at its real speed. Pacing fixes: the limiter uses fixed deadlines (it used to drift below 60), and VSync no longer drops a late frame to 30 fps (see the quirks above).
Diagnostics: --rs_perf_log=true logs swaps/s, vblanks/s, frame-time
average/max and the guest clock rate every 2 s.
Testing: tools/linux/headless_run.sh runs the game on a private Xvfb
display with audio muted and real controllers disabled (see
docs/headless.md), so it can be tested on a desktop
that is in use.
The runtime backs guest memory with a ~4.8 GB shared-memory object.
Up to v1.1 it was a named /dev/shm/xenia_memory_* file, and crashed or
killed runs leaked it; once /dev/shm filled, new runs died with a
bus error right after "Guest memory arena mapped". The house runtime now
removes the name as soon as the object is created, so the kernel frees
the memory whenever the game exits, crash or not. Leftover files from
older builds are safe to delete while no game is running:
rm /dev/shm/xenia_memory_*.
Full attribution for every library, tool and asset this project uses — ReXGlue SDK, Xenia, Qt, 7-Zip, FidelityFX, FFmpeg, SDL and more — lives in CREDITS.md, with license texts in licenses/. This project's own code is BSD 3-Clause (see LICENSE), matching the ReXGlue SDK's license; the game itself remains © Yuke's / DreamWorks / Microsoft and no game data is distributed.
- Yuke's — for Real Steel, and for making heavy robots feel heavy.
- ReXGlue SDK team and upstream rexglue contributors — the recompiler and runtime that make this possible.
- The launcher is an original, clean-room design shared across the house ports (extraction, detection and settings model informed by the earlier launcher work on the Dante's Inferno and Condemned 2 recompilations).
- This port was built by Jason Hixon with heavy AI assistance (Muse, by Meta) on the coding side, and tested the old-fashioned way: by playing it. First boot to playable took one evening; the robots were, in fact, factual metal.