A Qt 6 / Kirigami application for editing Mega Man Zero 1–4 .tpl script files.

- Open
.tplscript files - Edit individual scripts
- Save the current script or all scripts
- Global search (supports regular expressions)
- Undo / Redo
- Drag & drop support
- Automatic light/dark theme detection
- Qt 6.5 or newer (Quick, QML, Quick Controls 2; Qt Test for tests)
- KDE Kirigami 6 and Extra CMake Modules
- CMake 3.21 or newer and a C++17 compiler
qqc2-desktop-stylerecommended for desktop theme integration
On Arch Linux:
sudo pacman -Syu base-devel cmake extra-cmake-modules qt6-base qt6-declarative kirigami qqc2-desktop-styleThis editor is designed to work with the .tpl script files included in the MMZC GBA Script Restoration project.
The mod is available at: https://github.com/StraDaMa/MMZC-GBA-Script-Restoration
cmake -S . -B build-kirigami
cmake --build build-kirigami -j"$(nproc)"
ctest --test-dir build-kirigami --output-on-failureTo launch a locally built application from the project directory:
./build-kirigami/MMZScriptEditor- Launch the application.
- Open a
.tplfile (Ctrl+O). - Select a script from the list.
- Edit the text.
- Save the current script (
Ctrl+S) or save all changes.
| Shortcut | Action |
|---|---|
| Ctrl+O | Open TPL |
| Ctrl+S | Save Current Script |
| Ctrl+Shift+S | Save all scripts |
| Ctrl+Shift+F | Global Search |
| Ctrl+Z | Undo |
| Ctrl+Y | Redo |
Special thanks to StraDaMa for the MMZC GBA Script Restoration project, which distributes the .tpl script files supported by this editor.
This project is released under the MIT License.