Repository navigation
Releases
ProjectTenshin v1.1.0 (Linux x86_64 + ARM64, Vulkan)
ProjectTenshin v1.1.0 — Linux x86_64 support, verified on an MSI Claw A1M
This release adds Linux x86_64 as a full target beside ARM64/Snapdragon, and
it is verified on real hardware: the game builds, boots and runs from Steam's
Game Mode menu on an MSI Claw A1M (Intel Core Ultra 5 135H, Intel Arc iGPU)
running CachyOS with Steam in Game Mode over gamescope.
What is new
x86_64 Linux is a first-class target
- The runtime's Linux host layer is now shared by both architectures. The
platform code moved fromplatform/arm64/toplatform/linux/and its
namespace fromprojecttenshin::arm64toprojecttenshin::host, because the
CPU-cluster classifier and the Vulkan helpers were never ARM-only: the
classifier readscpufreq/cpuinfo_max_freq, which describes a Snapdragon's
Prime/Gold/Silver tiers and an Intel hybrid part's P-cores/E-cores alike. - Hybrid-CPU thread pinning now works on x86_64.
PROJECTTENSHIN_PIN_PERF=1
(the default) pins the guest's fiber thread to the fastest cluster — the
P-cores of an Intel hybrid part — while the Vulkan driver and SDL3 worker
threads stay unpinned across every online core. - A new ROM-free package:
ProjectTenshin-Linux-x86_64-Vulkan.tar.gz, built
natively bytools/build-linux-x86_64.sh, holding the runtime self-test, the
Linux host-layer test, the Vulkan hardware probe and the launcher script. run_linux_vulkan.shis the Vulkan launcher for both targets: it prefers the
Freedreno/Turnip ICD on aarch64, reports the available ICDs on x86_64, and sets
the shader cache, resolution scale and pinning on either.
run_arm64_vulkan.shstays as the ARM64 entry point for v1.0.0's shortcuts and
forwards to it.- The presenter's shaderc fallback now also looks in
libs.x86_64/, so a
package can ship its ownlibshaderc_shared.so.1beside the runner.
Steam Game Mode without a desktop file by hand
- New
tools/steam_shortcut.pyregisters the game in Steam's library, which is
what Steam's Game Mode menu reads. It editsshortcuts.vdf— a binary VDF
file — with the key spelling Steam itself uses (AppName,Exe,StartDir,
the rest lowercase), keeping every existing shortcut byte for byte, and
refuses a file it cannot parse instead of overwriting it. --restart-steamstops Steam the only way that works in a Game Mode session:
the session's supervising unit is stopped first, becausesteam -shutdownis
answered by the session starting the client again within a second — and that
new instance readsshortcuts.vdfbefore an entry written afterwards exists.
The script then writes the file, starts the unit again, andlistandremove
manage what is registered.
Tests that survive a real handheld
recomp-runtime-input-host-sdlneeds a machine with no gamepad attached, which
an x86_64 handheld with Steam running never is: hhd's translation of the built-in
pad and Steam's virtual controller already hold ports 0 and 1. It now skips
(SKIP_RETURN_CODE 77) with that reason instead of failing.
Building on a read-only distribution
build_game.shnow looks forcmakeandninjain the build's own
private/venvfirst, and installs them there when the system has neither.
That is what let this release be built on CachyOS without ever needing a root
password: both are Python packages, so nosudois required.
CI and packaging
- New workflow
.github/workflows/build-linux-x86_64.yml: Python tooling tests,
public-export verification, a full CMake build, the whole CTest suite, the
x86_64 package, and — on a tag — its archive attached to the tag's release
beside the ARM64 one. tools/build-host-test.shand the new package script build for whichever
architecture the host is.
Verified on real hardware
Everything below was observed on the machine, not extrapolated: an MSI Claw
A1M (MS-1T41), Intel Core Ultra 5 135H (18 threads in three frequency
tiers the probe reports as 8 prime, 16 perf, 2 silver), Intel Arc iGPU on Mesa
26.3.1 (vulkan-intel), SDL3 3.4.20, shaderc 2026.4, GCC 16.2.1, CachyOS (Arch
family), 16 GB RAM, Steam in Game Mode over gamescope.
Build
- Built from a USA 3.0 disc (
default.xbesha256e523dd15…) with the
repository's own flow,./build_game.sh, and validated against the recorded
program manifest8e244632…before it compiled. - The lifter: 6937 functions, 6857 translated, 0 failed, 89 hand-written
overrides, 0 unresolved stubs, in 7 chunks. - The runner is a native
ELF 64-bit LSB pie executable, x86-64, linking the systemlibSDL3.so.0;
lddreports nothing missing. - No root password was needed: CMake and Ninja came from
private/venv.
The game boots
- Headless run (
RECOMP_HEADLESS=1): SDL3 audio up on PipeWire at 48 kHz
stereo, presenter
initialized driver=vulkan scale=1.00 resolution=720x480 window=640x480 widescreen=0 msaa=1x depth=d32s8 a8=1 water=modern freedreno=0, then the
guest ran to a cleankind=normal-exit exit_code=0after 1,419,503 kernel
calls. - The hybrid-CPU classifier did its job on x86_64:
heterogeneous CPU detected (18 online cores: 8 prime, 16 perf, 2 silver) -> guest pinned to perf cluster. - Audio over the run:
submitted_buffers=6398 dropped_buffers=0 underruns=1.
Steam Game Mode
tools/steam_shortcut.py add --restart-steamwrote the library entry and
restarted Steam; the file it writes is byte-identical to the output of
ValvePython'svdf.binary_dumpsfor the same shortcut.- Steam launched it:
GameAction [AppID 3440819849] : LaunchApp changed task to Completed, and the chain it created ended in
recomp_launcher(given the checkout as its argument) running on screen. - Steam bound a controller config to that App ID (
Loaded Config for Last Resort Path for App ID 3440819849, Controller 0), and SDL reports the Claw's pad as
Xbox 360 Controller, which the runtime opens on port 0
(recomp input: gamepad 'Xbox 360 Controller' on port=0).
Test suites, on that machine
- Python tooling and custody tests: 94 run, OK (2 skipped: the optional real
extract-xiso check and a Windows-launcher-only keyboard test). - CTest: 50 tests, 48 passed, 2 skipped (
custom-musicneeds an audio
device the session did not provide;input-host-sdlneeds a machine with no
gamepad attached, and the Claw has two: hhd's translation of the built-in pad
and Steam's virtual controller).
Not verified in this release
- A frame-rate figure. The game did run windowed from Steam's menu —
presenterreportedresolution=1920x1080 widescreen=1through Gamescope WSI
for about 30 minutes of audio, then a clean exit — but no frame timing was
recorded, so no FPS number is claimed. The v1.0.0-arm64 measurements were on a
Snapdragon 8 Gen 3. - In-game controller input end to end. The guest opens the pad on port 0 and
Steam binds a config to the shortcut, but no button press was injected to watch
the game react.
Packages in this release
ProjectTenshin-Linux-ARM64-Vulkan.tar.gz— Snapdragon/Freedreno runtime,
Freedreno probe and self-tests, for Mesa Freedreno / Turnip on ARM64.ProjectTenshin-Linux-x86_64-Vulkan.tar.gz— x86_64 runtime self-test, Linux
host-layer test, Vulkan probe andrun_linux_vulkan.sh, for Mesa Intel ANV,
RADV or any conformant Vulkan 1.3 driver.
Neither archive contains a game: build your own runner from your own disc with
./build_game.sh (x86_64) or tools/build-arm64-game.sh (Snapdragon). To have
Steam's Game Mode menu list it, run ./tools/steam_shortcut.py add --restart-steam once.
Upgrading
Existing ARM64 users are unaffected: run_arm64_vulkan.sh keeps working and
forwards to the shared launcher. Rebuild with tools/build-arm64-game.sh (or
./build_game.sh on the device) to pick up the runtime changes.
Nothing copyrighted is distributed: no disc, no generated game code, no assets.
Build from your own legally obtained disc.
Automated ROM-free Linux ARM64 / Vulkan build of ProjectTenshin (Dead or Alive 3++ static recompilation port based on NoRain211/doa3-re), targeting Qualcomm Snapdragon devices running Mesa Freedreno / Turnip Vulkan.
Contents (Zero Game Files / Zero Game Code)
run_arm64_vulkan.sh(Freedreno/Turnip ICD auto-detection, persistent SPIR-V cache, Snapdragon tuning)launcher.aarch64(SDL3 ARM64 gamepad-friendly settings launcher, maxGLIBC_2.28, statically linkedlibc++)tenshin_vk_probe.aarch64(Snapdragon CPU cluster + Freedreno/Turnip Vulkan format & MSAA hardware probe)tenshin_runtime_test.aarch64&tenshin_freedreno_test.aarch64(AArch64 fiber switching, portable math, and SPIR-V cache self-tests)README-Snapdragon-Freedreno.mdand licences
Quick Setup (BYOD)
- Build your local
doa3.aarch64binary from your legal DOA3 Xbox disc usingtools/build-arm64-game.sh /path/to/doa3.iso. - Place
doa3.aarch64and your extracteddisc/folder alongsiderun_arm64_vulkan.sh. - Run
./tenshin_vk_probe.aarch64to verify Freedreno/Turnip Vulkan, then launch./run_arm64_vulkan.sh.
ProjectTenshin v1.0.0-arm64 (Linux ARM64 Vulkan — Snapdragon/Freedreno)
ProjectTenshin v1.0.0-arm64 — first release, verified on a Snapdragon 8 Gen 3 tablet
The first tagged release of ProjectTenshin, the native Linux ARM64 / Vulkan build
of the doa3-re static recompilation of
Dead or Alive 3 (Xbox). It is ROM-free: you build the game binary yourself from
your own legally obtained disc.
Verified on real hardware
Everything below was measured on one machine, not extrapolated: a Qualcomm
Snapdragon 8 Gen 3 tablet (qcom,sm8650-dpu, detected as OnePlus Pad Pro)
running Linux 7.3.0 aarch64 with Mesa Freedreno / Turnip Vulkan
(/usr/share/vulkan/icd.d/freedreno_icd.json), SDL3 3.4.20, and 8 CPUs the
probe reports as online=8 heterogeneous=1 prime=3 perf=6 silver=2.
The game runs, and holds 60 FPS
Built from a USA 3.0 disc (default.xbe sha256 e523dd15…, the build validates
it against the recorded program manifest 8e244632…). The lifter translated
6937 functions with 83 hand-written overrides. Runner is a native
ELF 64-bit LSB pie executable, ARM aarch64.
- Default profile (
scale=1.00, 720×480, 4:3): 59.97–60.11 FPS,
frame_ms≈16.67, worst frame 17.5–20.0 ms, 350–1070 draws/frame. - Heavy profile (
RECOMP_D3D_SCALE=3,RECOMP_D3D_MSAA=2,
RECOMP_D3D_WIDESCREEN=16:9, fullscreen): presenter reports
resolution=2560x1440 msaa=2x depth=d24s8 a8=1 freedreno=1 water=modern,
and still 60.01 FPS (frame_ms≈16.67, worst frame ≈18.4 ms). - The attract mode and its CPU demo matches render fully: 3D stage geometry,
characters, textures and effect passes all present. - Exit is clean:
kind=normal-exit exit_code=0.
Audio
SDL3 output on PipeWire, 48 kHz stereo. Over one 4-minute run:
submitted_buffers=87813, dropped_buffers=0, underruns=1.
The Vulkan path this build expects, probed on the device
tenshin_vk_probe.aarch64 against the real Turnip driver:
BGRA8_UNORMrender target,BC1/BC2/BC3(DXT1/3/5),A8_UNORM: OK- Depth
D24_UNORM_S8_UINT,D32_FLOAT_S8_UINT,D32_FLOAT(water): OK - MSAA 2× and 4× on colour, D24S8 and D32S8: OK — MSAA 8×: unsupported
on this driver, soRECOMP_D3D_MSAA=8is correctly not offered here - SPIR-V shaderc: OK; persistent on-disk shader cache populated
Project test suites
- Python tooling and custody tests: 83 run, OK (2 skipped)
- Host CTest suite: 50/50 passed (1 skipped:
custom-music) tools/public_export.py verify --require-public-tree: passed
Not verified
- No manual input. The device's
/dev/uinputis root-only and no input
injection helper was installed, so gameplay was observed through the game's own
attract mode and CPU demo matches, not through a player pressing buttons.
Controller and keyboard paths are covered by the host CTest suite only. - The Europe 3.2 disc remains in bring-up upstream; this release was tested with
USA 3.0 only.
Contents (zero game files, zero ROM-derived code)
The attached archive is the ROM-free distributable, as described in the notes
tail below. Your own doa3.aarch64 is built locally by
tools/build-arm64-game.sh /path/to/doa3.iso and is never distributed.
Automated ROM-free Linux ARM64 / Vulkan build of ProjectTenshin (Dead or Alive 3++ static recompilation port based on NoRain211/doa3-re), targeting Qualcomm Snapdragon devices running Mesa Freedreno / Turnip Vulkan.
Contents (Zero Game Files / Zero Game Code)
run_arm64_vulkan.sh(Freedreno/Turnip ICD auto-detection, persistent SPIR-V cache, Snapdragon tuning)launcher.aarch64(SDL3 ARM64 gamepad-friendly settings launcher, maxGLIBC_2.28, statically linkedlibc++)tenshin_vk_probe.aarch64(Snapdragon CPU cluster + Freedreno/Turnip Vulkan format & MSAA hardware probe)tenshin_runtime_test.aarch64&tenshin_freedreno_test.aarch64(AArch64 fiber switching, portable math, and SPIR-V cache self-tests)README-Snapdragon-Freedreno.mdand licences
Quick Setup (BYOD)
- Build your local
doa3.aarch64binary from your legal DOA3 Xbox disc usingtools/build-arm64-game.sh /path/to/doa3.iso. - Place
doa3.aarch64and your extracteddisc/folder alongsiderun_arm64_vulkan.sh. - Run
./tenshin_vk_probe.aarch64to verify Freedreno/Turnip Vulkan, then launch./run_arm64_vulkan.sh.