Skip to content

About

Native static recompilation of Tekken Tag Tournament (PS2), focused on accuracy, performance and portability.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Tekken Tag Native Recomp

Tekken Tag Native Recomp

Native static recompilation of Tekken Tag Tournament (PS2), focused on accuracy, performance and portability.

Lee este documento en español: README_ES.md

TekkenTagNativeRecomp (TTNR) translates the game's PlayStation 2 code ahead of time into C++ and compiles it into a native Windows x64 program: the main CPU (EE) and the vector-unit microprograms (VU0/VU1). A purpose-built runtime emulates the hardware the game needs, and the game is rendered with WebGPU (Vulkan, or Direct3D 12 as an experimental option).

Features

  • Native static recompilation for Windows x64 (EE, VU0 and VU1 translated ahead of time).
  • Targets the original 60 FPS, with the game's own frame cap and pacing preserved.
  • Vulkan renderer (recommended); Direct3D 12 experimental.
  • Internal resolution x1, x2 and x3; original 4:3 aspect; experimental 16:9 (Hor+).
  • Keyboard and controller support (SDL GameController; two players).
  • Game-managed saves on an emulated memory card.
  • Bilingual launcher (English/Spanish) that verifies your disc image.
  • EE, VU0, VU1 and GS/GPU optimizations (see OPTIMIZATIONS.md).
  • Build from source: every game-derived component is generated locally from a compatible ISO, with local profile-guided optimization (PGO).

Status

v0.1.0, first public version. Playable on Windows x64. Fidelity checks compare full emulated machine state, cycle counts and frame images in the tested scenes. See Known limitations below.

System requirements

Required Windows 10 or 11, 64-bit; x86-64 CPU with AVX2 and FMA3; GPU and driver supporting Vulkan (or Direct3D 12 for the experimental backend); .NET Framework 4.8 (included in Windows 10 1903+ and Windows 11)
Tested Development PC: AMD Ryzen 7 5700X3D, Windows, Vulkan. In the measured scenes it held a 16.67 ms median frame time (60 FPS) restricted to both 4 and 8 physical cores
Recommended Recent Vulkan driver; start with internal resolution x1
Not yet validated Other CPUs/GPUs (AMD, Intel and NVIDIA are all intended targets), handhelds such as the ROG Ally X (owner tests only, no certified figures)
Future (not available) Linux, Steam Deck, ARM64, other platforms — see ROADMAP.md

60 FPS is not guaranteed on every PC.

Compatible game version

Field Value
Game Tekken Tag Tournament, PlayStation 2
Region / serial / revision NTSC-U (USA) · SLUS-20001 · 2.00
Image ISO, exactly 634,030,080 bytes
SHA-256 b6b7286de3f23f67659f25c42a681a0681ee988b35bbd139356f8ac0d9398956

You must own the game and create the ISO from your own original disc. PAL and NTSC-J versions are not supported. This project does not include or provide the ISO, a BIOS or any game resources.

Installation (prebuilt package)

  1. Download TekkenTagNativeRecomp-v0.1.0-win64.zip from the Releases page and check its SHA-256 against SHA256SUMS.txt.
  2. Extract the whole ZIP into a new folder with a short path (for example C:\TTNR).
  3. Run TekkenTagNativeRecomp.exe. Windows SmartScreen may warn because the files are not code-signed.
  4. Press SELECT ISO and choose your compatible ISO. It is verified, never copied, and its location is remembered.
  5. Optionally open OPTIONS (Display / Controls).
  6. Press PLAY.

No Visual Studio, LLVM, CMake, Ninja, Python or PGO training is needed to play.

Where your data lives: everything is stored in datos\ next to the launcher:

  • settings-v1.json: options;
  • Saves\Card1.ps2: memory card;
  • Installation\: verified data extracted from your ISO;
  • Logs\ and GameLogs\: local logs.

Nothing is sent over the network; there is no telemetry and no updater.

Updating to a future version: extract the new version into a new folder, then copy your datos\Saves folder (and optionally settings-v1.json) from the old folder. Keep the old folder until you have checked that your saves load.

Controls

  • Player 1: keyboard plus the first controller. Player 2: the second controller.
  • Controller → PS2:
    • A/B/X/Y = Cross/Circle/Square/Triangle;
    • LB/RB = L1/R1; LT/RT = L2/R2 (analog); stick press = L3/R3;
    • View/Back = SELECT; Menu/Start = START;
    • D-pad and left stick = directions.
  • Keyboard (P1):
    • arrows = directions;
    • Z = Cross, X = Circle, A = Square, S = Triangle;
    • Q/W = L1/R1; 1/2 = L2/R2;
    • Enter = START; Backspace = SELECT.
  • F11 toggles fullscreen.
  • Button remapping is done in the game (OPTIONS → CONTROLLER SETUP). Vibration requested by the game is sent to supported controllers.

Graphics options

  • Graphics API: Vulkan (default, recommended) or Direct3D 12 (experimental, known visual differences).
  • Internal resolution: x1 (640×448, default), x2, x3. Higher scales greatly increase GPU load.
  • Aspect ratio: 4:3 (default) or 16:9 Hor+ (experimental). It widens 3D combat, but intro videos (FMV) appear stretched.
  • Output: borderless fullscreen at desktop resolution or windowed (960×720 to 2560×1440).
  • Frame rate: the original 60 FPS cap; no unlock, upscaler or frame generation.

Known limitations

  • Windows x64 only; AVX2 and FMA3 are required.
  • Direct3D 12 and 16:9 are experimental; FMV is stretched in 16:9.
  • Ending movies/Theater mode and handheld controls have not been certified.
  • Executables are not code-signed. The data folder path should be ASCII.
  • The v0.1.0 package README says Unknown's stage uses an interpreted VU1 path. That is an erratum: the released engine runs that program (A0FC) natively. Engines built from source run it on the exact interpreter (see PROVENANCE.md).

Building from source

See BUILDING.md. With the pinned toolchain (Clang 23.1.4, VS 2022 Build Tools, SDL 2.30.0, wgpu-native 29.0.1.1), one command regenerates every game-derived component from your ISO and builds the engine with a local PGO profile (about 9 minutes on the development PC). A source build is functionally equivalent to the released engine in the tested scenes, but it is not byte-identical:

  • the released engine has 20+6 native VU1 programs; a source build has 20+5 (A0FC is interpreted; the impact has not been measured);
  • a source build uses its own PGO profile.

Details: PROVENANCE.md, ARCHITECTURE.md, OPTIMIZATIONS.md.

Contributing

Read CONTRIBUTING.md. Changes must preserve simulation fidelity, the 60 FPS cap, stability and efficiency, stay portable, respect licenses and be reproducible. Never commit game data, generated code, profiles, savestates or memory cards. Report security issues privately (SECURITY.md).

Credits

  • PCSX2 and its contributors: the exact VU multiply kernel used by the VU0 path is derived from PCSX2 microVU (commit 1ccd6a8, GPL-3.0-or-later). PCSX2 does not endorse this project.
  • ps2-web-recomp (© 2026 Samir Nuri, MIT): runtime base and the eerecomp/vurecomp generators that this project extends.
  • Play! (© Jean-Philip Desjardins and contributors, BSD-2-Clause): VLC tables used by the IPU (video) decoder.
  • SDL (zlib): window, input and audio.
  • wgpu-native / gfx-rs (MIT OR Apache-2.0) and the WebGPU native headers (BSD-3-Clause): rendering.
  • LLVM/Clang, Microsoft Visual C++ runtime and .NET Framework: toolchain and system runtime.
  • Project, optimizations and launcher: Isaaki87 and TekkenTagNativeRecomp contributors.

Full notices: THIRD_PARTY_NOTICES.md.

Sources of the PCSX2-derived VU0 component

The VU0 path uses an exact multiplication helper adapted from PCSX2 microVU (upstream revision 1ccd6a8dc3574771c138849039d71951a3a1c175, GPL-3.0-or-later), not the complete microVU JIT. The helper, the fast-kernel wrapper with its exact recovery path, and the adaptation/generation scripts were already published with v0.1.0, both in this repository and in the official source ZIP. The links below pin repository content to the audited v0.1.0 revision 08a5725340c7ad531af6fef32227b2332140a0f1; the ZIP link identifies the official release asset.

These links locate the adapted helper and its integration sources; they do not establish that the repository or source ZIP is the complete Corresponding Source of the prebuilt engine. In particular, game-derived generated units are not published here, and the differences and unresolved licensing questions described in PROVENANCE.md remain. This clarification makes no claim of complete GPL compliance for the distributed engine.

License

The project as a whole is licensed under GPL-3.0-or-later (LICENSE). Third-party files keep their own licenses (MIT, BSD-2-Clause, BSD-3-Clause, zlib, GPL-3.0-or-later), indicated by SPDX headers and in LICENSES/.

  • Code generated from the game is not covered by these licenses and is never stored in this repository.
  • The prebuilt engine contains game code translated from the original program. Its licensing questions are described in PROVENANCE.md.
  • The source package is not the complete Corresponding Source of the prebuilt engine.

Independence notice

TekkenTagNativeRecomp is an independent, unofficial project. It is not affiliated with, sponsored or endorsed by Bandai Namco, Sony or PCSX2. "Tekken" and "Tekken Tag Tournament" are trademarks of their owners; "PlayStation" is a trademark of Sony Interactive Entertainment. Requiring an original copy of the game does not by itself make any distribution lawful, and the existence of similar projects is not a legal authorization.

About

Native static recompilation of Tekken Tag Tournament (PS2), focused on accuracy, performance and portability.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages