How to unlock MXF

Jun 24, 2010 at 2:04pm

How to unlock MXF

I’ve done a MXF and I want to know if anyone is going to be able to open it if I distribute it.

The .mxf file is openable in Max, but I can’t unlock the patch.

If I open the mxf with textedit and copy the text I use the “New from clipboard” I don’t get anything.

Is there another ways to try to open it?

#51036
Jun 24, 2010 at 2:56pm

You can edit the header of the file with a binary editor. Compare
it with a newly created .maxpat file. Copy the bits that make it
work.

#183106
Jun 24, 2010 at 3:32pm

Ok, thanks.

I was able to open it but now I don’t see the bpatchers the main patch uses. They appear as empty and I can’t right-click and edit object… you know.

Looking in the inspector I can see the bpatcher name (something.maxpatch) correctly, but then the bpatcher is empty.

This doesn’t happen when I open the .mxf directly, the bpatchers open correctly.

Anyway to go further than this or maybe this is a good way to obfuscate a mxf files??

#183107
Jun 24, 2010 at 5:17pm

if you made it in max5 then yes it is very hackable, including the “missing” bpatchers. send me the .mxf and i would be able to email you within minutes every one of the files you used to make the patch. (don’t actually do this, i know how but morally don’t do it). it’s an unfortunate side effect of the new version. items released in max4 were much more hackproof (but also had its backdoors). i think it’s the inclusion of presentation mode and new coding that throws off the old locked down patches which would show up as jumbled text if the textedit method was used.

this is mostly scare tactics though, if you’re distributing patches your main demographic is probably non-max users who wouldn’t know any of the techniques mentioned above in the first place. hacked patches shouldn’t be much of a concern (unless autechre gets ahold of it).

#183108
Jun 25, 2010 at 12:21am

 
not sure why you say it was more hackproof in max 4? it could not have been easier.
 

#183110
Jun 25, 2010 at 12:49am

I guess i could never figure it out myself. When i first started programming i wanted to take a glimpse inside of Cyann by Katsuhiro Chiba to see how he was doing similar things as me yet getting much better sounds and it was like Fort Knox.

#183111
Jun 25, 2010 at 7:17am

If you’re serious about distribution and not having it reverse-engineered, look to other software which can wrap the .exe and .mxf and encrypt it (these are PC only):

http://www.oreans.com/index.php

http://www.molebox.com/

Still would like an option to encrypt built into the Build Collective/Application function, but we’ve talked through that one before… :)

#183112
Jun 25, 2010 at 9:05am

Wait, they encrypt software and distribute software + the key to decrypt it? Isn’t it like pointless?

#183114
Jun 28, 2010 at 8:04am

No, the file or files you tell it to encrypt aren’t decryptable, at least that’s the claim. In the case of the Oreans software, it encrypts the .mxf and turns it into a .bak file that is slightly larger. So you can’t reverse-engineer the patch via copy/paste within Max by hacking the .mxf. I haven’t used MoleBox, but I think it just makes one big .exe out of all the files you feed it, so the same should be true.

It’s also helpful for other programming languages—even if your program itself isn’t hackable, there may be lots of other files (images, sound, 3D models, etc) which have value. You probably don’t want even a paying customer to be able to get at them and re-distribute them…so you encrypt them too. Only your main application can access them in this state, just like the main .exe made as a standalone app with Max is the only thing which can access the encrypted .mxf. Again, that’s the claim…

The other part of all this is the ability to do licensing and hardware-locking, so that your program will only run on a specific machine, or on a USB key that has U3 capability. Might be a nice option for distribution—even with the extra cost and the delay for the buyer, they can run your program on any PC they want.

Interested to hear other people’s thoughts on this, especially if someone’s found good encrypting software for Mac… preferably simple and cheap :)

#183115
Jun 28, 2010 at 7:18pm

Hi there!
My name is Enrico and I am writing from Venice, Italy.
I was reading with much excitement your post, since it seemed that you were able to take a peep into Cyan, and I was wondering if you were able to hack it at all…
I’d love to know, if so, if you’d be kind enough to share it, needless to say how much I’d appreciate that.
Thank you so much in any case,
take care

Enrico

#183117
Jun 28, 2010 at 8:54pm

mmmm nobody here is going to post a hacked patch, this forum is far too polite and friendly a place :) It would be disrespectful to the person who created it, and if you want to see the guts you’ll have to work it out for yourself I think.

#183118
Jul 12, 2010 at 9:57pm

Well, it seems there are no solution to encrypt the .mxf in OSX yet.

If someone ever discovers one, please share it!

#183119
Jul 15, 2010 at 10:15pm

Would like to see if this solution would work, it’s free and cross-platform!

http://www.truecrypt.org/

Not sure the advantages or disadvantages, maybe this one takes more effort?

I suppose mounting one’s app as a “disk” would be doable, especially on a USB stick. Though not sure how one would go about licensing etc. Regardless, that might be an option for keeping the .mxf non-hackable…

#183120
Jul 15, 2010 at 10:37pm

 
what always works for protecting your code is not distributing your work
but keeping it to yourself.

has disadvantage,s too, of course.

-110

#183121

You must be logged in to reply to this topic.