sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Scrambling Scripts

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 3 Posters 706 Views 3 Watching
    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.
    • CadFatherC Offline
      CadFather
      last edited by

      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

        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
        • CadFatherC Offline
          CadFather
          last edited by

          Thanks Jim, easy and works just fine! 👍 😄

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            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
            • CadFatherC Offline
              CadFather
              last edited by

              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

                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
                • First post
                  Last post
                Buy SketchPlus
                Buy SUbD
                Buy WrapR
                Buy eBook
                Buy Modelur
                Buy Vertex Tools
                Buy SketchCuisine
                Buy FormFonts

                Advertisement