Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please explain what the script actually does to the VPKs #5

Open
HbmMods opened this issue Mar 3, 2018 · 2 comments
Open

Please explain what the script actually does to the VPKs #5

HbmMods opened this issue Mar 3, 2018 · 2 comments

Comments

@HbmMods
Copy link

HbmMods commented Mar 3, 2018

Hey,

from what I've gathered, your script is supposed to download and insert the missing sounds into hl1_hd's VPK files. However, since the installation process was as pleasant as forcefully removing one's balls with a hacksaw (mostly thanks to unvpk), I tried to do what the script is supposed to do manually. To my surprise, it appears as if all the supposedtly missing sounds are in fact inside the VPK, therefore I wanted to ask: what exactly does the script do? Does it redownload the files because they are in an unplayable format, or does it move them because they are in the wrong directory? I can't wrap my head around it since the script's (or more precisely, the error's) description states that there should be sounds missing, but they seem to be all there.

@HbmMods HbmMods changed the title Please explain what the script actually does tho the VPKs Please explain what the script actually does to the VPKs Mar 3, 2018
@Jorl17
Copy link
Owner

Jorl17 commented Mar 3, 2018

Hi,

It's been a long time since I touched this. All this script does is automate the process described in this issue. I am unsure if this fix is still required, and please note that the version I used myself did not use unvpk (it used the official valve tool) and was tested on a Mac. I'll accept pull requests :)

Apparently, some weapons are missing reload sounds from their files:

I can confirm that two weapons actually miss reload sounds. Those being glock and mp5 (9mmar).

In adddition to these issues, it seems there are problems mounting archives directly from the VPK, so the sounds must be extracted:

The models I posted would fix the reload sound issues, however, it appears that users, including @mickeylyle, reported that firing sounds of weapons were missing.

In the hl1_hd folder, several VPKs can be found, which contain as well sounds used the HD pack. The problem is that the game actually fails to load these sounds from the archive. This appears to affect Linux users. At this time, it is unknown if Apple and other non-Windows OS users are affected.

@HbmMods
Copy link
Author

HbmMods commented Mar 3, 2018

Hey again,

than's for the quick response, extracting the VPK sounds into the right location mostly did the trick. The reload sounds still don't work, but according to @malortie, the sounds aren't played because they are bound to the model, and those don't seem to trigger them. I'll look into his approach on fixing that, thank you for your reply :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants