Results 1 to 8 of 8

Thread: Is this possible?

  1. #1
    Join Date
    Mar 2013
    Posts
    63
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default Is this possible?

    Is it possible for a script to be made into an .exe file?

    So what I'm trying to do is make a portable version of my script in one single .exe file. So when I click that file it starts simba and the script starts.

    Just wondering.

  2. #2
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by fluffycluffy View Post
    Is it possible for a script to be made into an .exe file?

    So what I'm trying to do is make a portable version of my script in one single .exe file. So when I click that file it starts simba and the script starts.

    Just wondering.
    This explicitly can't be done natively as we are an open-source community and that would prevent people from reading the code (and thus could possibly be given a dangerous file).

  3. #3
    Join Date
    Mar 2013
    Posts
    21
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by fluffycluffy View Post
    Is it possible for a script to be made into an .exe file?

    So what I'm trying to do is make a portable version of my script in one single .exe file. So when I click that file it starts simba and the script starts.

    Just wondering.
    I'm not sure there's a way to make scripts auto-play once they are loaded into Simba. To open the script more quickly, you could create a short-cut and place it on your desktop. (Instead of having to File->Open in simba client.)

  4. #4
    Join Date
    Mar 2013
    Posts
    63
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    I just want to do this for one of my scripts that I made though, one I wouldn't release.

  5. #5
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Quote Originally Posted by fluffycluffy View Post
    I just want to do this for one of my scripts that I made though, one I wouldn't release.
    For personal use yes, just make the .Exe open the file and have it run it. Saw this somewhere awhile ago. Check out the SRL 6 hour fix from awhile ago, it restarted I believe

  6. #6
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by King View Post
    For personal use yes, just make the .Exe open the file and have it run it. Saw this somewhere awhile ago. Check out the SRL 6 hour fix from awhile ago, it restarted I believe
    I think what he's saying, is that he wants a single exe file that can be run without having simba even installed on said computer.

    While I do believe that's possible, I do not believe in a legitimate reason to support it...

  7. #7
    Join Date
    Feb 2013
    Posts
    465
    Mentioned
    6 Post(s)
    Quoted
    221 Post(s)

    Default

    I think you can start simba with a batch file and give it the script to run as a parameter.

  8. #8
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Yes it can be done..

    Download Winrar, put the script in your scripts folder. Create a C++ file with something similar to:

    system("Simba.exe -o scriptname.simba -r");

    or

    CreateProcess("Simba.exe", "-o scriptname.simba -r", ..........);

    Place it in the Simba folder and zip it with Winrar. Enable Auto-exec on the rar file.

    When you double click it, your script will run.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •