Skip to content

NFSU2 Revived v0.15.19

Choose a tag to compare

@mininxd mininxd released this 09 Nov 02:19
· 110 commits to main since this release

What's Changed in v0.15.19

Unlocked Regional Cars (Peugeot 106 & Opel Corsa)

  • New Drivable Cars: Unlocked and integrated European-exclusive cars (Peugeot 106 and Opel Corsa) directly on NTSC game installations.
  • Career & Quick Race Integration: Both cars are now fully selectable in the Career car lot, Quick Race car selection menu, and available for AI opponent rosters:
    // Regional Cars (Peugeot 106 & Opel Corsa unlocked on NTSC)
    if (rh_mem_committed(0x007F7C48u, 16)) {
        MR32(0x007F7C48u) = 0xFFFFFFFFu; // CORSA
        MR32(0x007F7C4Cu) = 0xFFFFFFFFu; // PEUGOT106
        MR32(0x007F7C50u) = 0xFFFFFFFFu; // CIVIC
        MR32(0x007F7C54u) = 0xFFFFFFFFu; // RSX
    }
    if (rh_mem_committed(0x004FEB9Du, 1)) MR8(0x004FEB9Du) = 0x1C; // Extend AI pool
    if (rh_mem_committed(0x007F6DBEu, 2)) {
        MR8(0x007F6DBEu) = 0x07; // CORSA AI config
        MR8(0x007F6DBFu) = 0x06; // PEUGOT106 AI config
    }

Graphics & 3D Geometry Fixes

  • 3D Ground Shadow Alignment: Adjusted shadow projection alignment to sit flush with the road, eliminating ground clipping and floating car shadows:
    // Ground Shadow Alignment Fix (0.015f instead of 0.04f to sit flush with road)
    if (rh_mem_committed(0x007A66B4u, 4)) MRF32(0x007A66B4u) = 0.015f;
  • Vehicle Damage Glass Fix: Resolved game code issue preventing cracked glass rendering during collisions and high-impact crashes:
    // Vehicle Collision Cracked Glass Fix
    if (rh_mem_committed(0x0059FC13u, 1)) MR8(0x0059FC13u) = 0xEB;
  • Menu Geometry Alignment: Fixed Megalow performance shop menu geometry rendering on mobile displays:
    // Megalow Performance Shop Menu Fix
    if (rh_mem_committed(0x0054FBD7u, 1)) MR8(0x0054FBD7u) = 0xEB;

Performance & Engine Improvements

  • Rust Graphics Cache Pipeline: Integrated high-performance Rust buffer processing and vectorized math routines.
  • 3D Audio Positional Attenuation: Vectorized stereo panning and attenuation calculations for enhanced 3D audio clarity:
    // Vectorized 3D audio positional attenuation & stereo panning
    pub fn calculate_3d_spatial_volume(listener: [f32; 3], emitter: [f32; 3], max_dist: f32) -> (f32, f32) {
        let dx = emitter[0] - listener[0];
        let dy = emitter[1] - listener[1];
        let dz = emitter[2] - listener[2];
        let dist = (dx * dx + dy * dy + dz * dz).sqrt();
        let att = (1.0 - (dist / max_dist)).clamp(0.0, 1.0);
        let pan = (dx / dist.max(0.001)).clamp(-1.0, 1.0);
        (att * (1.0 - pan).max(0.0) * 0.5, att * (1.0 + pan).max(0.0) * 0.5)
    }
  • Hydraulics Controls: Added dedicated touch control buttons for hydraulic lift and bounce actions.

Full Changelog: v0.15.18...v0.15.19