SRL Archive - General

Simba script to standalone exe. -HELP


Xendyke

2011-11-12 08:34:22

Hi guys, Has somebody made it yet with simba? I made it back in the days with scar and some window hiding functions with c++.

Nava2

2011-11-12 08:53:07

Yes, it has been done before with Simba. Originally, Simba offered Bytecode compilation, but the feature was removed.

Not sure how someone implemented it with SCAR.. :/

Wizzup?

2011-11-12 09:35:05

From: Nava2
Yes, it has been done before with Simba. Originally, Simba offered Bytecode compilation, but the feature was removed.

Not sure how someone implemented it with SCAR.. :/


You could load the entire .exe in another form, hide it all. But seriously, you should look into Simple Simba, which is under development. Why do you want .exe's?

mastaraymond

2011-11-12 09:38:22

Cogat! ^^

bevardis

2011-11-12 09:46:24

Orr, you make an app in pascal, import smart srl and everything and.. there's just more work. But hiding the main window is more of a way around it. Cause the window is still there somewhere.

Xendyke

2011-11-14 12:41:39

Well, I tryed this tutorial http://villavu.com/vb/showthread.php?p=739736

It works with scar but not with simba.

My problem:

popen("simba.exe -open test.simba -run", "r"); //<<– This works with scar. ^^

It opens simba, but doesnt run the script. I just need to know that how i can put simba to run the script. Thx =)

Harry

2011-11-14 12:47:06

Please see https://github.com/MerlijnWajer/Simba/blob/master/Projects/Simba/simbaunit.pas - line ~1738

Simba.exe -o scriptname.simba -r
Will open and run.

Xendyke

2011-11-14 13:03:10

From: Harry
Please see https://github.com/MerlijnWajer/Simba/blob/master/Projects/Simba/simbaunit.pas - line ~1738

Simba.exe -o scriptname.simba -r
Will open and run.


Thanks dude, but now i got another problem. When it doesnt run and i got an error from simba, it says Diks Full. press cancel to close the program.. :(


-Problem solved. Thansk for all :)

Silent

2011-11-15 21:23:38

You could also try my method http://villavu.com/vb/showthread.php?t=65446

Hasn't been updated in a while, but it should still work. I haven't looked at the settings of the latest Simba though.

Wyn

2011-11-26 14:08:09

From: Xendyke
Thanks dude, but now i got another problem. When it doesnt run and i got an error from simba, it says Diks Full. press cancel to close the program.. :(


-Problem solved. Thansk for all :)


Can you show what you've done?