Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[L4D2 Beta/Linux] Missing music in main menu

Open ghost opened this issue 12 years ago • 34 comments

After downloading and installing the game, I noticed that the music of the main menu is missing.

Console output: http://nopaste.info/90f2b6bb25.html

ghost avatar May 04 '13 00:05 ghost

Yes, I have this problem also.

T2-Archimedes-Stench avatar May 06 '13 10:05 T2-Archimedes-Stench

same here.

pete-h avatar May 09 '13 15:05 pete-h

Same here. System Information reports my sound card as "Realtek ALC1200". All other in-game music seems to be working fine, and I've never had an audio issue playing MP3s with my other video/music apps.

stevethepocket avatar May 09 '13 17:05 stevethepocket

I think this is the console output for this error since is the first one related to audio:

sound error

Lord-Avallon avatar Jun 24 '13 16:06 Lord-Avallon

The aforementioned l4d2_c1_pc.mp3 is in .steam/steam/SteamApps/common/Left 4 Dead 2/ left4dead2/sound/music/l4d2, the game doesn´t find it but it´s here.

Lord-Avallon avatar Jul 03 '13 15:07 Lord-Avallon

Anybody else still having this problem?

NothingMuchHereToSay avatar Apr 16 '14 20:04 NothingMuchHereToSay

Sure.

jwcalla avatar Apr 16 '14 20:04 jwcalla

Uh.. well when will this get fixed? It's pretty underwhelming to see all of the action in the menu without any ambiance..

NothingMuchHereToSay avatar Apr 19 '14 02:04 NothingMuchHereToSay

Considering there haven't been any bug fixes in L4D2 for many, many, many months, and the fact that they're not really even engaging bug reports here anymore... I've come to accept that how it is now is how it's going to be.

Fortunately, there's still Windows.

jwcalla avatar Apr 19 '14 13:04 jwcalla

Are you a Valve employee or not? Because I sincerely hope you're joking with that statement.

NothingMuchHereToSay avatar Apr 21 '14 10:04 NothingMuchHereToSay

Is bumping allowed at all or is this just a waste of time on my part?

NothingMuchHereToSay avatar May 14 '14 07:05 NothingMuchHereToSay

why dont you get over yourself op?

GeorgePatton avatar May 31 '14 11:05 GeorgePatton

Did you try recache sounds? Run snd_rebuildaudiocache command in console.

dimon222 avatar May 31 '14 16:05 dimon222

That didn't fix the issue for me, but thanks for the suggestion.

jwcalla avatar May 31 '14 17:05 jwcalla

Bump. (I'm gonna be bumping this monthly until it gets fixed)

NothingMuchHereToSay avatar Jun 15 '14 04:06 NothingMuchHereToSay

Here's a fix, since libMiles is case sensitive, so anybody having this problem just follow what's linked below.

https://github.com/ValveSoftware/portal2/issues/5

NothingMuchHereToSay avatar Jul 05 '14 19:07 NothingMuchHereToSay

Thanks for posting that fix, it worked for me. Hopefully Valve will include it in the release.

jwcalla avatar Jul 08 '14 21:07 jwcalla

In case you don't want to have to read through that entire other issue. The problem is the game can't find libMiles.so because most linux filesystems are case sensitive while windows filesystems aren't. So you can fix the problem by running mv ~/.steam/SteamApps/common/Left\ 4\ Dead\ 2/bin/lib{m,M}iles.so

stuartf avatar Jul 27 '14 23:07 stuartf

Gah, somebody fix this goddamned bug already, I had to reinstall L4D2 AND BETA and my OCD goes crazy when I forget that I'm running a game in the background.

NothingMuchHereToSay avatar Oct 04 '14 20:10 NothingMuchHereToSay

@sizeofbool commented on 2015-10-05T18:49:08 at https://github.com/ValveSoftware/steam-for-linux/issues/2402#issuecomment-145629607:

This bug is still unresolved. There is a message in game's console:

S_StartSound: Failed to load sound '*#music/l4d2/l4d2_c1_pc.mp3', file probably missing from disk/repository

This "*#music" folder looks corrupted and music file itself is present in "/left4dead/sound/music/l4d2/l4d2_c1_pc.mp3". Checking game's cache doesn't fix this issue.

kisak-valve avatar Apr 30 '17 00:04 kisak-valve

@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.

sizeofbool avatar Apr 30 '17 11:04 sizeofbool

I still have this bug.

vitacell avatar Aug 07 '19 00:08 vitacell

Still unfixed following The Last Stand update.

user21944 avatar May 12 '21 19:05 user21944

I can testify to this. Still doesn't work.

BioBox avatar Sep 08 '21 05:09 BioBox

@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.

Are you serious? It's as simple as a simple renaming of a file and it works? And they still haven't fixed it, five years after you mentioned this, for what would literally take five seconds?

Valve, what the fuck?

Grammernatzi avatar May 13 '22 02:05 Grammernatzi

There is even better workaround to this issue: You can create symbolic link file, with a name "libMiles.so" linked to real "libmiles.so" library file in "Left 4 Dead 2/bin" folder. Example:

$ cd ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/bin
$ ln -s libmiles.so libMiles.so

This way fix won't be reverted if you verify game's cache and also ensure game's library files will be working in case some of them were compiled and linked to "libmiles.so" library file instead of "libMiles.so".

sizeofbool avatar May 13 '22 06:05 sizeofbool

@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.

Did this but problem persists, even tried making symbolic link

EDIT: after some extra setting it worked. Apparently my speaker configuration was reset to 5.1 but I was using headphones so I couldn't hear the music.

kinten108101 avatar Aug 07 '22 19:08 kinten108101

There is even better workaround to this issue: You can create symbolic link file, with a name "libMiles.so" linked to real "libmiles.so" library file in "Left 4 Dead 2/bin" folder. Example:

$ cd ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/bin
$ ln -s libmiles.so libMiles.so

This way fix won't be reverted if you verify game's cache and also ensure game's library files will be working in case some of them were compiled and linked to "libmiles.so" library file instead of "libMiles.so".

@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.

Did this but problem persists, even tried making symbolic link

EDIT: after some extra setting it worked. Apparently my speaker configuration was reset to 5.1 but I was using headphones so I couldn't hear the music.

Still doesn't fix the issue for me on Fedora 36. Also tried changing the speaker type but no luck.

H3CATE avatar Aug 17 '22 10:08 H3CATE

Same here. It seems the files is even named LibMiles.so by default now, but the console still displays S_StartSound: Failed to load sound '*#music/l4d2/l4d2_c1_pc.mp3', file probably missing from disk/repository.

Gragt avatar Oct 22 '22 18:10 Gragt

I tried this and it works for me: https://github.com/ValveSoftware/csgo-osx-linux/issues/395#issuecomment-131240196

TL;DR: Just replace the libMiles.so with Portal 2's version, and suddenly everything works.

BTW It's not just the main menu audio is missing, all the custom campaigns with mp3 audio (more than half of the total campaigns) will not work. This is insane.

I will write an article about this long haunting issue and follow their depot changes, to see how many years it will take them to push the fix.

yxnan avatar Oct 31 '22 05:10 yxnan