Notifications
Clear all

[Closed] converting a script to DLU

Me and a friend worked on a very handy script for max that we wanna relese to the public.
to keep things as simple as possible, we want to convert the script to a DLU file so that all the user has to do is put the file in the plugins folder, goto utilities and run it.

How can we convert a max script to a DLU ?

2 Replies

You don’t really “convert” a script to a dlu. You have to write it.

DLU is the extension for a max utility plugin. Refer to the SDK docs for instructions on how such plugins are to be written, and perform them.

I do hope you have previous experience with C++ at least, you’ll need it.

There is no way of compiling a maxscript to plugin. Maxscript (.ms) is a scripting language therefore it is not compiled (info about compilers and compilation at http://en.wikipedia.org/wiki/Compiler ) a max plugin is coded in c++ and is compiled ( .dlu, .dlo, .dlr, etc. extension depends on the kind of plugin you create, it just a dynamic linked library or else .dll with different extension ). You could create an mzp that would install the plugin when the user runs the mzp from max. Another way i am thinking is the free nullsoft installer ( http://nsis.sourceforge.net/Main_Page ).
In case you stick to maxscript you maybe want to encrypt your script (.mse) so people can’t see the source code, encryptScript in the maxscript help file would be a good place to start.

In case you want to go the hard road coding it in C++ this may help http://images.autodesk.com/adsk/files/3dsmax8sdkhelp_chm.zip
it is the sdk help file for 3ds max 8.

Did you wrote a tutorial about ao in the past?

Hope this helps , have fun maxxxxing !!!