Jump to content
willpv23

ScriptHookV Alternative

Recommended Posts

2/10/2019: An update for ScriptHookV as been released - you should use that instead: http://www.dev-c.com/gtav/scripthookv/

 

This plugin called "AsiSupport" by Pursuit converts ASI mods to work with RPH. It will work even after the game is updated, so it makes a good alternative to ScriptHook while we wait for it to be updated. Once ScriptHook is updated, it is advisable to install and use that instead.

 

Installation:

  1. Make sure you have the requirements linked below installed.
  2. Download link: https://github.com/fr-Pursuit/AsiSupport/releases/
  3. Cop the contents of "Installation" to your root GTA V folder.
  4. Load AsiSupport.dll with RPH (either through using the commands ReloadAllPlugins or LoadPlugin "AsiSupport.dll"; or selecting it to load in the RPH settings dialogue.)
  5. Your ASI mods should now be loaded. If it crashes while loading them, it's likely you are using an unsupported ASI mod. 

 

Requirements:

(Thanks to @theninja35 for his original topic from last year).


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

Hey there, I'm the one on Twitter who mentioned the CTD I experience with this plugin. The asi scripts I am using are: ELS, Simple Trainer, Heap Adjuster, Packfile Limit Adjuster, & Player Location Display. If you require more information just tell me what you need and I'll try and get it for you.

Share this post


Link to post
Share on other sites
1 hour ago, fallout2077 said:

Hey there, I'm the one on Twitter who mentioned the CTD I experience with this plugin. The asi scripts I am using are: ELS, Simple Trainer, Heap Adjuster, Packfile Limit Adjuster, & Player Location Display. If you require more information just tell me what you need and I'll try and get it for you.

 

Can you post your RagePluginHook log? It's probably one of those mods not working well with the ASI plugin. As I said, I only tested ELS and Simple Native Trainer.

 

1 hour ago, Friendship7 said:

I haven't had much luck with this, I have Scripthook.net, ELS, and simple trainer and none of them seem to work I'm afraid.

 

ScriptHook.net is probably the issue. At that point you have 3 different API's trying to work together.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

So putting this in the plugin folder hasn’t loaded anything. Should I make sure it’s loaded in the rage plugin upon loading?  I really miss PLD, do I need those asi scripts in the plugins folder too or is it okay to keep them in the main directory? 

Share this post


Link to post
Share on other sites
12 minutes ago, jvm222 said:

So putting this in the plugin folder hasn’t loaded anything. Should I make sure it’s loaded in the rage plugin upon loading?  I really miss PLD, do I need those asi scripts in the plugins folder too or is it okay to keep them in the main directory? 

 

You have to load it with RPH using the LoadPlugin command. You should leave all ASI mods in the main directory.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

If i starts my game with this plugin then loads my RPH and when i am in game the screen is black. If i wait for 30 sconds do i have a game crash.

Gta not working.PNG

Share this post


Link to post
Share on other sites
5 hours ago, Sjoerd said:

If i starts my game with this plugin then loads my RPH and when i am in game the screen is black. If i wait for 30 sconds do i have a game crash.

 

What ASI mods are you using? Can you upload your RPH log? Perhaps try loading the game and RPH without the AsiSupport plugin, and only load AsiSupport after you are in game with the LoadPlugin command.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites
12 hours ago, willpv23 said:

 

Can you post your RagePluginHook log? It's probably one of those mods not working well with the ASI plugin. As I said, I only tested ELS and Simple Native Trainer.

 

 

ScriptHook.net is probably the issue. At that point you have 3 different API's trying to work together.

I sure will (the log). And I am also using ScriptHook dot Net, which as you said, may be the issue. I'll remove that and see what happens.

Share this post


Link to post
Share on other sites
2 hours ago, willpv23 said:

 

What ASI mods are you using? Can you upload your RPH log? Perhaps try loading the game and RPH without the AsiSupport plugin, and only load AsiSupport after you are in game with the LoadPlugin command.

 

This is what happens when I followed the loading from the in game console. I made sure everything other than PLD was deleted. Not sure IF i have to delete the other  files that have came with scripthook, like the other .dll files like dinput8.dll or dsound.dll 

 

here's a pastebin. maybe its just PLD. It shows it loaded and provides additional commands, then freezes and crashes. 

 

https://pastebin.com/ceTBeaNB

 

 

scripthook was updated, so disregard this. But it would be cool to know!!

Edited by jvm222
scripthook edit

Share this post


Link to post
Share on other sites

Updated the main post for the ScriptHookV update (also updated it earlier with more information) and added that ScriptHookVDotNet doesn't work with it (although I haven't tested it myself).

 

4 hours ago, jvm222 said:

This is what happens when I followed the loading from the in game console. I made sure everything other than PLD was deleted. Not sure IF i have to delete the other  files that have came with scripthook, like the other .dll files like dinput8.dll or dsound.dll 

 

here's a pastebin. maybe its just PLD. It shows it loaded and provides additional commands, then freezes and crashes. 

 

https://pastebin.com/ceTBeaNB

 

 

scripthook was updated, so disregard this. But it would be cool to know!!

 

It could just be PLD, I'll test it later.

 

Update: PLD does work for me.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

Well, I'm happy to see it's still useful 😀. Due to its design, updates aren't required to keep it working: unless something crucial about the ScriptHookV / RPH API changes, it'll still work in the future.

 

Though, I updated it anyway. It should now work for everyone (I hope). Plus, performance has been improved, and the crash reporting system allows us to identify potential problems more easily.


You can download the latest version here: https://github.com/fr-Pursuit/AsiSupport/releases

 

PS: It's always best to use ScriptHookV directly, as this plugin adds an intermediary and therefore operations everytime a native is called. Though, it's a good alternative to SHV when an update drops 😁


Great work! Because this message is pre-written, any observations related to your performance are speculation on our part. Please disregard any undeserved compliments

Share this post


Link to post
Share on other sites
2 hours ago, Digital HD said:

Would this work for the current update, since ScriptHookV has not been updated yet?

 

I don't see why not, although I haven't tried yet.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

He guys,

GTA-V v1.0.1604.0 Retail

RPH v0.64.1234.15464 PUBLIC ALPHA

 

LSPDFR

LSPDFR+

Interaction+

Computer+

ASISupport 0.3.1

HoldMyGun

KTFDO

Spotlight
ArrestManager
EMSmod

PoliceSearch

PoliceSmartRadio
StopThePed

Assorted Callouts

BetterEms

CalloutManager

MakePedsCalmAgain

MoreRadioChatter

Traffic Policer

VocalDispatch

 

I thougt it would be helpful to show, what plugins  I'm using.


So, after these latest dropped updates I installed, I checked that the latest SHV is still missing. I searched for another way to get things working and found this thread. I installed the latest "ASISupport" version, and further required programs, exept Windows Framework 4.6 because system told me that it's totally outdated. 
I implemented all into the matching game directory, like readme.txt told me to.

Everything seems to get started without crashing or causing other problems but my loading screen doesn't end. It is a never-ending-loading-loop. 

 

Can somebody help? Greets!

 

 

Edited by myrincubator

Share this post


Link to post
Share on other sites
16 minutes ago, myrincubator said:

I thougt it would be helpful to show, what plugins  I'm using.


So, after these latest dropped updates I installed, I checked that the latest SHV is still missing. I searched for another way to get things working and found this thread. I installed the latest "ASISupport" version, and further required programs, exept Windows Framework 4.6 because system told me that it's totally outdated. 
I implemented all into the matching game directory, like readme.txt told me to.

Everything seems to get started without crashing or causing other problems but my loading screen doesn't end. It is a never-ending-loading-loop. 

 

Can somebody help? Greets!

 

 

 

Never ending loading loop is likely unrelated to this. You probably need to replace your update.rpf in your mods folder.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites

Excellent idea and mod, however with the latest version of GTA and RAGE the plugin crashes and refuses to load other plugins. All other RAGE plugins load fine.

 

Below is a crash report if that helps:

---- ASI Support 0.3.1 crash report ----
Generated on 14/12/2018 21:11:59


-- Thrown exception --
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.ReadByte()
   at AsiSupport.ASI.AsiPlugin.ConvertAsi()
   at AsiSupport.ASI.AsiLoader.LoadPlugin(AsiPlugin plugin)
   at AsiSupport.ASI.AsiLoader.LoadAllPlugins()
   at AsiSupport.Support.Initialize()
   at AsiSupport.Support.Tick()
   at PursuitLib.RPH.RPHPlugin.Run()

-- AsiSupport state --
Initialized: False
Pointer to RetVal: 2AA71A9A920
Last native called: 0

-- Loaded plugins --
*None*

Also, the relevant lines in the RPH log upon crash:

[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Intializing AsiSupport version 0.3.1...
[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Using PursuitLib 0.9.3
[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Using PursuitLib.RPH 0.1.0
[14/12/2018 19:46:46.368] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] All required files are available.
[14/12/2018 19:46:46.388] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Initializing AsiLoader...
[14/12/2018 19:46:46.512] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] KeyboardManager initialized
[14/12/2018 19:46:46.516] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport initialized.
[14/12/2018 19:46:46.517] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Loading ASI plugins
[14/12/2018 19:46:46.520] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Loading "AdvancedHookV"
[14/12/2018 19:46:46.521] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Non universal ASI detected. Converting it...
[14/12/2018 19:46:46.528] ASI Support For RAGE Plugin Hook: [19:46:46] [ERROR] Unhandled exception. Execution cannot continue: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[14/12/2018 19:46:46.529] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Creating crash report: crash-14-12-2018-19.46.46.txt
[14/12/2018 19:46:46.541] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Unloading all plugins...
[14/12/2018 19:46:46.541] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing KeyboardManager...
[14/12/2018 19:46:46.545] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing AsiInterface...
[14/12/2018 19:46:46.545] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport unloaded successfully.
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Unloading all plugins...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing KeyboardManager...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing AsiInterface...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport unloaded successfully.
[14/12/2018 19:46:49.360] SirenMastery: SirenMastery, developed by Albo1125, has been loaded successfully!

 

Edited by Double Doppler

Share this post


Link to post
Share on other sites
37 minutes ago, Double Doppler said:

Excellent idea and mod, however with the latest version of GTA and RAGE the plugin crashes and refuses to load other plugins. All other RAGE plugins load fine.

 

Below is a crash report if that helps:

Also, the relevant lines in the RPH log upon crash:

 

 

Saw this on GitHub - seems to be related to AdvancedHook.asi, which used to be necessary for ELS. So long as you have AdvancedHook.dll, you can delete the .asi version.


"Work and ideas get stolen, then you keep moving on doing your thing."

Share this post


Link to post
Share on other sites
26 minutes ago, willpv23 said:

 

Saw this on GitHub - seems to be related to AdvancedHook.asi, which used to be necessary for ELS. So long as you have AdvancedHook.dll, you can delete the .asi version.

Unfortunately, removing AdvancedHook.asi has no effect

Share this post


Link to post
Share on other sites
6 hours ago, willpv23 said:

 

I don't see why not, although I haven't tried yet.

I'll give it a try when I get home. Surprised to see no update for ScriptHookV yet. 

Share this post


Link to post
Share on other sites
17 hours ago, willpv23 said:

 

Never ending loading loop is likely unrelated to this. You probably need to replace your update.rpf in your mods folder.

 

Repaired as you told to and that worked great. 
Meanwhile ASI Support crashes when starting the game via RPH. I coudn't find crash-report-data yet, otherwise I've had posted it here already. 
But I'm afraid console content tells the same error Double Doppler already posted in here.

So, i'll wait for you guys who are dealing with modding longer than me^^

Share this post


Link to post
Share on other sites
16 hours ago, Double Doppler said:

Excellent idea and mod, however with the latest version of GTA and RAGE the plugin crashes and refuses to load other plugins. All other RAGE plugins load fine.

 

Below is a crash report if that helps:


---- ASI Support 0.3.1 crash report ----
Generated on 14/12/2018 21:11:59


-- Thrown exception --
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.ReadByte()
   at AsiSupport.ASI.AsiPlugin.ConvertAsi()
   at AsiSupport.ASI.AsiLoader.LoadPlugin(AsiPlugin plugin)
   at AsiSupport.ASI.AsiLoader.LoadAllPlugins()
   at AsiSupport.Support.Initialize()
   at AsiSupport.Support.Tick()
   at PursuitLib.RPH.RPHPlugin.Run()

-- AsiSupport state --
Initialized: False
Pointer to RetVal: 2AA71A9A920
Last native called: 0

-- Loaded plugins --
*None*

Also, the relevant lines in the RPH log upon crash:


[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Intializing AsiSupport version 0.3.1...
[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Using PursuitLib 0.9.3
[14/12/2018 19:46:46.360] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Using PursuitLib.RPH 0.1.0
[14/12/2018 19:46:46.368] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] All required files are available.
[14/12/2018 19:46:46.388] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Initializing AsiLoader...
[14/12/2018 19:46:46.512] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] KeyboardManager initialized
[14/12/2018 19:46:46.516] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport initialized.
[14/12/2018 19:46:46.517] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Loading ASI plugins
[14/12/2018 19:46:46.520] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Loading "AdvancedHookV"
[14/12/2018 19:46:46.521] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Non universal ASI detected. Converting it...
[14/12/2018 19:46:46.528] ASI Support For RAGE Plugin Hook: [19:46:46] [ERROR] Unhandled exception. Execution cannot continue: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[14/12/2018 19:46:46.529] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Creating crash report: crash-14-12-2018-19.46.46.txt
[14/12/2018 19:46:46.541] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Unloading all plugins...
[14/12/2018 19:46:46.541] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing KeyboardManager...
[14/12/2018 19:46:46.545] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing AsiInterface...
[14/12/2018 19:46:46.545] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport unloaded successfully.
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Unloading all plugins...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing KeyboardManager...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] Disposing AsiInterface...
[14/12/2018 19:46:46.566] ASI Support For RAGE Plugin Hook: [19:46:46] [INFO] AsiSupport unloaded successfully.
[14/12/2018 19:46:49.360] SirenMastery: SirenMastery, developed by Albo1125, has been loaded successfully!

 

checked my console and it's exactly the same crash that occures...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...