Skip to content

Instantly share code, notes, and snippets.

View Steffo99's full-sized avatar

Stefano Pigozzi Steffo99

View GitHub Profile
@Steffo99
Steffo99 / ttt.cfg
Created September 16, 2022 19:47
Advanced config file for GMod TTT Servers.
// Forked from: https://gist.github.com/RalphORama/438085f1751ecd4916ec29b352d86dc0
// Make sure Terrorists can't hear Traitor radio
sv_alltalk "0"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Preparation and post-round
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The length of the preparation phase that occurs after players spawn in and
@Steffo99
Steffo99 / vvvvvv_music_unpacker.py
Last active December 14, 2018 16:01 — forked from lukegb/vvvvvv_music_unpacker.py
Unpack music from VVVVVV's music file! py3 edition
f = open("vvvvvvmusic.vvv", 'rb')
q = f.read()
FILE_NAMES = ['0levelcomplete.ogg','1pushingonwards.ogg','2positiveforce.ogg','3potentialforanything.ogg','4passionforexploring.ogg','5intermission.ogg','6presentingvvvvvv.ogg','7gamecomplete.ogg','8predestinedfate.ogg','9positiveforcereversed.ogg','10popularpotpourri.ogg','11pipedream.ogg','12pressurecooker.ogg','13pacedenergy.ogg','14piercingthesky.ogg']
startAt = endAt = -1
musStartAt = musEndAt = -1
currentMus = 0
while True:
oldStartAt = startAt