A simple Conversion Tool for the 4 Base Tiles of a Wang/DualMap TileSet according to the Godot Template and the filler tiles.
The tool is written in Godot 4.3 and published under MIT License.
You simply import your tiles into the converter, it recreates the texture after every import, so you can check step by step if the result will be as expected. The tile and tile set gets calculated from the first imported tile, since they should always have the same size.
The area of your border tiles, wich should be filled with the overlay fill texture, should be white. Shadows outside of the fill area should be no problem, but within fill will propably not work.
If the border itself isn't pixel perfect, the result can have some white areas. in this case, adjust the alpha tolerance factor.
If your tile set has no underlay fill tile, ignore the underlay fill button and it will these areas will be transparent.
Step by Step Creation
Result 1
Result 2
TileSet without underlay
TileSet with outer shadow but non white border areas