Notifications
Clear all

[Closed] How do you protect a script if you want to sell it?

I’ve got a couple of scripts I thought I could develop to commercial standards and perhaps try to sell for a small fee. Is there any way to copy-protect or license the script to avoid piracy?

15 Replies

You must export your script as an .mse instead of .ms ( see encryptScript in the maxscript help file of max for more info ) which is an encrypted form of maxscript with autodesk’s inhouse encryption applied on it ( although i wouldn’t like to comment on the strength of the encryption method ). Then you should check again the manual for the function hardwareLockID which gives you the max hardware lock identity in interger so you can lock the script based on the id of each max. the best thing ever happend to maxscript is the detailed manual it has. do you think we should we thank bobo for this ?

Nope, because the majority of the core features (like this one) were originally documented in Max 2 by John Wainwright (the author of MAXScript whom we should ALL thank), then in Max 3 by Larry Minton (the developer of MAXScript since Max 5 whom we should also thank). In Max 4, Mason Foster continued their work until it was my turn.

So you see, I am standing on the shoulders of giants

 PEN

You look very big way up there Bobo:) And you deserve the recognition, like what you got at Siggraph this year for all the work that you do for the community. Thanks

Hah, good to see this thread turn into a Bobo appreciation society! I can’t thank him enough for all the help I’ve received in the past.

Thanks for the tips guys, that should be enough to get me started.

1 Reply
 rdg
(@rdg)
Joined: 11 months ago

Posts: 0

So do I.

Georg

Me tooo

Bobo, you are an incredible hedper, light, for all of us Maxscripters
Thx

Just when you thought a thread was dead…

I’ve tried the example scripts in the maxscript helpfile, but if I encrypt the unluck script, it doesnt work.
I found another thread that describes the same problem http://discussion.autodesk.com/thread.jspa?threadID=518877
No-one posted a solution to the problem.
Bobo, is there any workaround to this problem. Also, I’m interested to understand why the unlock script doesnt work when its encrypted.

I assume this is the most straightforward way to setup some form of licensing for a script. If there is another approach that I should look at, I’m all ears.

Cheers.
p.

Well, it might just be broken… I have not used encryption for almost 10 years.
I would not trust the MAXScript encryption for commercial purposes. When I was using it back in R2 days, it was mostly because I was ashamed of my spaghetti code and did not want people to see how ugly it was

This might not be an option for you, but we at Frantic Films usually develop hybrid systems where a large part of the code (like GUI and management) is a MAXScript (not even encrypted), but the strategical parts that do the actual work are inside a real Plug-in, which on itself is protected with FlexLM (and it is expensive). We allow people to see or rewrite the GUI layer if they want, but they cannot see the important code that does the main work and the protection. This gives us the higher security and and speed of a real plugin combined with the amazing flexibility and development speed of MAXScript as a GUI creation tool.

It is my belief that the scripts market is a niche market and you cannot expect to get rich by writing commercial scripts. My strategy has always been to write free scripts for the masses and get enough exposure to get hired to write custom solutions for single companies tailored to their workflow which nobody else would use. The price for such a solution can easily exceed all the money you could make from a script sold to a larger user base where you would have to keep the price low. (That’s why SGI preferred to do military contracts instead of PC mass-production ;))

Last but not least, you could release your scripts for free and then allow users to send you a donation via PayPal, hoping that there are still good souls left out there that would honour such a proposal.

Thanks for the suggestions Bobo, although it leads me to think that your third option is the only one open to me. As it happens I’ve already received a small donation, enough for a couple of pints, from the scripts I’ve released… so it seems people out there do show their apppreciation with some greenbacks.

I was hoping that if I managed to get the scripts working smooth enough, they would be beneficial enough to a large userbase to warrant some form of smalll fee. I dont think my scripting skills are or ever will be good enough to earn me scripting work from studios, but I do think the scripts I have come up with are highly useful tools in any 3ds-max user’s toolset, and in particular for the arch-vis sector.

Well, it looks like for the time being I’ll keep the scripts open, and rely on peoples’ honesty for my reward

For those interested, the scripts I’m working on are:-

Material Lister : Based on the light lister, but instead allows you to view your scene materials in a spreadsheet format. It means you can easily and quickly check/change parameters of all the scene materials.

One-Click-Curtainwall : Builds a curtainwall from a user supplied mesh; glass, silicon, and mullions/frames are built as seperate reference objects allowing users to adjust window shapes in realtime without rerunning the script. The glazing divisions are defined by the mesh topology.

PM me for the latest version.

Before you dismiss the idea of an encrypted commercial script, you should take a look at a couple of successful examples:

www.orionflame.com
Orionflame is the advanced modelling toolset created by Yunus Emre “Light” Balcıoğlu. Very much a specialty market, as only high-end modellers work at the level needed for this script to really shine. This script is in .mse encrypted files.

www.rpmanager.com
RPManager is a high-end tool created by Grant Adam for automating the setup of render passes in a high-end multipass production workflow. I haven’t downloaded or installed this script, but it requires activation so you can be sure it’s encrypted.

I’m currently working on my own commercial script for a beta release in a few months, and it’ll definitely be encrypted. I’d recommend that you also look at potential e-commerce providers to get an idea of whats involved with setting this up. Below are two of the biggest and possibly the best for outsourcing your sales:

www.shareit.com
www.digitalriver.com

Page 1 / 2