damagex Posted September 7, 2011 Share Posted September 7, 2011 Is there any way to convert a .scar script to a standalone executeable? As I'm going to program some scripts with scar and I don't want to release everything open-source. Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 7, 2011 Share Posted September 7, 2011 This is currently not possible, however, future versions of SCAR Divi will probably allow for scripts to be encrypted to keep the source code private. The best thing you could do right now is use obfuscation. Quote Link to comment Share on other sites More sharing options...
damagex Posted September 7, 2011 Author Share Posted September 7, 2011 The best thing you could do right now is use obfuscation. I'm afraid I won't understand my own scripts anymore, but thanks for the information. I'll see what I can do. Will probably make a personal documentation then. Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 7, 2011 Share Posted September 7, 2011 Well, you should obfuscate the script for release, not the version you're working on of course... Quote Link to comment Share on other sites More sharing options...
Wanted Posted September 8, 2011 Share Posted September 8, 2011 Someone pulled it off at villavu a while back. But it's not what you think... it just involves sending someone a .exe file they click on that opens and run scar like normal. CBF to find it sorry. Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 8, 2011 Share Posted September 8, 2011 They probably used Sythe's packer, but it doesn't really change anything as the source is still visible, it just makes it so the user can run a single exe rather than having to download and install SCAR. Quote Link to comment Share on other sites More sharing options...
Neron Posted October 12, 2011 Share Posted October 12, 2011 Well, you should obfuscate the script for release, not the version you're working on of course... Any sugestion for good, free obfuscate program? Quote Link to comment Share on other sites More sharing options...
FHannes Posted October 12, 2011 Share Posted October 12, 2011 Well, you should obfuscate the script for release, not the version you're working on of course... Any sugestion for good, free obfuscate program? I'm afraid not, that is, I don't know any... Quote Link to comment Share on other sites More sharing options...
bosshunts Posted May 27, 2014 Share Posted May 27, 2014 They probably used Sythe's packer, but it doesn't really change anything as the source is still visible, it just makes it so the user can run a single exe rather than having to download and install SCAR. Can you give a link to Sythe's Packer please? Quote Link to comment Share on other sites More sharing options...
FHannes Posted May 27, 2014 Share Posted May 27, 2014 Can you give a link to Sythe's Packer please? I doubt it even still works now, given how much SCAR has changed. It also doesn't compile scripts into an exe, it just stored SCAR along with the script in an executable. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted May 28, 2014 Share Posted May 28, 2014 I suppose you could do it in two parts. A loader script that loads and decrypts the actual script. You'd have to ship the two files together. Although even then there is nothing stopping them from simply getting the key out of the loader script and decrypting it themselves. I suppose you could have the script "reach out" and get the decryption key from a website. Or perhaps bury the decryption in a plugin (.dll) although if you are going to go through that much trouble why not simply implement the whole thing as a .dll. It is one of those sounds simple but is devilishly difficult to do properly kinda thing. Quote Link to comment Share on other sites More sharing options...