#!/usr/bin/env python """ This script generates subtitles for Toonstrack cutscenes in a single SUBTITLES.PAK file from given directory of .SBV subtitles Usage: ``` pakdir.py SUBTITLES_DIR ```` """ import struct from itertools import chain from submaker import sbv2tss def write_uint32_le(number): return struct.pack('