An "mcr to mcd converter" converts files in the .mcr format (commonly Macro or MCR recorder files used by some instrumentation, CAD, or macro software) into .mcd format (a format used by various modeling, charting, or proprietary tools). Converters may be standalone apps, command-line utilities, or online services; some require mapping of macro commands, metadata, or binary structures between formats.
Since there is no official distinction for an "mcd" file extension (it likely refers to the ine c raft D ata or Anvil format generally), this script performs a raw conversion of the binary chunk data format.
# Pad remaining header locations if fewer than 1024 chunks remaining = 1024

