Skip to content

Releases

v0.1.3-alpha — Custom controls

Pre-release

Choose a tag to compare

@elmnt22 elmnt22 released this 01 Dec 13:27

An update for NFS Hot Pursuit 2 for PS Vita. The headline: you can now remap the driving buttons with a new Custom layout on the game's own Controller Configuration screen. Busy scenes also hold 30 FPS more often.

Alpha. Still a test build. The performance work was tested on hardware. Please keep sending logs. See Reporting problems.

No game data is included. You need your own copy of Need for Speed: Hot Pursuit 2 for PS2, PAL version 1.00 (SLES-50731). Other regions and versions are not supported. This project is not affiliated with or endorsed by Electronic Arts.

Downloads

File What it is
NFSHP2.vpk The game. Install it with VitaShell over any earlier release (title ID NFSHP2002, version 00.13). Your game data and saves in ux0:data/NFSHP2/ are kept.

Coming from an earlier release? Just install the VPK. Nothing else is needed.

New installs: see What you need and Installation below, or the README.

What's changed

Custom controls

  • New Custom layout after A–D in Options → Controller → Configuration. It starts as a copy of layout A.
  • Highlight an action and press ✕, then press the button you want for it. If that button is already in use, the two actions swap.
  • □ resets Custom back to layout A.
  • Steering and Pause can't be changed. Menus keep their normal buttons.
  • Actions that layout A puts on L2, R2 and R3 (buttons the Vita doesn't have) can now be moved to buttons you can press.
  • Your layout is saved to ux0:data/NFSHP2/controls.cfg, separate from the game save.

Performance

  • Shiny (specular) car and scenery parts are drawn in the same batches as the rest of the model, which cuts several hundred draw calls a frame.
  • Faster polygon sorting, less re-checking of scenery that hasn't changed, cheaper per-object drawing setup and faster particle maths.
  • None of this changes the picture.
  • In our hardware tests, late frames went from about 2.7% to 2.0% and from about 0.9% to 0.8% in our two heaviest test races.

Known issues

  • Very busy moments, such as big pileups and wide open views, can still dip briefly below 30 FPS.
  • Some parts have had less testing than single-player racing, such as two-player split screen and long career runs. Reports from these are very welcome.
  • No rear touch controls in the Custom layout yet.
  • Unlocked frame rate is experimental. 30 FPS is the default.

What you need

  • Need for Speed: Hot Pursuit 2 for PS2, PAL version 1.00 (SLES-50731).
  • A PS Vita or PS TV with HENkaku / Ensō, and VitaShell.
  • libshacccg.suprx in ur0:data/ (extract it with ShaRKBR33D if you don't have it).
  • About 3.2 GB free on the memory card.

Installation

  1. Install NFSHP2.vpk (below) with VitaShell. It shows up as NFS Hot Pursuit 2 (title ID NFSHP2002).
  2. Copy ZDIR.BIN and ZZDATA.BIN from the disc's NFSHP2 folder to ux0:data/NFSHP2/.
  3. Start the game from the LiveArea.

Options

Files in ux0:data/NFSHP2/ change settings at boot. All are empty except audio_gain.txt.

File Effect
fps_uncapped.txt Unlock the frame rate (experimental)
audio_dry.txt Turn the reverb off
audio_linear.txt Use plain linear voice interpolation
speedtrap_retail.txt Keep the original race-start behaviour for the parked speed-trap cop
reduced_opponents_off.txt Draw AI opponent cars at full detail (costs frame rate)
scenery_cut_off.txt Never lower scenery detail in heavy frames (costs frame rate)
audio_limiter_off.txt Turn the peak limiter off
audio_gain.txt A number such as 0.6 sets the overall volume (default 1.0)

License

Built on NFSHP2_Switch_Port by HDErick, with vitaGL by Rinnegatamante and the VitaSDK team. Full credits are in the README. Licensed under GPL-3.0.

Reporting problems

Open an issue and attach ux0:data/NFSHP2/NFSHP2_log.txt from the run with the problem. With kubridge installed, a crash also writes crash.txt there; please attach it too. Add a screenshot for visual problems.

v0.1.2-alpha

v0.1.2-alpha Pre-release
Pre-release

Choose a tag to compare

@elmnt22 elmnt22 released this 26 Nov 02:31

NFS Hot Pursuit 2 for PS Vita — v0.1.2-alpha

Fixes for the reported bugs in racing and the track map, clearer audio, and a steadier 30 FPS in busy scenes.

Fixes

  • Rivals no longer pull away at impossible speeds (#1). Two port bugs caused this:
    • AI updated twice as often as on PS2. The port runs the world at 60 Hz, but AI decisions were still counted per update, so cars made them twice as often as the original 30 Hz. Far-away rivals then sped up a little on every decision until they were far too fast, and a car could "rocket" up from behind. AI decisions now run at the PS2 rate.
    • Catch Up was forced off. It was off in Quick Game, Free Run and Event Trees, where the PS2 game keeps it on.
  • The 3D Rotation and 2D Rotation track maps now rotate (#4). The map was reading the rear-view mirror's camera instead of the main one, so it stayed fixed like Standard mode. It now turns with your car, like on PS2.
  • No more audio clipping in busy race moments. With many sounds playing at once, such as engines, sirens, crashes and speech, the mix could go well over full volume and crackle. A peak limiter now turns the volume down smoothly during these peaks and leaves quieter moments untouched.

Performance

Busy scenes hold 30 FPS more often:

  • AI opponent cars use their simpler detail level (no driver model or road shadow). The bodies look nearly the same. Your own car stays at full detail.
  • Heaviest frames only: distant scenery switches to its lower-detail models a little earlier.
  • Lots of smaller speed-ups in scenery drawing, collision, particles, audio streaming and memory use.

Late frames in our heaviest test races fell from about 4.6% to 2.8%, and from about 2.7% to 0.9%. A typical full race measured 0.6%.

Updating

Install the new NFSHP2.vpk over the old one with VitaShell. Your game data and saves in ux0:data/NFSHP2/ are kept.

What you need

  • Need for Speed: Hot Pursuit 2 for PS2, PAL version 1.00 (SLES-50731). Other regions and versions are not supported. No game data is included.
  • A PS Vita or PS TV with HENkaku / Ensō, and VitaShell.
  • libshacccg.suprx in ur0:data/ (extract it with ShaRKBR33D if you don't have it).
  • About 3.2 GB free on the memory card.

Installation

  1. Install NFSHP2.vpk (below) with VitaShell. It shows up as NFS Hot Pursuit 2 (title ID NFSHP2002).
  2. Copy ZDIR.BIN and ZZDATA.BIN from the disc's NFSHP2 folder to ux0:data/NFSHP2/.
  3. Start the game from the LiveArea.

Known issues

  • Very busy moments, such as big pileups and wide open views, can still dip briefly below 30 FPS.
  • Some parts have had less testing than single-player racing, such as two-player split screen and long career runs. Reports from these are very welcome.

Options

Files in ux0:data/NFSHP2/ change settings at boot. All are empty except audio_gain.txt.

File Effect
fps_uncapped.txt Unlock the frame rate (experimental)
audio_dry.txt Turn the reverb off
audio_linear.txt Use plain linear voice interpolation
speedtrap_retail.txt Keep the original race-start behaviour for the parked speed-trap cop
reduced_opponents_off.txt New: draw AI opponent cars at full detail (costs frame rate)
scenery_cut_off.txt New: never lower scenery detail in heavy frames (costs frame rate)
audio_limiter_off.txt New: turn the peak limiter off
audio_gain.txt New: a number such as 0.6 sets the overall volume (default 1.0)

Reporting problems

Open an issue and attach ux0:data/NFSHP2/NFSHP2_log.txt from the run with the problem. With kubridge installed, a crash also writes crash.txt there; please attach it too.

Credits and license

Built on NFSHP2_Switch_Port by HDErick, with vitaGL by Rinnegatamante and the VitaSDK team. Full credits are in the README. Licensed under GPL-3.0.

Need for Speed and Hot Pursuit 2 are trademarks of Electronic Arts. This project is not affiliated with or endorsed by Electronic Arts.

v0.1.1-alpha

v0.1.1-alpha Pre-release
Pre-release

Choose a tag to compare

@elmnt22 elmnt22 released this 23 Nov 06:30

NFS Hot Pursuit 2 for PS Vita — v0.1.1-alpha

A bug-fix update to v0.1.0-alpha.

Fixes

  • Fixed a crash when leaving a long race. After a long race, choosing Quit Race could crash while the menus loaded. The cause was memory fragmentation: plenty of memory was free, but it was split into pieces too small for the 14 MB menu file. Large memory requests now get their own blocks from the Vita's system memory, so they no longer depend on finding a gap. The total memory budget is unchanged.
  • Next Race and repeated races no longer build up memory. The renderer's geometry caches and the collision cache are now released when a track unloads.
  • Safety net: if the game ever runs out of memory while loading, it restarts itself and returns to the menus instead of crashing. Your progress is autosaved before you leave a race. The previous session's log is kept as NFSHP2_log_prev.txt.

Performance is unchanged: on the same track, the average was 28.74 FPS with the fix and 28.76 FPS without it.

Updating

Install the new NFSHP2.vpk over the old one with VitaShell. Your game data and saves in ux0:data/NFSHP2/ are kept.

What you need

  • Need for Speed: Hot Pursuit 2 for PS2, PAL version 1.00 (SLES-50731). Other regions and versions are not supported. No game data is included.
  • A PS Vita or PS TV with HENkaku / Ensō, and VitaShell.
  • libshacccg.suprx in ur0:data/ (extract it with ShaRKBR33D if you don't have it).
  • About 3.2 GB free on the memory card.

Installation

  1. Install NFSHP2.vpk (below) with VitaShell. It shows up as NFS Hot Pursuit 2 (title ID NFSHP2002).
  2. Copy ZDIR.BIN and ZZDATA.BIN from the disc's NFSHP2 folder to ux0:data/NFSHP2/.
  3. Start the game from the LiveArea.

Known issues

  • Very busy moments, such as big pileups and wide open views, can still dip briefly below 30 FPS (about 2% of frames).
  • Some parts have had less testing than single-player racing, such as two-player split screen and long career runs. Reports from these are very welcome.

Options

Empty files in ux0:data/NFSHP2/ change settings at boot:

File Effect
fps_uncapped.txt Unlock the frame rate (experimental)
audio_dry.txt Turn the reverb off
audio_linear.txt Use plain linear voice interpolation
speedtrap_retail.txt Keep the original race-start behaviour for the parked speed-trap cop

Reporting problems

Open an issue and attach ux0:data/NFSHP2/NFSHP2_log.txt from the run with the problem. With kubridge installed, a crash also writes crash.txt there; please attach it too.

Credits and license

Built on NFSHP2_Switch_Port by HDErick, with vitaGL by Rinnegatamante and the VitaSDK team. Full credits are in the README. Licensed under GPL-3.0.

Need for Speed and Hot Pursuit 2 are trademarks of Electronic Arts. This project is not affiliated with or endorsed by Electronic Arts.

v0.1.0-alpha

v0.1.0-alpha Pre-release
Pre-release

Choose a tag to compare

@elmnt22 elmnt22 released this 23 Nov 01:55

NFS Hot Pursuit 2 for PS Vita — v0.1.0-alpha

The first public test build of the native PS Vita port of Need for Speed: Hot Pursuit 2 (PS2 version). The game runs as native ARM code on the Vita, with no emulation and no recompiler. It uses your own copy of the PS2 game's data.

Alpha build. Expect rough edges. Please report problems with your log file (see below).

Highlights

  • The PS2 game on the Vita: front end, race modes, Hot Pursuit with cops and pursuits, AI and traffic, movies, speech, music and saving.
  • 30 FPS: locked to an even 30 FPS by default, with the rear-view mirror on. Across 17 test tracks it averages 29.2–29.6 FPS.
  • Native GPU renderer: draws straight to the Vita's GPU at 960×544 in 16:9. Screen-filling smoke and dust are drawn at half or quarter resolution to hold the frame rate.
  • PS2-accurate audio: the voice mixer uses the PS2 sound chip's Gaussian interpolation, and tunnels get the PS2's hardware reverb.
  • Retail gameplay: physics, handling and AI keep the original behaviour. Every optimisation was checked against the reference code for identical results.
  • No plugins needed.

What you need

  • Need for Speed: Hot Pursuit 2 for PS2, PAL version 1.00 (SLES-50731). Other regions and versions are not supported. No game data is included.
  • A PS Vita or PS TV with HENkaku / Ensō, and VitaShell.
  • libshacccg.suprx in ur0:data/ (extract it with ShaRKBR33D if you don't have it).
  • About 3.2 GB free on the memory card.

Installation

  1. Install NFSHP2.vpk (below) with VitaShell. It shows up as NFS Hot Pursuit 2 (title ID NFSHP2002).
  2. Copy ZDIR.BIN and ZZDATA.BIN from the disc's NFSHP2 folder to ux0:data/NFSHP2/.
  3. Start the game from the LiveArea.

Known issues

  • Very busy moments, such as big pileups and wide open views, can still dip briefly below 30 FPS (about 2% of frames).
  • Some parts have had less testing than single-player racing, such as two-player split screen and long career runs. Reports from these are very welcome.

Options

Empty files in ux0:data/NFSHP2/ change settings at boot:

File Effect
fps_uncapped.txt Unlock the frame rate (experimental)
audio_dry.txt Turn the reverb off
audio_linear.txt Use plain linear voice interpolation
speedtrap_retail.txt Keep the original race-start behaviour for the parked speed-trap cop

Reporting problems

Open an issue and attach ux0:data/NFSHP2/NFSHP2_log.txt from the run with the problem. With kubridge installed, a crash also writes crash.txt there; please attach it too.

Credits and license

Built on NFSHP2_Switch_Port by HDErick, with vitaGL by Rinnegatamante and the VitaSDK team. Full credits are in the README. Licensed under GPL-3.0.

Need for Speed and Hot Pursuit 2 are trademarks of Electronic Arts. This project is not affiliated with or endorsed by Electronic Arts.