Def Jam: Fight for NY Statically Recompiled to WebAssembly
Def Jam: Fight for NY from Original Xbox gets a client-side browser port via static recompilation, WebAssembly, and WebGPU.
Def Jam: Fight for NY, a fighting game originally released for the Original Xbox in 2004, now runs directly in web browsers. Developer Deq710sia released a client-side browser port of the game using static ahead-of-time binary recompilation.
The project lifts the game’s 18,485 x86 functions into structured C source code using the xboxrecomp toolchain, compiling them directly into WebAssembly. This approach bypasses traditional runtime CPU emulation, executing game logic at native speeds on host CPU cores.
Graphics are handled by a custom translation layer mapping the Xbox NV2A GPU architecture directly to modern WebGPU pipelines. Audio runs through an MCPX APU mixer paired with the Web Audio API, while input supports standard XInput gamepads and keyboards via the Web Gamepad API.
The port currently achieves full 60 FPS speeds on front-end menus, with active 3D rendering and operational audio. Combat gameplay is playable and undergoing optimization from a baseline of about 13 FPS toward a sustained 60 FPS target. Persistent saves store directly in the browser’s Origin Private File System.
The repository contains zero game assets or copyrighted files. Users must mount their own retail disc images locally through the browser.
How to Try It
- Ensure you use a modern browser supporting WebGPU across Chromium, WebKit, or Gecko.
- Access the repository on GitHub.
- Mount a legally obtained retail game image locally using the browser file interface to start playing.

