A Delphi-based AviUtl2 module (.mod2) that performs simple addition through a script.
This project demonstrates that AviUtl2 plugins can be created in Delphi, not just in C++.
This repository contains a working example of an AviUtl2 plugin written in Delphi.
It defines two files:
- SampleScript.obj2— Lua script defining trackbars (- value1,- value2)
- SampleScriptModule.mod2— Delphi module performing addition and returning the result
- Copy SampleScript.obj2to your AviUtl2scriptfolder
- Build SampleScriptModule.dprwith Delphi
- Run BuildCopy.bat- Copies the compiled DLL to your AviUtl module folder
- Automatically renames it to .mod2
 
Then, in AviUtl2:
- Add the “サンプル” object
- Adjust the two trackbars
- The sum of both values is displayed in real-time
| value1 | value2 | 表示結果 | 
|---|---|---|
| 100 | 250 | 合計: 350 | 
- Implemented in Delphi 11
- Compatible with AviUtl2 .mod2 format
- Uses exported functions defined in module2.h