The Build MZP Package tool packages your project into an installer file (.mzp) that 3ds Max can execute to install tools and MacroScripts automatically into the user interface.
Package Settings
-
Tool Name: Defines the name of your tool and the output .mzp filename.
-
Use Current Script: When enabled, automatically selects the script currently open in the Editor as the main project file.
-
Browse Script: Uncheck Use Current Script to manually select a script file from your computer (useful for packaging scripts not currently open in Max Editor Pro).
-
Relink File Paths: When enabled, automatically updates file path references within your script so external assets point to their correct install directory on the target user’s computer.
-
Encrypt Script: Encrypts script files within the .mzp package to protect your source code. (Your original local script files remain unencrypted).
Package Contents
Displays all files and folders included in the package (excluding the main MacroScript). Opening the tool or selecting a new main script automatically populates this list with all connected project files.
-
Add Files / Add Folder: Manually append missing assets or directories to the package.
-
Delete Selected: Remove highlighted items from the package list.
-
Edit: View or modify text-based assets (such as .ms, .py, and .txt files) directly before building.
Configuring the mzp.run Installation Script
Custom installation structure is managed via the mzp.run installer file:
-
Highlight line numbers in the editor (use Ctrl + Click for multi-line selection).
-
Click Create Folder to group selected files into a specific directory. The installer will extract these files into that targeted subfolder during installation.
Note: Packages created with this tool extract into 3ds Max userscripts/yourtoolname/ by default.
MacroScript Registration
Configures how the MacroScript binds to 3ds Max UI elements upon installation. Features identical controls to the Create MacroScript tool (language selection, category, icons, and toolbar target).
Generating and Installing
-
Click Create MZP File to compile your package. Output files are saved to the MZP/ directory inside your Workspace Root Folder.
-
To execute and test your installer, see the Installation guide in this manual.