This is an ASI plugin for Red Dead Redemption 2, ported from ScriptHookVDotNet, based on the C++ ScriptHook by Alexander Blade, which allows running scripts written in any .NET language in-game.
Join the official Red Dead Redemption 2 Modding Discord for the latest information about Red Dead Redemption 2 PC mods
USE:
Copy ScriptHookRDRDotNet.asi, ScriptHookRDRNetAPI.dll, AND ScriptHookRDRDotNet.ini to your RDR2 Install folder.
Install scripts to /scripts/ folder inside root folder
Requirements
C++ ScriptHookRDR2 by Alexander Blade
.NET Framework v4.6 or above
Visual C++ Redistributable for Visual Studio 2019 x64
For Developers:
Create .NET Framework project ≥ 4.6
Add Reference to ScriptHookRDRNetAPI.dll
use RDR2 namespace
**See ExampleScript.cs**
Contributing
The source for this project is on Github here
You’ll need Visual Studio 2017 or higher to open the project file and the Script Hook RDR2 SDK extracted into “/sdk”.Additionally, create an environment variable called RDR2DN_VERSION and set it to the version you are attempting to build.
Any contributions to the project are welcomed, it’s recommended to use GitHub pull requests.
Credits
Crosire (ScriptHookVDotNet)
Jedijosh920 – lots of help <3
Mooshe – RDR3CrashDiagnostics program
1.0.5.4
Updated for latest patch (v1.0.1232.17) & Updated Natives (pulled from https://alloc8or.github.io/rdr3-native-db/)
Credits:
Saltyq
