Installing MA2 Plugins
This guide walks you through installing Lua plugins on GrandMA2 consoles and onPC software. Plugins consist of two files that work together to extend console functionality.Understanding Plugin Files
Each GrandMA2 plugin requires two files:1. Lua Script File (.lua)
The Lua file contains the actual plugin code that executes on your console. For example, ColorPickerUpdate.lua contains all the logic for creating presets and sequences.
2. XML Definition File (.xml)
The XML file tells GrandMA2 about the plugin’s metadata and which Lua file to execute.
index- Plugin slot number (each plugin needs a unique index)execute_on_load- Set to0(manual execution) or1(auto-run when show loads)luafile- Name of the corresponding.luafilename- Display name shown in the plugin pool
Installation Steps
Locate the Plugin Directory
Find your console’s plugin directory. The location varies by platform:On Console:On Windows (onPC):On Mac (onPC):Replace
X.X.X with your software version number (e.g., 3.9.60).You can also find the plugin path by typing
cd plugins in the console command line.Copy Both Files
For each plugin you want to install, copy both the
.lua and .xml files to the plugin directory.Example for Color Picker Update:- Copy
ColorPickerUpdate.lua - Copy
ColorPickerUpdate.xml
Import the Plugin
From the GrandMA2 command line, import the plugin:Replace
[index] with your desired plugin slot number (e.g., 1, 2, 3).Each plugin needs a unique index. If you’re installing multiple plugins, use different index numbers (1, 2, 3, etc.).
Installing All Five Plugins
To install the complete plugin collection, repeat the process for each:| Plugin | Files to Copy | Recommended Index |
|---|---|---|
| Color Picker Update | ColorPickerUpdate.luaColorPickerUpdate.xml | 1 |
| Pulse Generator | PulseGenerator.luaPulseGenerator.xml | 2 |
| Pulse Wave Generator | PulseWaveGen.luaPulseWaveGen.xml | 3 |
| Flyout Width | FlyoutWidth.luaFlyoutWidth.xml | 4 |
| Color Sweep Update | Plugin_5_Update_COLOR_Sweeps.luaPlugin_5_Update_COLOR_Sweeps.xml | 5 |
Plugin indices are just organizational - use any numbers you prefer. Just ensure each plugin has a unique index.
Alternative: USB Import Method
If you prefer not to access the file system directly:Prepare USB Drive
Create a folder on your USB drive and copy all plugin files (
.lua and .xml pairs) into it.Troubleshooting
Plugin Doesn’t Appear in Pool
- Check file names: Ensure the
luafileattribute in the XML matches the actual.luafilename exactly (case-sensitive) - Verify both files: Both
.luaand.xmlmust be present in the plugin directory - Check XML syntax: Open the XML file and verify it’s properly formatted
”Lua File Not Found” Error
- The XML file’s
luafileattribute must match the actual filename - Both files must be in the same directory
- Check for typos in filenames
Plugin Runs But Does Nothing
- Check console feedback messages (command line feedback)
- Ensure your show file has the required groups/objects the plugin expects
- Verify console software version compatibility
Index Conflict
Version Compatibility
These plugins are tested on:- GrandMA2 software version 3.0.187 and higher
- Color Sweep Update requires 3.2.2 or higher for optimal compatibility
What’s Next?
Now that your plugins are installed, try running your first plugin:Quickstart Guide
Follow a step-by-step tutorial to run the Color Picker Update plugin and see how plugins work
Uninstalling Plugins
To remove a plugin:-
Delete the plugin from the pool:
- Optionally, remove the files from the plugin directory to free up space.
Deleting a plugin doesn’t remove any presets, sequences, or other show data the plugin created. You’ll need to manually delete those if desired.