Brucepos,
I followed all your steps, and it seemed to work OK in Scilab, but then when I opened my "Test" map in Histwar it was a mass of scattered little black dots.
Do you think you might be able to refine your manual a bit more, with more precise instructions and more explanations of the terms used? Also, could you show examples of how it works when you don't need to combine tiles and are using only one? I realize you've done a lot already by making this available, but it's a shame to have it not quite work when you've already put this much into it.
I felt as if I followed every step, yet it didn't work.
Thanks again,
Broadsword