Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No MP3 Audio on OSX 10.8.3 or 64bit windows #540

Closed
TheCycoONE opened this issue Dec 24, 2014 · 12 comments
Closed

No MP3 Audio on OSX 10.8.3 or 64bit windows #540

TheCycoONE opened this issue Dec 24, 2014 · 12 comments
Labels
bug issue type Googlecode Origin OS:Mac P3 Medium Priority

Comments

@TheCycoONE
Copy link
Member

From darkome...@gmail.com on April 04, 2013 17:00:13

What steps will reproduce the problem? 1. Uncomment config file audio_mp3 = [[/Applications/CorsixTH/Music]]
2. Unzip MP3 from ThemeHospital_ZRRemix.zip in the Music folder
3. No any music when I launche CorsixTH

Terminal output :
CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Mend (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>

What version of CorsixTH are you using (e.g. "Beta 2", "SVN r123 ")?
0.20 What operating system / compile settings are you using? OSX 10.8.3, precompiled 64 and 32bits version

Original issue: http://code.google.com/p/corsix-th/issues/detail?id=1569

@TheCycoONE TheCycoONE added P3 Medium Priority Googlecode Origin bug issue type OS:Mac labels Dec 24, 2014
@TheCycoONE
Copy link
Member Author

From mark.l1...@hotmail.co.uk on April 05, 2013 02:01:41

Do you have smpeg.dll in your CorsixTH folder?
Also the playing of mp3s only seems to work on 32bit systems as there is no 64it smpeg.dll - not that I can find anyway.

@TheCycoONE
Copy link
Member Author

From darkome...@gmail.com on April 05, 2013 02:06:01

A smpeg.dll works on a OSX 10.8 system ? I'll try this evening.

@TheCycoONE
Copy link
Member Author

From maartenp...@hotmail.nl on April 06, 2013 13:41:36

And do you have the results?

Labels: OpSys-OSX

@TheCycoONE
Copy link
Member Author

From darkome...@gmail.com on April 09, 2013 10:29:12

Not working sir ! Same result in 32 and 64bits mode.
dll files isn't an OSX thing.

@TheCycoONE
Copy link
Member Author

From maartenp...@hotmail.nl on April 09, 2013 11:34:16

Could you provide gamelog.txt? Maybe that file gives more information.

@TheCycoONE
Copy link
Member Author

From darkome...@gmail.com on April 10, 2013 15:10:44

Always the same error :

Created game with savegame version 66.
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Sixseven (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Steady (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Nightsh (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Steady (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Steady (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Sixseven (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Fortune (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>
Error in callback handler:
Error in async music load callback: CorsixTH.app/Contents/Resources/Lua/audio.lua:436: Could not load music file '/Applications/CorsixTH/Music/Theme Hospital - Mend (ZR Remix).mp3' (Unrecognized music format)
stack traceback:
[C]: in function 'yield'
CorsixTH.app/Contents/Resources/Lua/app.lua:690: in function <CorsixTH.app/Contents/Resources/Lua/app.lua:685>

@TheCycoONE
Copy link
Member Author

From mark.l1...@hotmail.co.uk on April 11, 2013 00:45:29

In config.txt it does state you need to look for the equivalent for your platform

-- 2) Ensure that SMPEG.dll (or equivalent for your platform) is present.

Having never used OSX, I have no idea what that would be, perhaps you could search the internet.

@TheCycoONE
Copy link
Member Author

From mark.l1...@hotmail.co.uk on August 19, 2013 11:34:49

As we are getting close to having our own music, perhaps it is time to find a solution to this one?
I have never been able to find an equivalent for SMPEG.dll that works on 64bit Windows and it seems there is an issue with OSX too.

Is there a DLL we can use so that everyone no matter the system can play mp3's?

Summary: No MP3 Audio on OSX 10.8.3 or 64bit windows (was: No MP3 Audio on OSX 10.8.3)
Status: Investigating

@TheCycoONE
Copy link
Member Author

From Alberth2...@gmail.com on August 19, 2013 12:02:29

Unlikely.

The mp3 format has some patent problems, and won't ever be supported by big Linux distributions like Fedora or Debian. If you want a 'works-everywhere' solution, you'll need to use a file format that is free of such problems.
The only format I know with this property is 'ogg', but I am not an expert in the audio formats, so there may be other formats available too.

@TheCycoONE
Copy link
Member Author

From mark.l1...@hotmail.co.uk on August 19, 2013 12:42:07

I am adding that link you sent me as this may help in the decision making http://fedoraproject.org/wiki/Multimedia/MP3

@TheCycoONE
Copy link
Member Author

From Grim...@gmail.com on August 19, 2013 13:39:00

I would support using the .ogg format for our sounds and music packed with the game, but also keep the users ability to add own mp3's if he wants to.

@TheCycoONE
Copy link
Member Author

At least as far as Windows is concerned, we ship with a 64bit smpeg.dll these days.

That said, the warning message when selecting an mp3 directory needs to change on two points: first, the comment about 64bit is obsolete, secondly we should call it smpeg and not smpeg.dll because .dll is a windows specific file, and finally we ship smpeg.dll with the windows installer so for most people there's no reason to display this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue type Googlecode Origin OS:Mac P3 Medium Priority
Projects
None yet
Development

No branches or pull requests

1 participant