0xreversed/with.ai
Games and modsPartialSource available
Target: White Knight Chronicles II (PS3, USA BLUS30784)

Began a static recompilation of White Knight Chronicles II (PS3) to a native Windows program, with Claude

by WK2D Repository6 views
White Knight Chronicles II (PS3, USA BLUS30784): A PS3 role playing game translated to native code, partly working.
Image: GitHub (WK2D/White-Knight-Chronicles-2-Decomp)

What was done

WK2D is translating the PS3 game's machine code to C and C++ and reimplementing the system services it calls. The town loads, and saving and reloading work, but smooth speed is still a goal.

This repository is research toward a native Windows version of White Knight Chronicles II (USA disc BLUS30784) through static recompilation, with Apple Silicon testing planned later. Some commits are co-authored by Claude Opus 5.5.

How it was done

The game's PS3 machine code is translated ahead of time to C and C++ and compiled into a normal PC program. A runtime reimplements the PS3 system services the game calls, such as threads, files, graphics (Vulkan first) and movie playback. The current build compiles 56,580 main CPU functions and 24 known SPU image or job inputs to native code. Some SPU paths still fall back to an interpreter, so this is not complete static coverage.

Results

On 2026-10-18 the author reported that the Logic Stone save works: the game writes a slot, and after a restart Continue loads it and returns to town. A saved town sample runs at about 28 presentations per second, while a locked 30 fps and RPCS3 level smoothness remain goals. Black foot flicker remains and other scenes and slots are unverified. The repo logs findings, measurements and limits in docs.