Skip to content

Instantly share code, notes, and snippets.

View SamusAranX's full-sized avatar

SamusAranX

  • Germany
  • 18:08 (UTC +02:00)
View GitHub Profile
@SamusAranX
SamusAranX / nsfe_to_nsf.py
Last active February 14, 2021 02:49 — forked from bbbradsmith/nsfe_to_nsf2.py
Merge of Brad Smith's nsfe_to_nsf2.py and nsf2_strip.py scripts with a fancy argparse interface slapped on it. I needed this to downgrade an NSFe file far enough so nsf2midi would recognize it. Putting this here in case anyone else has the same problem.
#!/usr/bin/env python3
import sys
assert sys.version_info[0] >= 3, "Python 3 required."
#
# nsfe_to_nsf2.py
# Brad Smith, 2018-08-24
#
# This converts an NSFe file to a preliminary "NSF2 with metadata" format.