View Single Post
AdRiAnIlloO
Member
Join Date: Jul 2015
Location: Spain
Old 11-04-2021 , 16:07   Re: [EXTENSION] Sound Info Library v1.0.1
Reply With Quote #93

Hi there,

Quote:
Originally Posted by MAGNAT2645 View Post
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 View Post
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!

Last edited by AdRiAnIlloO; 11-05-2021 at 10:27.
AdRiAnIlloO is offline