The .ovr file type - Pyrbor/andrewsarnold-flagmaker-archive GitHub Wiki

In the application directory, you'll notice a folder called "Custom". This is where all your overlays will go. Each overlay is represented by a single file with the extension .ovr (for overlay, of course). The file should have just four lines, and it should look like the following:

name=XXXXX
width=XXXX
height=XXXX
path=XXXX

These elements can appear in any order, but they must all be there.

  • name - The name of the overlay. You can put just about anything here.
  • width - The "ideal" width of the SVG path that describes the overlay, in pixels. Integer values only.
  • height - The "ideal" height of the SVG path that describes the overlay, in pixels. Integer values only.
  • path - The SVG path data. See below.

The name, width, and height values should all be self-explanatory. For the path data, insert only the text inside the "d=" section. It will look like a bunch of seemingly-random numbers and letters. (If you use SVG a lot, you should be familiar with it already.) The path syntax is described in detail here: Path Markup Syntax. As long as your data gels with this (and if it's a simple SVG path, it already should), everything should be peachy.

Once your file is ready, drop it into the Custom folder and reboot FlagMaker. It will notify you if there are any errors. Any custom overlays will show up in the Custom tab. You will have to reboot FlagMaker to pick up any changes you make to the overlay.