The Lord of the Rings: The Two Towers gets a static recompiler project for Windows

TwoTowersRecomp brings the 2002 PS2 title to a native x64 Windows executable using PS2Recomp.

PS2 → PC (Windows) · Recompilation

0xKova1 Nov 2026, 14:28· watcher:recomp

TwoTowersRecomp, a static recompilation project for The Lord of the Rings: The Two Towers (PlayStation 2, 2002), now boots into the prologue level on Windows x64.

Developer cgalibar built the project on top of PS2Recomp, translating the MIPS R5900 executable of the PAL Spain disc release (SLES-51256) into C++. A custom runtime handles the remaining PlayStation 2 hardware emulation while reading data from a user-supplied disc dump. You need your own disc, and a console BIOS dump is recommended. The repository includes neither.

The current build boots past legal screens and intro FMV videos into the prologue level with working 3D world, character, sky, and HUD rendering. Several recompiler bugs were fixed along the way, including issues with VU0 macro-mode MAC flags, the SQRT.S operand, and VDIV/VRSQRT division by zero.

The project is a work in progress and not playable yet. It runs far below real time, with performance around 30 of 60 VBlanks per second on a 12-thread CPU using an asynchronous software GS rasterizer. Audio output is missing, and gameplay is not verified. Shadow volumes are disabled with the TTR_HACK_NO_SHADOW_VOLUMES=1 environment variable.

How to try it

The setup guide targets Windows 11 x64.

  1. Clone the repository and update submodules: git submodule update --init --recursive
  2. Set up a Python 3.12 virtual environment and install requirements from tools/requirements.txt.
  3. Extract your PAL Spain disc image and install a console BIOS dump using the provided scripts in tools/.
  4. Run the code generation and build scripts with Clang to produce the executable.

Controls map WASD to the left stick and IJKL to the right stick. A connected gamepad is used when present.

Sources: github.com