Description
RAGE Plugin Hook Integration with ASI
This is a RPH plugin that converts ASI mods into UASI ("Universal ASI") mods which can be loaded with RAGE Plugin Hook in the same way ASI mods are loaded with ScriptHookV. Everything but the raw DirectX access ("Present callbacks") has been implemented, so most ASIs should load and work properly. To use this plugin, you must have: .NET Framework 4.6 RAGE Plugin Hook How does it work? The first version was entirely coded in C++/CLI: native C++ code was used to interact with native ASI plugins, and the "CLI" (or "managed") part of the code was used to interact with the .NET Framework and RAGE Plugin Hook. Though, this mix between managed and unmanaged code created dependency issues. The current version addresses these issues by rewriting the core logic in C#. The interop with ASI scripts is now done via UnvAsiIntrf.dll (coded in pure C++). This approach eliminates the need for .rasi files, replacing them with .uasi (Universal ASI) files. Converting ASI files to UASI should now be faster. Changelog: * **0.3.3:** * The plugin can now optionally consider the current game version as unknown. * The plugin can now optionally ignore calls to unknown natives. This could prevent some plugins from crashing. If a plugin tries to call an unknown native, 0 will be returned. * Added the ReloadAsiConfig command * **0.3.2:** * The plugin should no longer crash if it failed to load or convert an ASI file. * The plugin now detects non ScriptHookV scripts instead of trying to convert them. * **0.3.1:** Improved performance * **0.3.0:** * The AsiSupport plugin has been rewritten in C# to remove the C++/CLI dependency. * The interop with ASI scripts is now done via UnvAsiIntrf.dll (coded in pure C++). * AsiSupport no longer uses .rasi files: it uses .uasi (Universal ASI) files. * Converting ASI files to UASI should now be faster. * Key events are no longer being transferred to ASI plugins when the RPH console is open. * Better handling of exceptions: the plugin should no longer crash (most of the times), but instead show a user friendly error message. * Most ASI plugins can now be unloaded and reloaded without rebooting the game (sorry, ELS is not one of them). * **0.2.0:** * If a script is already loaded with SHV, the SHV script will be killed. * The dependency issue is now fixed * The plugin should now also work on Windows 7, 8, and 8.1 * OpenIV.asi is no longer handled as it is stand-alone and will work anyway * If the original .asi file changes, the converted .rasi file is updated * **0.1.0:** Initial public release Please note I only created it to be able to use old ASI plugins created by inactive authors. If you're a new developer wanting to create a GTA V plugin, I highly recommend you directly use RPH instead, as it will improve performance.** Thanks to MulleDK19 and LMS for RAGE Plugin Hook Thanks to Alexander Blade for ScriptHookV Thanks to JackD111 for OpenVHook Thanks to alexguirre for helping me figure out stuff The source is available on Github under the GPLv3 license.First Upload: November 11, 2024 Last Updated: November 11, 2024
0 Comments
Join the conversation! Log In or register for an account to be able to comment.