I have recently been asked by Dma-Sc from Sector One to make a simple tool to merge MaxYMiser song files (in .mys format) into a single song file containing both songs. So here comes myscat !

It takes two song files as input, and builds a new file with all patterns from both files, and with a pattern sequence such as the contents of the first song is played first, and the contents of the second song is played second. Patterns from both files appear in the same order as in the original files, and patterns from the second file are renumbered.

myscat runs from the command line, and if no arguments are provided it takes files named "1.mys" and "2.mys" as input, and produces a "out.mys" file as output. You will find more information about command line argument formatting in the included information text.

The C source code is included. It compiles fine with vbcc as well as gcc. myscat is distributed under the WTFPL license.