RECOMPILEDGAMES INDEX · REBUILT FOR THE WEB · UPDATED 2026-10-24

NBA 2K · Static recompilation (PS2 to WebAssembly)

NBA 2K12 Recompiled

The last NBA 2K on PS2, recompiled to WebAssembly and streamed to the browser.

UPBROWSERINSTANTMULTIPLAYER

Play in browser

NBA 2K12 recompiled: screenshot of the original game in play
Screenshot of the original game.
Quick answer

Open nba2k12.online in Chrome or Edge and press Play; the PS2 game loads with no install. It is built on the PS2 Web Recomp static recompiler, but the site streams the whole game disc itself. A Quick Game against the CPU is tested; two-player online is not.

The original game

NBA 2K12 was the last game in the series released for the PS2. It added the NBA's Greatest mode, which recreates historic teams, and was the first in the series with three covers. The PS3 and Xbox 360 versions score 90 on Metacritic; the PS2 version has no aggregate score for lack of reviews. It sold over four million copies by April 2012.

Commentary by Kevin Harlan, Clark Kellogg and Steve Kerr, with sideline reports by Doris Burke. Cover athletes Michael Jordan, Magic Johnson and Larry Bird. NBA 2K12 on Wikipedia

The browser version

The page, titled "NBA 2K12 Web Online", names @Slayoner on X as the creator and gives no real name. It calls itself an independent project "inspired by" PES 6 Web Online by OptiProjects, and credits its web engine to PS2 Web Recomp by snuri00, released under the MIT licence (the licence file on the site names Samir Nuri). Its rights page says it is an unofficial community project with no licence or permission from the rights holders, and that the game will be taken down if a rights holder asks. The site shows third-party ads.

PS2 Web Recomp is a static recompiler. Its README says the game's Emotion Engine machine code is translated ahead of time into C++ and compiled to WebAssembly, so the main CPU is never interpreted, while the rest of the console is emulated by a runtime that draws with WebGPU. The PS2's sound and I/O processor runs the game's own modules on an interpreter. The repository was created on 8 October 2026; its README names Gran Turismo 4 and God of War II as the games brought up so far and does not mention NBA 2K12.

The repository says it includes no game data and that the player brings a disc image of a game they own; it also says the generated code belongs to the game's owners and should not be published. This site takes a different approach: its /api/game endpoint returns a full disc image of about 3.2 GB, served from the site itself in 256 KB pieces over HTTP, so the whole game disc is streamed to every visitor with nothing to supply.

The page says this is the US version. Tested, according to the page: creating the V.I.P. profile, the main menu, Quick Game, team select and a match against the CPU. It needs an up-to-date Chrome or Edge with WebGPU on a PC; phones get touch controls if the browser supports WebGPU and WebAssembly. Progress is saved to a virtual memory card in the browser that can be downloaded or imported as a .ps2 file.

Online play uses private rooms with a shareable code, a "find opponent" matchmaking button, a public chat, a private chat per room and a daily and weekly board of online wins. Each PC runs its own copy of the game and the server relays the controls every frame; the room creator is player 1, accepts the V.I.P. profile notice and picks QUICK GAME, and each player moves their controller to their team in Team Select. Rooms take two players and are labelled experimental. The page states that two-player mode has not yet been tested online.

MethodStatic recompilation of the EE code to WebAssembly (PS2 Web Recomp)
Rest of the consoleEmulated by the runtime; I/O processor on an interpreter; WebGPU renderer
Game dataFull US disc image (about 3.2 GB) streamed from the site
BrowserUp-to-date Chrome or Edge with WebGPU; touch controls on phones if the browser has WebGPU
Controls and savesKeyboard (remappable), USB or Bluetooth gamepad; virtual memory card exportable as .ps2 (PCSX2 format)
MultiplayerPrivate rooms with a code, matchmaking, chat; inputs relayed every frame; 2 per room. Two-player mode untested online
Engine sourcegithub.com/snuri00/ps2-web-recomp (MIT); the site build itself is not published

How to play it

  1. Open nba2k12.online in an up-to-date Chrome or Edge on a PC and press Play.
  2. Click inside the game picture, then press a button on your gamepad or use the keyboard (keys can be changed in the controls panel).
  3. Accept the V.I.P. profile notice and choose Quick Game. For online, create a private room and share the code; the creator picks QUICK GAME.

Links

Source code

Questions

Can you play NBA 2K12 in a browser?

Yes. Open the page in an up-to-date Chrome or Edge on a PC, press Play and it loads with no install or account. A gamepad is recommended; the keyboard also works.

Do I need my own copy of NBA 2K12?

No. The site streams a full disc image (about 3.2 GB) itself. The PS2 Web Recomp repository it is built on asks users to bring a disc of a game they own; this site does not.

Is it recompiled or emulated?

Both, in part. The main CPU code is statically recompiled to WebAssembly by PS2 Web Recomp; the rest of the console (graphics, sound, I/O processor) is emulated by its runtime.

Does NBA 2K12 work online?

The site has private rooms, matchmaking and chat, but the page says two-player mode has not yet been tested online.

Is it official?

No. The page calls it an unofficial fan project, not affiliated with Take-Two Interactive, 2K Sports or the NBA, and says it has no licence from the rights holders.

Sources and coverage

Details checked 2026-10-24. Fan projects change fast; check the project page for the latest.