• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Scrambling Scripts

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 3 Posters 706 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    CadFather
    last edited by 2 Oct 2008, 08:39

    made some searches but did not find what i was looking for..

    i want to scramble a script but rather than the .rbs extension - i'd like to have a file just like Didier's - (scripts start with with EVAL_)

    is it something i can do, or is it too arcane?

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 2 Oct 2008, 09:18

      It's not arcane, but it's so easy to reverse that it is practically pointless.

      And although this can be done using Ruby, here is a link to a Windows .exe that will create one.

      http://groups.google.com/group/Ruby-API/browse_thread/thread/8da6b1ca5183bb50/83f429ea9f46b025?lnk=gst&q=ruby+script+encoder#83f429ea9f46b025

      Hi

      1 Reply Last reply Reply Quote 0
      • C Offline
        CadFather
        last edited by 2 Oct 2008, 11:39

        Thanks Jim, easy and works just fine! 👍 😄

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 2 Oct 2008, 23:34

          If you're interested in doing it using pure Ruby... see Array.pack and String.unpack methods.

          Here's the core functionality:

          
          [IO.read("filename.rb")].pack("m")
          
          

          Hi

          1 Reply Last reply Reply Quote 0
          • C Offline
            CadFather
            last edited by 3 Oct 2008, 07:58

            thanks Jim, will look into it (as soon as my brain can do it..)

            1 Reply Last reply Reply Quote 0
            • A Offline
              azuby
              last edited by 4 Oct 2008, 16:35

              The d/Code plugin also provides this feature.

              azuby

              *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

              Bad English? PM me, correct me. :smile:**

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement