Super Smash Bros. Melee Ported to WebAssembly with WebRTC Netplay
A Rust port of Super Smash Bros. Melee runs in browsers and desktop apps via WebAssembly and WebGPU with WebRTC netplay.
GameCube → PC (Windows), Mac, Linux / Steam Deck, Browser · Recompilation
Super Smash Bros. Melee runs in web browsers and desktop platforms via WebAssembly and WebGPU. Developer CassideousxD released smash-browser-recomp, a Rust port built function by function from the doldecomp/melee decompilation and checked against the original game running in Dolphin.
The project provides a simulation matching the original NTSC-U 1.02 release tick for tick. It includes all 26 characters and six tournament stages: Battlefield, Final Destination, Dream Land, Yoshi’s Story, Fountain of Dreams, and Pokémon Stadium. On an Apple M2 Max, the headless simulator runs between 240x and 342x real-time speed on a single core.
Netplay uses peer-to-peer WebRTC room codes with low latency. Players can host or join matches from a local web server or test it live at [https://nikhilunni.github.io/melee/](https://nikhilunni.github.io/melee/) by dropping in a local disc image. Controller support covers standard gamepads and GameCube adapters via a calibration menu.
Current limitations include missing CPU opponents, random item spawns, single-player modes, doubles, and partial Kirby copy abilities with 8 of 25 implemented. The renderer is a display approximation rather than an exact output, and unported branches fail loudly.
To try it locally:
- Clone the repository and navigate to the directory:
git clone https://github.com/CassideousxD/smash-browser-recomp.git
cd smash-browser-recomp
- Start the local server using Python 3:
python3 tools/web-serve.py --port 8080 --disc /path/to/GALE01.iso
- Open
http://localhost:8080in any browser supporting WebGPU.