SRL Archive - Help

SRL5 help.


shstiger2009

2012-01-02 11:27:52

I'm getting the error:

Exception in Script: Unable to find file 'SRL/srl.simba' used from ''

I followed the steps on the Official SRL5 thread, what'd I do wrong?

nokkasiili

2012-01-02 11:34:50

You didnt install it correctly…

shstiger2009

2012-01-02 11:36:08

From: nokkasiili
You didnt install it correctly…


Ok, anything you'd suggest that isn't in the main thread? I thought I did everything there correctly.

nokkasiili

2012-01-02 11:37:30

From: shstiger2009
Ok, anything you'd suggest that isn't in the main thread? I thought I did everything there correctly.

Try check why you dont have that file.

Flight

2012-01-02 11:47:37

Step 1: Download SRL5

Step 2: Unzip the SRL5 folder, inside you should have a folder named something like "SRL-SRL-5-d66d4bd". Rename this to SRL.

Step 3: Go to your Simba > Includes folder, rename your current SRL folder to something like "SRL-4" (just for referrance).

Step 4: Copy the SRL5 include (that you already renamed to "SRL") and paste it in Simba > Includes (same place the previous SRL folder was). In your Includes folder, you should now have both "SRL" and "SRL-4". This is good.

Step 5: Run a test script to make sure SRL 5 was correctly installed.
Here's an example script:


program SRL5_TestScript;

{$DEFINE SRL5}
{$i SRL/srl.simba}

Procedure WriteStuffz;
var
AVar1,AVar2: Integer;
begin
AVar1 := 1;
AVar2 := 937193;

Writeln('AVar1 is '+IntToStr(AVar1)+', and AVar2 is '+IntToStr(AVar2));
end;

begin
setupSRL();

WriteStuffz;
end.

shstiger2009

2012-01-02 12:09:45

Oh, I see what I did wrong. Thanks Flight, working now. Check your PM's also. :)