mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
the files: - sound_data_compressed.ctl - sound_data_compressed.tbl - sequences_compressed.bin are now added as files that are generated by assemble_sound.py, they're compressed, and are decompressed at compile time. rom assets have been removed from these files, so they are now just metadata for loading the sounds that are extracted at runtime.
7 lines
149 B
Python
7 lines
149 B
Python
import sys
|
|
import zlib
|
|
|
|
with open(sys.argv[1], "rb") as f:
|
|
data = zlib.decompress(f.read())
|
|
with open(sys.argv[2], "wb") as f:
|
|
f.write(data)
|