An improved version of Saltyq's ScriptHookRDR2DotNet implementation.
All credits go to Saltyq for the original ScriptHookRDR2DotNet implementation.
Note: Older C# scripts may not be compatible with this version and likely needs to be updated.
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.
The issues page should be primarily used for bug reports and focused enhancement ideas. Questions related to RDR2 scripting in general are better off in Discussions page or forums dedicated to this purpose, like rdr2mods.com
- C++ ScriptHookRDR2 by Alexander Blade
- .NET Framework ≥ 4.8
- Visual C++ Redistributable for Visual Studio 2019 x64
Pre-built binaries can be found on the releases page. You need to use the ASI file and the DLL files for APIs in an archive of the same version as internal structure can be changed without notices.
You'll need Visual Studio 2019 or higher to open the project file and the Script Hook RDR2 SDK extracted into "/sdk".
Any contributions to the project are welcomed, it's recommended to use GitHub's pull request system.
All the source code except for the Vector, Matrix and Quaternion classes, which are licensed separately, is licensed under the conditions of the zlib license.
- Saltyq - Original ScriptHookRDR2DotNet creator
- crosire & kagikn - ScriptHookVDotNet