MA3 Plugin Compiler
$14.99
MA3 Plugin Compiler is a Python script that compiles your GrandMA3 Lua plugin into a protected, single-file .xml ready to distribute or sell. One command, no source code left in the output.
What it does
- Compiles all your Lua modules to stripped bytecode
- Bundles everything into a single self-contained .xml file — no .lua file required alongside it for the user to import your plugin into MA3
- Embeds your plugin icon (PNG) so it shows up in the MA3 plugin pool
- Embeds custom TGA textures (command-line buttons, etc.) with optional downscaling
- Sets plugin metadata: name, version, author, description — visible in MA3's plugin info panel
- Tracks build numbers automatically across builds
- Validates your config before compiling (--dry-run mode)
- Supports pulling modules from multiple directories into one bundle
- Configurable source patches to strip dev paths or swap values at build time
What you get
One well-documented Python file. No frameworks, no pip installs, no build system to learn. Every config option and build step is explained with inline comments. Copy it into your project, fill in the settings, run it.
Requirements
- Python 3.6+
- Lua 5.4 compiler (must match MA3's runtime)
- macOSbrew install lua@5.4
- Linuxsudo apt install lua5.4
- Windowslua.org/download.html