A modding tool for Cossacks 2 & Heroes of Annihilated Empires.
Unfortunatelly, this version of the code only supports .gp2 (HoAE) files. I may re-add the support for .g2d files if i find some free time, but if you want feel free to implement it yourself and create a pull request :)
Read more about its usage here.
Install Borland C++ Builder 6.0.
Open the src/Triangulator.bpr
folder with Borland C++ Builder as a project
Reopen the file with Windows 1251 (Cyrillic) encoding.
The original source code is property of GSC Game World. I am only reuploading the code with my updates to the application, that are benefitial to the Cossacks 2 & HoAE modding community. You may not use the program/code for commercial purposes without asking for the permission of GSC Game World first.