freedoom/lumps/genmidi/a2i-to-sbi
Mike Swanson 8835afef5f Copyright date bump and apply SPDX tags.
The tags are shorthand for the license of each file and avoid
copying the full license text into each one (and avoids having
to manually update the dates in each one...).
2017-02-15 16:41:53 -08:00

15 lines
321 B
Python
Executable file

#!/usr/bin/env python
# SPDX-License-Identifier: BSD-3-Clause
import a2i_file
import sbi_file
import sys
if len(sys.argv) != 3:
print >> sys.stderr, "Usage: %s <input filename> <output filename>" \
% sys.argv[0]
sys.exit(-1)
data = a2i_file.read(sys.argv[1])
sbi_file.write(sys.argv[2], data)