Skip to content

Instantly share code, notes, and snippets.

View txmutt's full-sized avatar

Sue Sakamoto txmutt

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:
@txmutt
txmutt / genvgmstems.py
Last active September 29, 2023 17:28
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,