10,412 Lines
- C 78%
- C++ 18.3%
- Markdown 1.9%
- Yaml 1.1%
- Shell 0.7%
- JSON 0%
README.md
ProStreetRPC
Discord Rich Presence ASI plugin for Need for Speed: ProStreet.
đĻ Downloads & Releases
Pre-compiled release bundles (ProStreetRPC_v*.zip) containing the ASI plugin and discord_game_sdk.dll can be downloaded directly from:
đ https://weexnes.dev/project/ProStreetRPC#artifacts
đ Features
- Dynamic Status: Displays whether you are in a race day, navigating menus, or in career.
- Player Car Display: Detects the car currently driven by the player and translates internal models to real vehicle names (e.g. "Nissan GT-R (R35)", "Mazda RX-7", "Chevrolet Corvette Z06", "Toyota Supra").
- Race Mode & Event Type: Identifies specific race types (e.g. "Grip", "Drift", "1/4 Mile Drag", "Wheelie Competition", "Speed Challenge", "Top Speed Run", "Sector Shootout", "Time Attack", "Grip Class").
- Detailed Stats: Shows your current career balance and Raceday XP (formatted with commas).
- Map Identification: Detects the current track/map and translates internal identifiers to human-readable names (e.g. "Nevada Highway", "Chicago Airfield").
- Dynamic Cycle: Automatically cycles Discord details line between track name, race type, current car, and Raceday XP during gameplay.
- Safe Memory Management: Validates pointers and handles memory reading safely to prevent game crashes.
đšī¸ Game & Executable Requirements
This plugin was developed for the v1.1 (Europe) "Battery 1.1 nocdfix" executable layout.
- Compatibility: Battery No-CD fix is recommended for exact memory address offset resolution.
- ASI Loader: Requires an ASI loader (such as the one included in Multifix 1.1) to auto-load plugins from the
scriptsfolder. - Disclaimer: This project does not promote software piracy; ownership of a legitimate copy of the game is expected.
đ ī¸ Installation
- Download the latest release from weexnes.dev Artifacts.
- Extract the archive contents:
- Place
ProStreetRPC.asiinto your NFS ProStreetscripts/directory (<prostreet-root>/scripts/ProStreetRPC.asi). - Place
discord_game_sdk.dllinto your main NFS ProStreet root directory (wherenfs.exeis located).
- Place
- Ensure Discord is running and launch NFS ProStreet!
đģ Building from Source
Option A: Linux Cross-Compilation (Recommended)
# Install dependencies (MinGW-w64 toolchain, CMake, Make, curl, unzip)
sudo pacman -S mingw-w64-gcc cmake make curl unzip
# Run automated cross-build script
bash build.sh
Output binaries and release zip will be placed in build/.
Option B: Windows Native Build (Visual Studio & vcpkg)
vcpkg install discord-game-sdk:x86-windows
cmake -B build -A Win32 -DCMAKE_TOOLCHAIN_FILE=[path-to-vcpkg]/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
đ License & Repository
- Repository: https://code.weexnes.dev/ProStreetRPC
- Part of the Need for Speed: ProStreet Modding Ecosystem