Pages

Sunday, November 17, 2013

[TUT] ScriptHook installation with OpenIV Package Installer - GTA iV

Very first of all

Make positive that you have installed:
  • Microsoft .Net Framework four.
  • Microsoft Visual C++ 2010 Redistributable Package (x86)
  • OpenIV, installed and configured
  • At least game patch 1..four. installed

Source: http://www.gtaforums.com/index.php?showtopic=392325


Let me clarify how it functions:

  1. ASI loader is loaded by game because game "thinks" that is a normal dsound.dll file
  2. ASI loader loads any file that is in GTAIV.exe folder that ends with .asi (extension .asi)
  3. The ScriptHookDotNet.asi is loaded by the ASI loader 
  4. ScriptHookDotNet.asi loads the ScriptHook.dll file
  5. ScriptHook.dll loads any .net.dll, .vb or .cs file that is inside the Scripts folder

Installation

*Run everything with admin rights.

1 - Download the ScriptHook right here
two - Extract all files to an folder:


Open the OpenIV and click in Package Installer:


Pick the ScriptHook.oiv file:


Select in what game version you will set up:


If you don't have an ASI loader you can install it clicking in the very first alternative, the ASI loader is essential to load the ScriptHook:




Soon after the installation click in Close, now open the OpenIV once again, pick the same file and install the ScriptHook primarily based in your game patch version:



Now let's test the ScriptHook, open the game, load an save game and when your character is on screen press ' or ~, an black window need to seem, this indicates that the ScriptHook was loaded:


Now press Insert to see if the scripts that is inside the Scripts folder is loading, an menu like this must appear:


Completed! Now you can drag to Scripts folder any .net script for GTA IV :)



Troubleshooting

  • My game never load any longer
You almost certainly have an problem with the ASI loader, take away the dsound.dll file from GTAIV.exe folder and see if the game opens once more. Now try o locate another ASI loader version, gtaforums is a very good decision to search for this kind of file.
If you are running the game without having admin rights perhaps you will get an error message indicating that the file asilog.txt can't be created, in this case you can try to run the game as admin using right click or manually generate the asilog.txt file and saving inside gtaiv.exe folder 

  • My game crash at loading screen
This is possibly related to incorrect ScriptHook.dll version, make positive that you decide on the right ScriptHook based in your  patch version.

  • Black window do not appear 
ScriptHook or ASI loader failed in the startup, attempt other ScriptHook or ASI loader versions

  •  The mod menu don't appear when i press Insert
This can be a problem with the ScriptHook version, send to me the ScriptHook.log file :)


[TUT] ScriptHook installation with OpenIV Package Installer - GTA iV
9out of 10 based on 10 ratings. 9 user reviews.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.