Gaming / ARTICLE

Need for Speed Underground 2 Browser Port Runs at 120fps with Online Multiplayer

A browser port of Need for Speed Underground 2 runs in Chrome and Firefox at up to 120fps, with free roam, online races, cloud saves, and controller support.

The page at nfsu2.xyz opens with a loading screen and a Play button. Once the game data is loaded, Need for Speed Underground 2 runs inside Chrome or Firefox. According to the About section, the PC game’s own code has been recompiled for the browser. The port supports up to 120 fps in widescreen, free roam, and online races with friends. Controllers, wheels, and touch controls are all available.

The creator writes that he and his brother played the game together about 20 years ago. He tried porting it to the browser so the two could play again. “It worked surprisingly well, and it got a bit out of hand,” the About page states. Hosting and development costs are funded through Buy Me a Coffee. Everyone gets the same game; there are no microtransactions or paid perks, and supporters only receive a Discord role.

Recompiled from x86 to C

The project is based on NFSU2Recomp, a static recompiler by Talha Müderrisoğlu that converts the original x86 code of Need for Speed Underground 2 into C. NFSU2Recomp follows earlier work on N64: Recompiled and XenonRecomp. The nfsu2.xyz version was forked from an MIT-licensed version of NFSU2Recomp and uses only that version’s code. The source code is available on GitHub.

The Credits and Translations tabs list the mods and language packs. Dubbed voices, movies, and Chinese, Japanese, Russian, and Thai text come from KyoriAsh’s Multi 13 languages mod, with Thai support by Lee-Ryo. Brazilian Portuguese is handled by TraduMix and MixMods; Polish by PLProjekt; Turkish by Samet Samyeli with fonts from muntazam; Hungarian by GameHunter; Ukrainian by Clark X.; Czech by ROXOR, PINĎA & syn; Slovak by MixerX; and Greek by Corneleto. VileStuff’s English Subtitles Fixed provides English subtitles.

Saves, Controls, and the Loading Screen

The loading screen includes Retry, Reload, Download log, and a link to post the log in the #bug-reports channel on Discord. The site has tabs for Saves, Online, Friends & crews, Game, Mods, Controls, Screenshots, and Profiles.

Profiles can download backups or restore data. To save while playing, users press Esc or Start, then go to Garage and Save. Cloud saves can be turned on; when enabled, they load saves and usernames and sync them between devices. Buttons for Sync now, Stop syncing, Delete from cloud, and Put back manage the state. Game data on the device can be preloaded or deleted, settings can be reset, and settings.ini can be edited as text. Screenshots are taken with F12, and the Screenshots tab has a delete all option.

Keyboard controls include throttle, brake, reverse, steering with arrow keys or WASD, Alt for nitrous, Space for handbrake, Shift/Ctrl for manual shifting, C/B for camera, R to respawn, H/J for hydraulics, N for horn, G for headlights, X for drift mode in free roam, O to open hood/trunk/doors, 1–4 for quick chat, I to message a friend, Enter to start an event, M/Tab for map, and Esc/P to pause. Touch controls place virtual thumbs for throttle and steering; tilt steering can keep the horizon level, and nitro can be moved to the steering side. On a controller, Home or both sticks pressed in opens the menu.

On Hacker News, the submission has 1127 points and 279 comments. The page also lists a Discord for help, bugs, and questions, and a legal contact email for rights holders.

END
Feedback