ScriptSpot home

Script

mzp builder

By Klaas Nienhuis · 2012-11-29

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
2
3ds Max compatibility
Unknown
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

Date updated
2012-12-04
Legacy votes
2
External download
External download
Description

When working with large scripts in 3dsMax it's very practical to split the project up in multiple files. When done correctly this loosely resembles an object-oriented approach. Something that maxscript doesn't really support. While working with multiple files is easier than with a single large one, publishing them is more work. This script helps with that.

I like to publish my scripts as an mzp-file. This is a self-extracting zip-file built for 3dsMax. Within an mzp-file you can bundle scriptfiles, art,presets or other files and link special actions which are executed upon installation. Building such a file needs some manual work however. It's also very error-prone. I always have to check three times if everything is in place and have to edit my mzp-file after each try. This takes a lot of time and is frustrating. The mzpBuilder creates an mzp-file based on an ini-file you can fill in yourself. It also creates the run-file based on the data in the ini-file.Read more about the mzp-file in the maxscript documentation.

Using the ini-file makes the building process more consistent and a lot quicker. My script covers a small portion of the features of the mzp-files, but it's enough for me at the moment. I might expand upon this if needed.

Check out the project on github or download it directly.

You can also check out the blog for more info.

Additional Info

Version 2

Added readme which tells you which scripts are being installed where. Besides that, the developer can give you a small message, license, support and contact information.

More by Klaas Nienhuis

View all contributions
Comments (6)

Comment policy

Nick Gushchin

Replace string 57

From:
local theIniFile = @"N:\GitHub\mzpBuilder\mzpbuilder_list_demo.ini"

To:
local theIniFile = getFilenamePath (getThisScriptFilename()) + "mzpbuilder_list_demo.ini"

asymptote

Puleeez make this work in later versions.

:(

I want to make little installers for all my scripts, setting up Max on a new machine is a right pain in the proverbial.

asymptote

Hi Klass, I'm getting the same Booleanclass error, is there a fix ?

thanks

Max 2014 sp1

artrender

error

unable to convert: ** to type: BooleanClass
in line encryptscripts = GetINISetting theIniFile "Encrypt" "encryptscripts" as booleanclass

asymptote

This looks cool.

I'm someone who doesn't code, but even I can follow an .ini :)

Now all script authors have no excuse for not providing an installer , but your explanation probably explains why so few do. ;)

This will be very useful to combine a good number of my most used fiddly "installerless" scripts in one convenient package.

I'm sure script authors will appreciate this more than a nub like me :)