Is possible to compile a coffee plugin?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2011 at 04:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform:
Language(s) : C.O.F.F.E.E ;---------
If i made a plugin using coffiee, can i compile it and distribuite for mac and pc? how?
Thanks -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2011 at 05:52, xxxxxxxx wrote:
You don't actually have to. You can distribute the .cof file and any resources and it will work fine on both platforms.
If you want to prevent other users seeing/copying your code, you can 'compile' it using another plugin provided with the SDK. If you look in the SDK folder (the one you downloaded from Maxon) you'll see a folder called 'help'. Open that and then open the folder 'Examples'. In that you'll see several folders, one of which is called 'Compiler'. Copy that complete folder - there's only 2 files in it - to your C4D plugins directory.
When you start C4D you'll see a new plugin, called (IIRC) Compile file... or something like that. Click it, navigate to your .cof file, and it will generate a .cob file which you can distribute. Plus the resources, of course - it doesn't compile those.
Note that you can't decompile the .cob file, so don't delete the .cof file, just don't distribute it.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2011 at 06:05, xxxxxxxx wrote:
Thanks spedler, but it compile for all platform or if i use a mac it will compile for mac only?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2011 at 06:37, xxxxxxxx wrote:
For both, because it is still a coffee script.