Created with the goal to upgrade ScriptHookV .NET to latest .NET Core runtime, while maintaing compatability with previous versions.
Extract ScriptHookVDotNetCore.asi to your game root. That’s all.
Create a .NET 7 class library project.
Install the nuget package and start writing scripts like you would in SHVDN.
Copy the compiled dll in the native folder inside the output directory (important! File size should be larger than 4 mb) to GTAROOT\CoreScripts folder.
Press End to unload all scripts, Home to reload.
This project is a seperate asi plugin that only depends on ScriptHookV. It provides a new way to write scripts in latest .NET version, it does not replace SHVDN, the latter is still needed to run the scripts that’re built against it. Existing scripts will continue to work as long as you have SHVDN installed.
Experimental, might have bugs/crash
Alexander Blade for his ScriptHookV
crosire and all contributors of ScriptHookV .NET.
Basically all scripting API are from ScriptHookV .NET, with some modifications to adapt to new runtime.