The PlayStation 2 version of Need for Speed: Hot Pursuit 2, running natively on Windows — built from your own disc.
Download · Getting started · Quick start · Controls · Known problems · Legal · A word on AI
🌐 English · Español · Português (Brasil) · Français · Deutsch · Italiano
Important
No game files are included, and none are downloaded. You'll need your own disc of Need for Speed: Hot
Pursuit 2 for PlayStation 2 (North America, SLUS-20362).
Note
Built with a lot of help from AI (Claude Code). Curious, or skeptical? Here's my take on it.
- The PS2 version of Hot Pursuit 2, turned into a native Windows x64 program — no emulator.
- Direct3D 11 at 1x–8x the original resolution, crisp scaling, FXAA, optional sharpening and scanlines, borderless full screen.
- 16:9 and 60 fps out of the box, both switchable.
- EA Trax music, engines, effects, police radio and movie sound.
- A launcher that finds your disc, copies and checks it, gets the game ready and remembers everything after that.
- Classic (PS2) and Modern (triggers) controller layouts; every key and button can be remapped.
- Six languages: English, Spanish, Portuguese, French, German and Italian.
- In-game settings menu on F1 (or Select+Start), including Quit game.
- Your disc is only ever read; everything made from it stays on your PC.
- The recompiler finds the game program's 10,146 functions and 193 switch tables; see docs/recomp-analysis.md.
- Windows 10/11 x64.
- Your own PS2 disc of Need for Speed: Hot Pursuit 2 (North America,
SLUS-20362), or an.isoimage of it (the launcher can open it directly). - No game files are included or downloaded.
- To build: Build Tools for Visual Studio 2022 (C++ workload), Git and PowerShell 7.
- To build the recompiler: LLVM; without it, the translator and its tests are skipped.
Download and play, no build tools needed:
- Get
HotPursuit2PC-v0.4.2-win64.zipfrom the latest release and unzip it anywhere. - Start
HotPursuit2Launcher.exe. The programs aren't signed, so Windows may ask first: More info → Run anyway. - Put your own disc in the drive (or select your
.isoin the launcher). The launcher copies and checks it and translates the game from your copy, on your PC (about a minute). Then hit Play.
What's new in each version: CHANGELOG.md.
Tip
First time doing something like this? The Getting started guide walks you through every step.
- Start
HotPursuit2Launcher.exe. - Insert your disc or select your
.iso. - The launcher copies and checks your disc, gets the game ready and remembers everything after that.
- Hit Play.
- Use the launcher for settings with a recommendation for your screen, memory card backups and the screenshot gallery (F12).
- It works with mouse, keyboard or controller.
- Optional Real-ESRGAN HD textures: the HD Textures page has a built-in Real-ESRGAN Guide (steps, 2x/4x/8x trade-offs, fallback); the full tutorial is in docs/GETTING-STARTED.md.
- Recommended on a strong GPU: internal resolution 8x with 4x Real-ESRGAN textures.
- The controller layout can also be switched in the game with F1.
Pick a layout, or make your own:
| Action | Keyboard | Controller: Classic (PS2) | Controller: Modern |
|---|---|---|---|
| Accelerate | Z | A | RT (or A) |
| Brake / Reverse | A | X | LT |
| Steer | ← → | Left stick / D-pad | Left stick / D-pad |
| Handbrake | W | RB | B |
| Horn / Siren | X | B | Left stick click |
| Change view | S | Y | Y |
| Look back | Q | LB | Right stick click |
| Speed boost | E | Right stick click | X |
| Shift up / Zone Zoom | 2 | RT | RB |
| Shift down / Zone Freeze | 1 | LT | LB |
| Pause | Enter, Space | Start | Start |
| Cycle HUD | Backspace, Right Shift | Back | Back |
Classic is the PS2 controller button for button; Modern puts throttle and brake on the triggers like today's racing games. To change anything, open the launcher's Controls page, pick a box and press the key or button you want (two of each per action). Restore Default Keyboard and Restore Default Controller bring the presets back any time, and your custom layout stays saved for later.
Also handy: F1 settings menu, F12 screenshot, Alt+Enter or F11 full screen, Alt+F4 or Quit game in the settings menu to quit.
It's an early release, tested on one PC so far.
- Saving is untested. The memory card lives in
saves\next to the game, but saving and loading a career haven't been checked from start to finish. - Sound: no reverb and no proper volume envelopes yet.
- Graphics: no depth fog, mipmaps, dithering or lines yet.
- Input: no rumble and no steering wheel yet.
- Language: the game's own text stays in English (as on the North American disc); the launcher and settings menu follow your language.
- Switching between 16:9 and 4:3 only takes effect after a restart.
- Not tried yet on AMD or Intel graphics, on a fresh Windows install, or in really long sessions.
Found something else? Open an issue. Progress lives in docs/STATUS.md; more in docs/ and CONTRIBUTING.md.
No Electronic Arts property is in this repository. Every source file here was written for this project and is released under the MIT license (see LICENSE). The repository contains no code, assets, text, audio, video or other material owned by Electronic Arts Inc., Sony Interactive Entertainment, or any other rights holder of the game, and no part of the game's executable in any form.
Everything in the repository that was derived from the disc is facts only, no content:
converter/data/slus20362_rom_manifest.tsv— names, sizes and SHA-256 hashes of the 27 files on the disc.assets-pipeline/data/hp2_slus20362_names.txt— the names of 362 files inside the game's archive.tests/fixtures/slus20362_zfileset_inventory.tsv— per-file offsets, sizes and SHA-256 hashes inside that archive.docs/dump-analysis.md— the archive's container format and the full file inventory.docs/recomp-analysis.mdandrecomp/tests/test_recomp_dump.cpp— measurements of the game program: section addresses and sizes, counts of instructions, functions and switch tables, a handful of code addresses. No instructions or bytes of the program itself.recomp/include/hp2/game_patches.h— the addresses and values of the 16:9 and 60 fps patches.
You must bring your own copy. You need a dump of a copy of the game that you legally own, made by you from your own disc. This project does not provide, link to, or help locate game files, disc images or console firmware, and will not. No PlayStation 2 BIOS is needed or used. The laws on making and using backup copies of software you own differ between countries; you are responsible for complying with the ones that apply to you.
How it was tested. All development and testing was done with a single dump: the one the repository owner made from the physical retail disc in their possession. No other copy of the game, no downloaded image and no material from the Windows release was used at any point. The tools open the dump read-only and never modify it.
Translation happens on your machine. Everything the tools derive from the game — the recompiled code, unpacked assets — is produced on your own computer from your own dump and stays there. Do not redistribute it.
No affiliation. This is an independent, non-commercial preservation and interoperability project. It is not affiliated with, sponsored by or endorsed by Electronic Arts, Sony, or the authors of the open-source software it builds on. Need for Speed and Hot Pursuit 2 are trademarks of Electronic Arts Inc.; PlayStation is a trademark of Sony Interactive Entertainment Inc. They are used here only to say what the tools are compatible with.
If you are a rights holder and believe something here should not be, please open an issue.
- An AI coding agent wrote the code, tests, build scripts and docs — Anthropic's Claude, in Claude Code — working under my direction. Commits carry a
Co-Authored-By: Claudeline. - I set the goals and the ground rules (they're in
docs/brief.md), dumped my own disc, approved every step that reached outside the project, tested and played every build, and called the shots — for example, dropping the emulator-based build for static recompilation after playing it. - What we know about the game comes from my own dump, by inspection and experiment, with the evidence written down in
docs/dump-analysis.md. The game's source code was never available or used. Third-party sources we looked at are listed with their licenses indocs/prior-art.md; the only outside findings used are the community game patches credited below. - AI-written code can be confidently wrong. So the project leans on process, not trust: every claim about the disc is backed by a byte-level check or a test, anything unproven is marked UNVERIFIED, decisions are written down with the alternatives, and each phase ends with a list of what was not verified.
- That process has caught real mistakes, and they're left visible on purpose — like a hash collision that briefly gave a file the wrong name, or a performance number based on averages that hid stutter you could see while playing.
- Nobody has audited every line by hand. Have a look before you rely on it, and treat the numbers in the docs as measurements on one PC, not promises.
The download (see Quick start) or tools/install-native.ps1 is all you need to play. If you want to hack on it:
git clone https://github.com/awtomi/HotPursuit2PC.git
cd HotPursuit2PC
pwsh tools/install-native.ps1 # builds everything, then opens the launcherThe first run builds LLVM (grab a coffee: 15–40 minutes), then the project, and puts the launcher, the game and the recompiler into game-native\. The launcher takes it from there: it copies and checks your disc and translates the game from your copy, on your PC (about a minute). After that, just start HotPursuit2Launcher.exe. Around an hour the first time; a few minutes after an update.
pwsh tools/build.ps1 -Preset dev # build (optimised, with debug info) + run the tests
pwsh tools/build.ps1 -Preset release -NoTest # release build only
pwsh tools/native-test.ps1 -Until 60 -FastBoot -ShotAt "40" # scripted run with screenshots (needs a dump in ROM\)
pwsh tools/package-release.ps1 -Version 0.4.2 # the download: programs, licenses, changelog (no game files)The recompiler needs LLVM (tools/fetch-llvm.ps1 + tools/build-llvm.ps1; Apache 2.0 with LLVM Exceptions); without it everything else still builds and the translator and its tests are skipped. The reference launcher needs the Play! source (tools/fetch-play.ps1, BSD 2-Clause). Tests that need a real dump look for it in ROM\Need for Speed - Hot Pursuit 2 (USA)\ or in the HP2_ROM_DIR environment variable, and are skipped otherwise. Debugging switches for the native game are listed in CONTRIBUTING.md.
The reference launcher (emulator-based) — where the project started, kept for comparison
Before the native game existed, the project's first build ran the original PS2 program inside the open-source Play! emulator core. It's kept as the reference the native game is checked against — not the goal — and its window title says it's emulator-based.
- Build it:
pwsh tools/fetch-play.ps1, thenpwsh tools/build.ps1 -Preset release. - Run
HotPursuit2PC.exe(orhp2pc-cli.exe) from.cache\build\release\converter\in an empty folder, select your disc folder and choose portable or installed. - Convert. You get a
game\folder (your verified disc files, the unpacked archive, logs) withgame\build\HotPursuit2.exe, which plays the game: movies, menus, races, pause, and saves on a virtual memory card.
Command line: hp2pc-cli validate <folder>, hp2pc-cli convert --rom <folder>, hp2pc-cli status.
Known problems of this build: stutter on heavy frames (the embedded core), flat tyre smoke and brake-light glow, 4:3 only, races at 30 fps.
The code and documentation in this repository are released under the MIT License.
- Game patches — the 16:9 and 60 fps values come from the community patch file for this disc in PCSX2/pcsx2_patches (
SLUS-20362_1D2818AF.pnach): Widescreen 16:9 by nemesis2000, HUD fixed for widescreen by Aero_, 60 FPS by asasega. Only the addresses and values were used, re-implemented as switchable patch points. Thank you! - LLVM (Apache 2.0 with LLVM Exceptions) — the recompiler's code generator, built from source by the tools scripts.
- Play! by Jean-Philip Desjardins (BSD 2-Clause) — the reference launcher's emulator core, statically linked with the libraries it bundles: Play! Framework and CodeGen (BSD 2-Clause), libchdr (BSD 3-Clause), LZMA SDK (public domain), Zstandard (BSD), zlib (zlib license), xxHash (BSD 2-Clause), bzip2 (bzip2 license) and GLEW (Modified BSD / MIT). Their source is not in this repository;
tools/fetch-play.ps1downloads pinned revisions at build time, and their license texts are written next to the launcher asTHIRD-PARTY-NOTICES.txt.
Details and revisions: docs/prior-art.md. The native game itself contains no third-party code; it uses Windows' own Direct3D 11, XAudio2 and XInput.