ProStreetServerASILoader/PluginExample
0 forks
id: 70
994 Lines
- C++ 49.8%
- C 18.6%
- Markdown 16.3%
- Yaml 11.1%
- Shell 3.3%
- JSON 0.5%
- INI 0.4%
PluginExample
Example C++ ASI plugin template for the Need for Speed: ProStreet server (
bombd.exe).
đĻ Downloads & Releases
Pre-compiled example plugin binaries (PluginExample.asi) and release packages can be downloaded directly from:
đ https://weexnes.dev/project/PluginExample#artifacts
đ Features
- Clean C++ Event API: High-level callbacks for server events defined in
bombd_hooks.h. - Event Interception: Built-in hooks for
OnServerInit,OnPlayerLogin,OnPlayerDisconnect, andOnGameCreated. - Session Querying: Memory inspection routines for active game sessions, player details, and room settings.
- Configurable INI Support: Parses plugin settings directly from
config.ini. - OneDev CI/CD Pipeline: Complete
.onedev-buildspec.ymlspecification for automated builds and releases.
đšī¸ Requirements & Compatibility
Requires ProStreetServerASILoader (winmm.dll) installed alongside bombd.exe.
- Target Executable:
bombd.exe - Plugin Loader:
ProStreetServerASILoader(winmm.dll)
đ ī¸ Installation & Usage
- Download or build
PluginExample.asi. - Ensure
ProStreetServerASILoader(winmm.dll) is placed in~/.OpenProStreet/alongsidebombd.exe. - Copy
PluginExample.asi(and optionalconfig.ini) into~/.OpenProStreet/scripts/:cp build/PluginExample.asi ~/.OpenProStreet/scripts/ cp config.ini ~/.OpenProStreet/scripts/ - Start the server (e.g.
./OpenProStreetV start).
đģ Building from Source
Linux Cross-Compilation (MinGW-w64 x86)
# Install dependencies
sudo pacman -S cmake make mingw-w64-gcc python
# Run cross-build script
chmod +x build.sh
./build.sh
Output binary will be located in build/PluginExample.asi.
đ License & Repository
- Repository: https://code.weexnes.dev/PluginExample
- Part of the Need for Speed: ProStreet Modding Ecosystem