[Closed] How can i release my script for commercial?
hi
I’ve created script by max script already. now i want to release commercial version of that. how can i encode my script? i want to release a limited evaluation version.
may i use 3dmax features to do this? or i have to use external tools?
thanks for any help
See this topiks
http://blog.duber.cz/3ds-max/checksums-in-3ds-max
http://forums.cgsociety.org/showthread.php?f=98&t=638998&page=2&pp=15
Example from cgsociety.org :
fn fl_getMacAdressByDotNet = (
upperStr="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
lowerStr="abcdefghijklmnopqrstuvwxyz"
NWIF = dotnetClass "System.Net.NetworkInformation.NetworkInterface"
the_Mac_array = NWIF.GetAllNetworkInterfaces() -- this is an array of all the Networks
the_Mac_Address = "" --The Mac Address with capital letter
the_Hex_Array = #() -- Emty Array to hold the Bytes after converted to hex
for i = 1 to the_Mac_array.count do
(
The_Physical_Address = the_Mac_array[i].GetPhysicalAddress() -- Get The Physical Address of all the networks
The_Physical_Address_Bytes = The_Physical_Address.GetAddressBytes() as array -- Get The Physical Address Bytes
for foo in The_Physical_Address_Bytes do
(
tempHex = bit.intashex foo -- convert to hex
if tempHex.count == 2 then
(
if (idx = findString lowerStr tempHex[1]) != undefined then tempHex[1] = upperStr[idx]
if (idx = findString lowerStr tempHex[2]) != undefined then tempHex[2] = upperStr[idx]
the_Mac_Address += tempHex
)
else
(
if (idx = findString lowerStr tempHex) != undefined then tempHex = upperStr[idx]
the_Mac_Address += "0" + tempHex
)
)
)
-- call the Mac Address
the_Mac_Address
)
fl_getMacAdressByDotNet()
encryptscript "scriptFilePath" ---put path to your .ms file in the quotes
It is straightforward to decrypt mse files!
I mean using MAC address and encyptscript isn’t beneficial while it is possible to decrypt encoded max script files, simply.
I think about any external tool such as a dll file or exe file runs (by calling it from max script, if it is possible) to validate program license. i think it is more safe and reliable. have you ever thought about this before?
Is it? Probably it was before 3ds Max version 9. As far as I know it’s not impossible (as nothing in IT is), but quite hard to decrypt .mse nowadays.
I guess the encryption level is up to the task of hiding code a plugin of a 3D software. I mean, is the effort to decrypt a script comparable to its price? I don’t think so.
- Enrico
At the risk of starting up yet another thread on piracy, I did some poking around of my own and discovered that decrypting an MSE scriptfile is truly trivial.
If you are counting on their security to ensure people compensate you fairly, you will probably wind up unpleasantly surprised.
On the other hand, if you are concerned about them containing malware, spyware, or whatnot, they can be inspected (and neutered)
.biddle
At the risk of starting up yet another thread on piracy, I did some poking around of my own and discovered that decrypting an MSE scriptfile is truly trivial.
Are you saying you can see a fully decrypted MSE script? or just reverseengineer bits?
Can you show me the unencrypted version of the attached script?
edit:sorry, attachment doesn’t seem to want to upload
@Mike: I’d really like to know more too, I have some encrypted scripts with clients, can you elaborate how easy it is? I have seen ZeBoxx2/Richard mentioning it somewhere, and from what I remember he used a sandbox like construction or something, but didn’t go into details…
So maybe there’s a market for a obfuscator for maxscript.
Thanks for anything you can say on this subject!
-Johan
Well, IT IS very easy to decrypt an encrypted maxscript. With the right tool, you do it in 6 sek…
The reason Autodesk has this function is just to protect the developers code to everyone. If you want to have like a trial license, number of tries before buy or something, the best method is to code the plugins in C++ but that isn´t safe either, nothing is, everything that is coded can be decoded, but with C++ it´s at least more safe than maxscript encryption.
i confirm that to decrypt maxscript is very easy. unfortunately it takes 5-10 min to find the right tool on internet.
True that…
MSX encryption is designed to protect your code from the average 3Ds Max Artist, not other coders… Heck for most artists, just take the comment blocks out…
I’m surprised.
We’ve had plenty of discussions about the secureness of encrypted scripts and stuff like this in the past and although it’s accepted that people can always hack these things, (and get around any antipiracy features), it’s never been mentioned that someone can decrypt entire .MSE into plain text…and that seems to be what at least 4 people are saying here?
if MAX can decrypt your mse file why anyone else couldn’t do it? if “people” can crack max why they can’t get decrypt key?