MP3 startup problem Created 12 years ago2011-11-16 13:04:30 UTC by Stojke Stojke

Created 12 years ago2011-11-16 13:04:30 UTC by Stojke Stojke

Posted 12 years ago2011-11-16 13:05:07 UTC Post #300815
warning: MP3_InitStream(29, mediagamestartup.mp3) failed

Any one know the cure for this?? Ive tried replacing the file (the folder didnt exist at all).
Stojke StojkeUnreal
Posted 12 years ago2011-11-16 16:19:42 UTC Post #300818
TWHL removes single backslashes and replaces double backslashes with single backslashes. I think what stojke meant was
warning: MP3_InitStream(29, media\gamestartup.mp3) failed
Oskar Potatis Oskar Potatis🦔
Posted 12 years ago2011-11-17 10:13:27 UTC Post #300843
Yeah that. Its the MP3 that plays when you start the game. I checked woth -dev why wont it play, and thats what i got.

I went and compressed a song and placed it in the new folder i made, but it still wont work.
Stojke StojkeUnreal
Posted 12 years ago2011-11-18 11:35:31 UTC Post #300873
I think the mp3 has to be uncompressed. Try taking a look at the gamestartup.mp3 of another mod and see it's properties (channels, bitrate, etc.), then modify yours to match using audio software.
Notewell NotewellGIASFELFEBREHBER
Posted 12 years ago2011-11-18 11:38:15 UTC Post #300874
HL/2 is quite fussy about bitrates and such, try using a sound file that you know definitely works in HL (or extract one with gcfscape) to see if the file itself is the problem or if the engine is just failing to play any sound.

For reference, I use a .wav in my mod (so it can loop) but the specs are 16-bit, mono, 22050Hz @ 352kbps.
Posted 12 years ago2011-11-18 12:53:09 UTC Post #300875
Yeah, you guys were right!

MP3_InitStream(29, mediagamestartup.mp3) successful

Which is strange, may i add, the exact same song i tried before work perfectly the last time... Well i guess its compression time. Thanks a lot.

--

More info - The error was because i didnt remove Album art image from the file.
Stojke StojkeUnreal
Posted 12 years ago2011-12-26 04:04:15 UTC Post #302016
well i have same problem but a little different..
I'm moved all half-life files to my another hard drive after that i cant listen any default half-life mp3 files in game(example "Half-Life01.mp3 or Prospero03.mp3") and i found this error message after that
i can hear when i use them with some other mod its strange

i can't get it work to my maps anymore, its annoying...
any suggestions?
You must be logged in to post a response.