This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
import sys | |
import os | |
""" | |
extract opus files from Muse Sounds STS containers. | |
the STS format is very simple. no reverse-engineering required, just about | |
half an hour spent gazing at it in a hex editor. | |
it is as follows: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from argparse import ArgumentParser | |
import subprocess | |
import shutil | |
import gzip | |
import sys | |
import os | |
# build list of offsets to check for chip clock rates based on the VGM version. | |
# if a chip's clock rate is not null, then it's (probably) used during playback, |