Skip to content

NFSU2 Revived v0.15.15 — Re-Released due Critical Crash

Choose a tag to compare

@github-actions github-actions released this 07 Nov 04:17
· 160 commits to main since this release

What's Changed in v0.15.15

⚠️ Crash Fixes & Engine Stability

  • Fix Unexpected Force Crash Entering Career Mode: Resolved a race condition where the background RoamTickWorker thread executed nativeRoamTick() concurrently with the guest render loop, corrupting guest heap memory and stack pointers (SEGV_ACCERR). Game frame operations now strictly run on the main rendering loop under engine locks.
  • Fix Keyboard Configuration Crash: Restored DirectInput keyboard and controller device enumeration logic from v0.15.14, preventing crashes when opening or configuring controls in the in-game Controls / Keyboard menu.
  • Carpool Memory Expansion: Expanded all 3 internal carpool allocations to 48 MB each (0x007fa9d4, 0x007fa9d8, 0x007fa9dc) and increased CarLoadedRideInfoSlotPool capacity from 22 to 127 entries (0x0061c744) to eliminate memory exhaustion crashes during world exploration.

Online & Multiplayer Fixes (eahub.eu & Adhoc Server)

  • Resolved eahub.eu Connection Block ("SSL bypass cheat"): Identified and removed the patch that stripped the * prefix from *pcnfs05.ea.com. Stripping it forced unencrypted TCP on port 20920, triggering eahub's anti-cheat rejection. Restored native SSL 2.0 connectivity on port 20921.
  • Adhoc Postoffice UDP Forwarding: Fixed PDP frame packet delivery by restoring forwardToLocalGame to relay broadcast/room UDP packets directly to the local game loopback interface (127.0.0.1:47210).
  • Fixed Socket Port Collision (EADDRINUSE): Removed duplicate dynamic DatagramSocket allocations and worker threads created per peer on port 47212, preventing thread starvation and bind errors.
  • Separation of Classic vs Web Protocols: Strictly segregated classic DirtySock / UDP routing (eahub.eu and adhoc.eahub.eu) from nfsu2-web (HTTP/WSS/WebSocket switch) to prevent handshake interception.
  • Active Roam Companion Ticking: Restored reliable guest tick loop execution for the native roam companion.

Launcher Features & Controller Enhancements (PR #21 by @Efraim2704)

  • Automatic Region Detection: Automatically detects region based on game files and asset packages, loading European assets (GLOBALTEXTURESROW.BIN), European exclusive cars (Peugeot 106, Opel Corsa), and localized European voice and movies (sdat_*.viv, MOVIES/*_*.vp6) seamlessly.
  • Gamepad Layouts (Xbox or PlayStation Style): Added controller layout option to display console-accurate button prompts (Cross, Circle, Square, Triangle vs A, B, X, Y) with console-friendly navigation (Cross accept, Circle cancel, R3 camera toggle, Map & SMS shortcuts).
  • Dynamic Touch & Gamepad Integration: Touching the screen while a gamepad is connected brings touch controls back smoothly, and gamepad inputs no longer hide them while fingers are touching the screen.
  • Native Patches: Integrated upstream native hook declarations and updated prebuilt libraries.

Code Refinements & Integration Fixes

  • Input Remapping Protection: Refined PR #21's gamepad implementation so selecting PlayStation / Xbox layout updates the visual UI button names without overriding or wiping out custom button remap configurations from v0.15.14.
  • Widescreen HUD Option: Streamlined HUD adjustments into a dedicated Widescreen HUD option (On/Off, default Off). In 4:3 / centered mode, WidescreenFix.dat is safely parked to guarantee proper alignment without stretching.
  • Launcher Cleanup: Removed non-working and unstable launcher settings to streamline options and improve stability.
  • Crash Diagnostics & Dismissible Update Alerts: Added automatic crash ZIP bundling for diagnostics and allowed update notifications to be dismissed.

Full Changelog: v0.15.14...v0.15.15