Music not working
Quote from mazk1985 on March 4, 2009, 12:03 pmHi
I've run into a very annoying problem and have no idea what is going wrong. My previous map had music and it works perfectly but my new map refuses to play it even though its exactly the same set up as the previous map. I even changed the sound path to the same path as the other maps ambient_generic and I still get something like "cant play file. probably missing from directory" on the in game console. The only thing i can think of is that the compile log says this:
entdata [variable] 391860/393216 (99.7%) VERY FULL!but I can't see it being that since its under 100% and why would it affect early placed entities and not the lastly placed ones. Very very annoying and I'm begging for some help cos I want to finish this god dam map.
Sorry about the stress
Other facts:
-the music is mp3 (44.1kHz 128kbps) format
-started happening maybe since I got my new pc but i could be wrong (would a multicore cpu make any difference other than speed?)
-Very large map
Hi
I've run into a very annoying problem and have no idea what is going wrong. My previous map had music and it works perfectly but my new map refuses to play it even though its exactly the same set up as the previous map. I even changed the sound path to the same path as the other maps ambient_generic and I still get something like "cant play file. probably missing from directory" on the in game console. The only thing i can think of is that the compile log says this:
entdata [variable] 391860/393216 (99.7%) VERY FULL!
but I can't see it being that since its under 100% and why would it affect early placed entities and not the lastly placed ones. Very very annoying and I'm begging for some help cos I want to finish this god dam map.
Sorry about the stress
Other facts:
-the music is mp3 (44.1kHz 128kbps) format
-started happening maybe since I got my new pc but i could be wrong (would a multicore cpu make any difference other than speed?)
-Very large map
Quote from HMW on March 4, 2009, 3:46 pmmazk1985 wrote:entdata [variable] 391860/393216 (99.7%) VERY FULL!99.7%?? Wow, i thought i was wandering close to the edge with my 93.8% entdata usage. I don't think it's that though, overflowing the entdata memory would probably cause the game to "exit ungracefully" (i.e. crash) instead of showing an error message.
You could try the following:- Check that the music in the main game plays properly. If not, see http://forums.thinking.withportals.com/is-it-just-me-and-a-few-other-people-t1635.html
- try to play one of the stock soundtracks, e.g. "music/portal_taste_of_blood.mp3";
- copy & paste a working "ambient_generic" entity from another map and see if it plays;
- extract one of Valve's MP3's with gcfscape and see what format it has. Often games are very picky about the music format they need (bitrate, kHz, mono/stereo etc) and give misleading error messages when they get something that they can't handle.As a last check, confirm that the event that should start the music actually triggers THAT ambient_generic, and not some other one that may be lying around with invalid settings. (I've been tearing my hair out more than once over a bug like that.)
99.7%?? Wow, i thought i was wandering close to the edge with my 93.8% entdata usage. I don't think it's that though, overflowing the entdata memory would probably cause the game to "exit ungracefully" (i.e. crash) instead of showing an error message.
You could try the following:
- - Check that the music in the main game plays properly. If not, see http://forums.thinking.withportals.com/is-it-just-me-and-a-few-other-people-t1635.html
- try to play one of the stock soundtracks, e.g. "music/portal_taste_of_blood.mp3";
- copy & paste a working "ambient_generic" entity from another map and see if it plays;
- extract one of Valve's MP3's with gcfscape and see what format it has. Often games are very picky about the music format they need (bitrate, kHz, mono/stereo etc) and give misleading error messages when they get something that they can't handle.
As a last check, confirm that the event that should start the music actually triggers THAT ambient_generic, and not some other one that may be lying around with invalid settings. (I've been tearing my hair out more than once over a bug like that.)
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic
Quote from mazk1985 on March 4, 2009, 5:44 pmThose ideas sound good. cheers dude. My entdata was like 103% at one point but I went through and deleted many many entities that weren't important which unfortunatly ment overlays and small details had to go. I've already tried a few of your suggestions and still not got anything. I'll try the rest soon and let you know how it goes but thanks again for your help
Those ideas sound good. cheers dude. My entdata was like 103% at one point but I went through and deleted many many entities that weren't important which unfortunatly ment overlays and small details had to go. I've already tried a few of your suggestions and still not got anything. I'll try the rest soon and let you know how it goes but thanks again for your help
Quote from mazk1985 on March 5, 2009, 4:42 pmOMG I'm a fucking idiot. My sound folder was named "sounds" and not "sound" and the reason the old maps music worked was because I zipped it with the bsp file. I'm so sorry for posting this thread.
Please forgive me
OMG I'm a fucking idiot. My sound folder was named "sounds" and not "sound" and the reason the old maps music worked was because I zipped it with the bsp file. I'm so sorry for posting this thread.
Please forgive me
Quote from Remmiz on March 5, 2009, 5:30 pmIt's okay, everyone forgets an 's' or a ';' sometime during their technical lifetime. Some more than others (me).
It's okay, everyone forgets an 's' or a ';' sometime during their technical lifetime. Some more than others (me).
Quote from HMW on March 6, 2009, 1:38 pm*Whew* i'm glad you found the problem. I'm looking forward to playing your map, i've enjoyed playing your previous ones.
*Whew* i'm glad you found the problem. I'm looking forward to playing your map, i've enjoyed playing your previous ones.
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic