Skip to content

Instantly share code, notes, and snippets.

View 0KepOnline's full-sized avatar

0KepOnline

View GitHub Profile
import os, subprocess, mimetypes, zlib, sys, getopt
def help():
help = [
'Options:',
' -i (--input) - input stream file',
' -o (--output) - output archive file (.mkv)',
' -d (--dir) - archive directory (file)',
]
print("\n".join(help))
#EXTM3U
#EXTINF:-1,HopperPanic1
https://gist.githubusercontent.com/0KepOnline/98335f2c02069a38dc10db4e8bd424a8/raw/3585faa165c642cb832c4ceeb764d61cbcb334f4/HopperPanic1.wav
#EXTINF:-1,HopperPanic2
https://gist.githubusercontent.com/0KepOnline/98335f2c02069a38dc10db4e8bd424a8/raw/3585faa165c642cb832c4ceeb764d61cbcb334f4/HopperPanic2.wav
#EXTINF:-1,HopperPanic3
https://gist.githubusercontent.com/0KepOnline/98335f2c02069a38dc10db4e8bd424a8/raw/3585faa165c642cb832c4ceeb764d61cbcb334f4/HopperPanic3.wav
#EXTINF:-1,HopperPanic4
https://gist.githubusercontent.com/0KepOnline/98335f2c02069a38dc10db4e8bd424a8/raw/3585faa165c642cb832c4ceeb764d61cbcb334f4/HopperPanic4.wav
#EXTINF:-1,HopperPanic5
@0KepOnline
0KepOnline / CMP.md
Last active January 26, 2022 21:14
.cmp format description (Spore, 2008)

.CMP file in HEX editor

20 43 4D 50 — City Music Planner file header. Always set to 20 43 4D 50 ( CMP).
00 00 00 01 — Count of anthems in the file. Used in game saves, but in exported city music always set to 00 00 00 01.
00 00 00 04 — Ordinal number of the selected beat (green) . 00 00 00 00 if not selected.
00 00 00 0A — Ordinal number of the selected instrument (blue). 00 00 00 00 if not selected.
![00 00 00