GoatTracker instrument extractor for SNG files.
gt-extract reads one or more GoatTracker song files (.sng) and exports every instrument as a GoatTracker instrument file (.ins).
- Python 3.8+ (no external dependencies)
./gt-extract path/to/song1.sng path/to/song2.sngExtracted .ins files are always written to the current working directory (the folder where you run the command), not next to the input files.
Run from project directory:
./gt-extract ../goattracker-vibed-out/examples/unleash.sngRun from any directory (absolute path to script and input):
/path/to/gt-extract /path/to/song.sngEach instrument is exported as:
<song-stem>-<instrument-index>-<instrument-name>.ins
Example:
unleash-03-BD-Bass.ins
If a filename already exists, gt-extract appends -2, -3, etc. to avoid overwriting.
GTS2GTS3GTS4GTS5
Unsupported or invalid files return an error message and a non-zero exit code.