Skip to content

Instantly share code, notes, and snippets.

View mmimigaa's full-sized avatar

Sue Sakamoto mmimigaa

View GitHub Profile
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:
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,