Failed to load sound, file probably missing from disk/repository

Discussion in 'Mapping Questions & Discussion' started by Moronmaster, Jul 25, 2013.

  1. Moronmaster

    Moronmaster L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    I decided to start mapping again after a long break. I used to work a lot with Hammer before the Steampipe update. However, I only just recently ran into a problem with the custom sounds I'm using in the map.
    It's two ambient/music files that I implemented using ambient_generic. I did everything right, set all the flags and volumes and such. But when I boot up the game, nothing.
    I tried switching the sound file to something from stock (the shop music from MvM), which worked fine. The sound previews just fine inside Hammer.
    I opened up the console, which contained this:

    Code:
    Team Fortress
    Map: dr_powerplant
    Players: 1 / 24
    Build: 1837403
    Server Number: 7
    
    
    Attemped to precache unknown particle system "fire01_heatwaver"!
    The server is using sv_pure 0.  (Enforcing consistency for select files only)
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Moronmaster connected
    Compact freed 688128 bytes
    Redownloading all lightmaps
    Connection to game coordinator established.
    Current item schema is up-to-date with version 3FDC2EF4.
    tf_server_identity_account_id not set; not logging into registered account
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "bad_architecture.wav", file probably missing from disk/repository
    Can't change fps_max when playing, disconnect from the server or switch team to spectators
    Code:
    Failed to load sound "elevator_loop.wav", file probably missing from disk/repository
    Failed to load sound "bad_architecture.wav", file probably missing from disk/repository
    This is most likely what's causing it, but I've searched high and low for a fix, all of which turned up no good.
    Help would be greatly appreciated.
     
  2. colacan

    colacan L5: Dapper Member

    Messages:
    235
    Positive Ratings:
    66
    It could be an issue with the sound cache file. That was the case when I had the same error in L4D2, rebuilding the soundcache worked. If I'm right, the tf/custom add-on folder builds the cache automatically.
     
  3. Moronmaster

    Moronmaster L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    It's definitely a sound cache problem. Thing is, I can't rebuild the cache, because "snd_rebuildaudiocache" is not a valid command in TF2 :<
     
  4. colacan

    colacan L5: Dapper Member

    Messages:
    235
    Positive Ratings:
    66
    Well, whenever I install anything in the tf/custom folder, after running the game once, a soundcache file pops up in the same folder. So try to see if it makes one automatically when you put the sounds in there.
     
  5. Fish 2.0

    Fish 2.0 L6: Sharp Member

    Messages:
    324
    Positive Ratings:
    116
    Maybe just delete it.
     
  6. Moronmaster

    Moronmaster L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    I'm not at home at the moment, but I'll try both of your suggestions and come back with results by Monday.
     
  7. Lampenpam

    aa Lampenpam

    Messages:
    1,016
    Positive Ratings:
    337
    Is the sound file in tf/custom? Place it in tf/sounds as you did before steamPipe.
     
  8. Moronmaster

    Moronmaster L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    The sounds are both in "tf/custom/my_custom_stuff/sound" as well as "tf/sound", to no avail.

    I tried copying over the .cache file from the custom directory to "tf/sound", I even set it as Read-Only. Same results. Dang it.
     
  9. Moronmaster

    Moronmaster L1: Registered

    Messages:
    16
    Positive Ratings:
    3
    Aha! I fixed it! I cleared out every sound.cache file I could find and put my sound in "tf/sound/misc", which worked without any errors.