Ooops. Meant to put the if statement on the GLHSetup line:
Simba Code:
{$DEFINE SMART}
{$I GLHook/GLHook.simba}
{$I SRL/SRL/Misc/Debug.Simba}
var
BMP, I: Integer;
Str: String;
begin
SetupSRL;
if (GLHSetup(ToStr(Smart_CurrentProcess))) then
begin
writeln('Failed To Setup GLHook. Please Check the Simba Console for more Info and place the plugins in the right folder.');
TerminateScript;
end;
GLHSetDebug(True, True, 3);
end.
Meh.. I'm in the process of rewriting the plugin already so it'll be easier to use and install I guess.. Not sure if you wanna wait but here's a quick tutorial on installation:
Install Simba as usual.
Enable your Extensions and update your SRL until there's no more updates.
Download the plugins folder.
Copy ~Smart/bin/OpenGL32.dll to ~/Simba/Plugins/.
Copy ~Smart/bin/GLHook.dll to ~/Simba/Plugins/.
Copy ~Smart/Simba/Globals.simba to ~/Simba/Includes/SRL/SRL/Core/.
Copy ~Smart/Simba/SmartParams.simba to ~/Simba/Includes/SRL/Misc/.
Copy ~Smart/Simba/SRL.simba to ~/Simba/Includes/SRL/SRL/.
Download the GLHook include and copy the files to: ~/Simba/Includes.
Thus your folder would look like:
http://i.imgur.com/h3Euvck.png