This tool was made to read two LSDJ save files (a game boy tracker) and merge them into one song.
Conflicting patterns and chains are automatically given new numbers as long as it fits in a single song.
Unfortunately the result is still buggy and I haven't been able to fix it entirely yet.
This zip contains the code, not the compiled tool.
parseLsdsng.zip
github