i used this script on gnu/linux:
dd bs=$((0xC000)) count=1 if=/dev/zero of=_dummy.bin
python3 xmconv.py music.xm music.bin
cat player.bin music.bin _dummy.bin > music.gb_
dd ibs=1 count=$((0xC000)) skip=$((0x0000)) if=music.gb_ of=music.gb
rm music.gb_ _dummy.bin
had to rename Player.bin to player.bin - i always use underscore filenames, and gnu/linux is case-sensitive
i used dd in the script because some emulators only accept such imagerom filesizes as multiple of 16kb (as far as i tested)