Dynamite Posted January 3, 2012 Share Posted January 3, 2012 Hi there I want to compile a script, SCAR and OSI to a standalone exe. Is there a current way to do this or will I need to do some work for it <3 Thanks -Boom Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 3, 2012 Share Posted January 3, 2012 There's currently no way to do this. Quote Link to comment Share on other sites More sharing options...
Dynamite Posted January 3, 2012 Author Share Posted January 3, 2012 Any suggestions on how to go about it? Thanks <3 -Boom Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 3, 2012 Share Posted January 3, 2012 What he means is it's not possible Quote Link to comment Share on other sites More sharing options...
Dynamite Posted January 3, 2012 Author Share Posted January 3, 2012 Ah, ok. Come one msn Wanted <3 Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted January 10, 2012 Share Posted January 10, 2012 (edited) it is very much so possible, using delpha 7, you can recreate an instance of a 'Scar look alike' and just like creating forms insert code and go from there. I dunno what they mean not possible, because all scar is pascal + some extras, the only thing you will loose is some of the extras, but u can simply use 'simba's' souce to grab what functions and ect you would like to carry over to you own project. its alot of work, and basicly rebuilding scar, but most of the leg work has been done, just make sure to credit the proper owners of the work you copy <_> 2 programs you need are : Delpha 7 PascalScript Edited January 10, 2012 by shadowrecon Quote Link to comment Share on other sites More sharing options...
rsutton Posted January 10, 2012 Share Posted January 10, 2012 (edited) I just wrote about the same thing cody did above lol. So here is my edited post. Edited January 10, 2012 by rsutton Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 10, 2012 Share Posted January 10, 2012 Aside from the fact that Delphi 7 is horribly outdated and using pascalscript would actually do the opposite of compiling to exe, simba's source code is not compatible with SCAR, the functions are implemented differently and will not produce the same behavior. Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 10, 2012 Share Posted January 10, 2012 You would have a hell of a time trying to get OSI to work with simba hahahah Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 11, 2012 Share Posted January 11, 2012 To properly do this you would need access to SCAR's source code, modify it to do what you want, and compile it yourself. I think I'm safe in saying this is not going to happen. Although sometimes wish I could browse the code to see how he does certain things just for curiosity's sake. Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 11, 2012 Share Posted January 11, 2012 Speed-wise the new script engine in SCAR 4 will very closely approximate the speed of your code if it was compiled to an exe file. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 11, 2012 Share Posted January 11, 2012 I suspect this has more to do with wanting to hide their script details so they can sell it. Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 11, 2012 Share Posted January 11, 2012 I know, but I just wanted to add that. Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 12, 2012 Share Posted January 12, 2012 Honestly you can put most stuff in a plugin and hide it that way if you wanted to. Quote Link to comment Share on other sites More sharing options...
Dynamite Posted January 12, 2012 Author Share Posted January 12, 2012 But you could decompile the plugin quite easily couldn't you? Otherwise, that is a very suitable way of doing it. -Boom Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 12, 2012 Share Posted January 12, 2012 The original code can never be retrieved from a plugin, only reproduced as great cost. Aside from the fact that few people have the skill to do this, most won't bother with it to begin with. Basically, it's about as safe as it gets. Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted January 13, 2012 Share Posted January 13, 2012 do you guys think we can even get scar to compile to an exe file alone or maybe with some .dll files? Becuase honestly i think that would be purely awesome if we can compile it to a .exe file Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted January 13, 2012 Share Posted January 13, 2012 Simba has alot of scars old functions findcolor.. the basics that are built in, and yeah it wouldnt work with osi, but i wasnt saying i wanted to do it i was giving an answer to the problem of compiling to .exe it is possible to compile a "script" not scar.. to an exe with a little leg work. you guys were stating it was not possible and with deplhi 7 and the old functions source code from simba with your forms scripts ect... and compile it once your done. no simple task, not for a intermediate .. programmerr. and if people were any kind of programmer they wouldnt be asking how to do it, they would know ... =p How would you make a Plugin? just the basics, ill search the rest somewhere so as you dont have the explain it all. Quote Link to comment Share on other sites More sharing options...
Dynamite Posted January 27, 2012 Author Share Posted January 27, 2012 Honestly you can put most stuff in a plugin and hide it that way if you wanted to. But you can't put in things like Wait(100) etc that is in the SRL Include can you? Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 27, 2012 Share Posted January 27, 2012 You can easily recreate a method similar to Wait with the Sleep API. Quote Link to comment Share on other sites More sharing options...
Dynamite Posted January 27, 2012 Author Share Posted January 27, 2012 I don't mean that exact function I mean within a plugin you can't call a function that is included in OSI/SRL... Can you? Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 27, 2012 Share Posted January 27, 2012 Ah, no, you can't. Quote Link to comment Share on other sites More sharing options...
Dynamite Posted February 2, 2012 Author Share Posted February 2, 2012 That what I thought, unfortunate. I guess I will have to wait till we can compile to exe. Any news on it? -Boom Quote Link to comment Share on other sites More sharing options...