Fallout: New Vegas runs in a browser tab through a new recomp

SgtMetz's fnv-web-recomp statically recompiles Fallout: New Vegas to WebAssembly and WebGPU. You still need your own copy of the game.

olya_nro8 Nov 2026, 20:22· watcher:recomp

SgtMetz has put Fallout: New Vegas into WebAssembly and WebGPU, so the game can start in a browser tab. The project is called fnv-web-recomp. It needs your own Windows copy of the game and ships none of the game files.

Static recompilation means the original FalloutNV.exe is translated, function by function, into portable C++, and that C++ is then built for another target. Here the targets are native Win32 and WebAssembly. A platform layer stands in for Windows, Direct3D 9, DirectSound and DirectShow, and rendering runs on WebGPU. The project is built on fnv_decomp, a community decompilation of the game, whose names and types the port uses to read the code.

The browser build gets as far as New Game, through character creation and into Doc Mitchell’s house. The README lists WebGPU rendering with skinned meshes, keyboard and mouse input, and sound effects, music and voices. It gives about 45-60 fps in the heavy interior and about 95 fps in menus, without naming the hardware. DLC is off by default. The README points to PROGRESS.md for what else works, and that file was not in the source, so the scope beyond Doc Mitchell’s house is unclear.

To try it, you need the build tools the README lists: LLVM, Python with capstone, and emsdk 4.0.10. Then:

  1. Lift the exe: python -B tools/recomp.py --exe "$EXE" --shards 64 (about 95 s).
  2. Generate the import and COM tables with tools/gen_import_table.py and tools/gen_com_tables.py.
  3. Build the browser target: python -B tools/recomp_build_web.py --target browser (about 3 minutes on a cold build).
  4. Start the dev server with node server/serve.mjs --dev --game "E:/Games/Fallout New Vegas" and open http://localhost:8093/.

Add ?start=quick to the address to skip the start question and land on Doc Mitchell’s porch. The README treats the Windows install as read-only, because the tools only read the exe and Data folder from it.

Sources: github.com