ScriptHookV .NET Core

GTA 5 / programs
ScriptHookV, for .NET Core
Created with the goal to upgrade ScriptHookV .NET to latest .NET Core runtime, while maintaing compatability with previous versions. See the issue and discussion here

Requirements:
An asi loader and Alexander Blade's ScriptHookV
.NET 7 desktop runtime

Installation:
Extract all contents inside the zip archive to your game root.

For developers:
Create a .NET 7 class library project.

[CoreCLR]
Install the nuget package and start writing scripts like you would in SHVDN.
Add <EnableDynamicLoading>true</EnableDynamicLoading> to your csproj, and copy output to a folder in GTAROOTCoreScripts, e.g. GTAROOTCoreScriptsMyScripts.

[NativeAOT]
Install this package instead and copy the compiled dll in the native folder inside the output directory (important! File size should be larger than 4 mb) to GTAROOTCoreScripts folder.

Press End to unload all scripts, Home to reload.
See the project on GitHub for detailed guides and more information.

Note
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

Credits:
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.

Changelogs(might not be up-to-date, see complete ones on GitHub release page):

v1.2.1
- Fix crash and native call not working in Release build

v1.2.0

v1.1.2

v1.1.1


v1.1.0
- Fixed issue in source generator that causes duplicated script loading under some circumstances (#2)
- Added in-game console, press F6 to open by default, configurable through the ini file. The console is not as powerful as that of SHVDN, only commands registered by scripts can be executed as it's impossible to dynamically compile and execute code in NativeAOT. To expose a function as command, mark it with GTA.ConsoleCommand attribute, most primitives and class that implements IConvertible can be converted and passed as parameters.
- Fixed an error that causes random crash probaly due to the use of fiber switching and GC by reintrducing dedicated script thread, performance degration is expected. To get better performance, mark the script class with [ScriptAttribute(NoScriptThread = true)] like those in the base script, but beware that Script.Yield() and Script.Wait() will throw an exception running in such mode.
- Save time for memory scanning each time a module is loaded by reusing NativeMemoryStruct
- Added NativeInvoker class, which allows easy and intuitive native function calling with strong-typed parameters and comments
Узнайте о новых возможностях и улучшениях в выпуске Photoshop на официальном сайте >

FAQ

Ошибок много, сюда всё не влезет. Поэтому все решения (с картинками) мы расписали в статье: Ошибки при установке приложений на Мак

Официальные обновления могут привести к потере активации, если обратное не написано в инструкции по установке. Для обновления ПО с этого сайта необходимо здесь же (при наличии) скачать новую версию этого ПО, и установить его поверх (с заменой) установленной на вашем компьютере версии. В таком случае вы сохраните активацию и настройки этого ПО. Подробнее в статье: Обновление пиратских приложений

Для скачивания крупных файлов рекомендуется использовать любой менеджер загрузок, например, FDM (Free Download Manager) Для скачивания с ФО по типу Filen.io не рекомендуется использовать браузер Safari. Используйте, например, Google Chrome, или вышеупомянутый FDM. Для скачивания файлов через торрент (файл.torrent) требуется наличие Торрент-клиента, например, Transmission, или вышеупомянутый FDM. Не забывайте, что провайдеры могут блокировать доступ к некоторым сайтам (1fichier.com и др.), для обхода блокировок рекомендуется использовать VPN.

Администрация сайта ничего не взламывает. Этим занимаются релиз-группы и некоторые энтузиасты. От них и зависит наличие обновлений. Но вы можете ломать софт самостоятельно, начав изучать реверс инжиниринг
Проблемы с установкой и активацией?
Запросить помощь

Комментарии 0

Версия

7.0.11

Разработчик
Nektony
Язык интерфейса
Английский
Активация (RG)
K'ed by TNT team
Совместимость
macOS 10.12 и новее
Архитектура
ARM, x86 (64-bit)
Скачать бесплатно Предыдущие версии
Угрозы не найдены. Подробнее...

Опубликовано (изменено): 16.05.2023

Просмотры: 100

ПОХОЖИЕ ПУБЛИКАЦИИ