Hi there,
Quote:
Originally Posted by MAGNAT2645
This does not work correctly with VPKs (like TF2's sound/vo/ folder)
Code:
TagLib: Could not open file /home/tf2/serverfiles/tf/sound/vo/sniper_item_birdhead_round_start02.mp3
|
Quote:
Originally Posted by StrikerMan780
Bump from hell, but is there a chance this could be updated to support getting the length of a song or sound that's inside a VPK or the SteamPipe folders?
|
In case it's still useful for anyone, I've edited SoundLib to support reading from VPKs (more generally, from any gameinfo.txt search path).
Download from:
https://github.com/Adrianilloo/soundlib/releases
However, it's worth to note that, funny enough, at least for HL2MP, server-side sound VPKs don't contain the sound/music files themselves -which was probably done by Valve to save space-, making it necessary to copy VPKs from client anyway (or extract the relevant song files using GCFScape).
Cya!