{"action":"created","issue":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/446","labels_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/446/comments","events_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/446/events","html_url":"https://github.com/alliedmodders/sourcemod/pull/446","id":116393444,"number":446,"title":"Fix custom menu sounds not working on newer games (bug 6433).","user":{"login":"psychonic","id":844118,"avatar_url":"https://avatars.githubusercontent.com/u/844118?v=3","gravatar_id":"","url":"https://api.github.com/users/psychonic","html_url":"https://github.com/psychonic","followers_url":"https://api.github.com/users/psychonic/followers","following_url":"https://api.github.com/users/psychonic/following{/other_user}","gists_url":"https://api.github.com/users/psychonic/gists{/gist_id}","starred_url":"https://api.github.com/users/psychonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychonic/subscriptions","organizations_url":"https://api.github.com/users/psychonic/orgs","repos_url":"https://api.github.com/users/psychonic/repos","events_url":"https://api.github.com/users/psychonic/events{/privacy}","received_events_url":"https://api.github.com/users/psychonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-11T18:32:56Z","updated_at":"2015-11-18T23:22:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/pulls/446","html_url":"https://github.com/alliedmodders/sourcemod/pull/446","diff_url":"https://github.com/alliedmodders/sourcemod/pull/446.diff","patch_url":"https://github.com/alliedmodders/sourcemod/pull/446.patch"},"body":"This hasn't been tested yet, but will be before landing.\r\n\r\nWhile we support configuring menu sounds in core.cfg, it has always been up to the user to add the sounds to the downloads stringtable if there were custom sounds, so we arguably never \"supported\" these. However, even doing that, they do not work on newer games that have more aggressive precaching clientside.\r\n\r\nThe only way we've found to play custom sounds on any game since Left 4 Dead is to add the '*' sound char before the filename, forcing the game to stream it from disk directly instead of starting from the cache. This adds that for those games (whether or not the sound is custom). Note that people cannot just put it directly into the config with the asterisk as then it would attempt to call PrecacheSound with that added, which will fail due to that being treated as part of the filename."},"comment":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/comments/157896704","html_url":"https://github.com/alliedmodders/sourcemod/pull/446#issuecomment-157896704","issue_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/446","id":157896704,"user":{"login":"dlonagh","id":13576695,"avatar_url":"https://avatars.githubusercontent.com/u/13576695?v=3","gravatar_id":"","url":"https://api.github.com/users/dlonagh","html_url":"https://github.com/dlonagh","followers_url":"https://api.github.com/users/dlonagh/followers","following_url":"https://api.github.com/users/dlonagh/following{/other_user}","gists_url":"https://api.github.com/users/dlonagh/gists{/gist_id}","starred_url":"https://api.github.com/users/dlonagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlonagh/subscriptions","organizations_url":"https://api.github.com/users/dlonagh/orgs","repos_url":"https://api.github.com/users/dlonagh/repos","events_url":"https://api.github.com/users/dlonagh/events{/privacy}","received_events_url":"https://api.github.com/users/dlonagh/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T23:22:15Z","updated_at":"2015-11-18T23:22:15Z","body":"I know it never did. I was just adding it to the facts.\r\n\r\nAs for precaching, it's no longer precaching. Here, have a look:\r\n![test](https://cloud.githubusercontent.com/assets/13576695/11257691/45cf5d4c-8e21-11e5-8ac6-1cbe30666eb3.png)\r\n"}}