Logo Platform
logo amplifiers simplified

Audio not found (EL V1.1.1 S3 (32-BIT), OSX 10.8.5)

Copied to clipboard!
10 years ago
Jun 16, 2015, 10:55:30 AM
When I start Endless Legend, the game tells me that audio could not be initialized. After digging through the logs, it looks like the following line from the diagnostic HTML is relevant:



Path '/Volumes/VAPOURS/SteamLibrary/SteamApps/common/Endless Legend/EndlessLegend.app/Contents/Public/Audio/' made relative to working directory '/Volumes/VAPOURS/SteamLibrary/steamapps/common/Endless Legend/', result: '../../SteamApps/common/Endless Legend/EndlessLegend.app/Contents/Public/Audio/'.




It looks like "SteamApps" in the working directory has been lowercased to "steamapps" somewhere and that's confusing the code that figures out the relative path. Specifically, "[...]/steamapps" is being treated as the base directory (hence the "../../" prefix on the relative path) but "SteamApps" is still being included. This means that the relative path actually resolves to "[...]/steamapps/SteamApps/[...]".



There is definitely a bug in the path construction here. "SteamApps" and "steamapps" should either be treated as equivalent (in which case the relative path becomes "./EndlessLegend.app/Contents/[...]") or different (in which case the relative path becomes "../../../SteamApps/common/[...]"). At the moment, they're being treated as equivalent in one part of the code and different in another.



Part of the trigger for this may be that I keep my Steam games on a separate FAT32 filesystem. HFS and FAT32 are both case-insensitive, but they probably have different ways of handling that.



As a workaround, I created a symlink ("ln -s . SteamApps" in the SteamApps directory) to make the incorrect relative path valid, and sound now works in my game.
0Send private message
10 years ago
Jun 16, 2015, 3:01:26 PM
Hello jerith, thank you for your report, I'm forwarding the file to the technical team!
0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message