Page 1 of 1
Music lua widget broken on mac?
Posted: 10 Feb 2012, 00:09
by TangentDelta
I've been wanting dynamic music for spring for a while, so I found this rather old music player script:
http://springfiles.com/spring/lua-scrip ... player-adv
When I start a new game, spring plays for like 2 seconds, with music, and it just crashes. The infolog has nothing in it, except that all the lua plugins loaded fine (and that a shader for the jet engine particles is missing, lol).
I'm running a mac, so I looked in my console, and it said:
[f=0000000] [Sound] Error: COggStream::ReleaseBuffers: Invalid Operation
I'm assuming that this has something to do with the mac Ogg player not being able to handle the large music file.
Re: Music lua widget broken on mac?
Posted: 10 Feb 2012, 00:44
by zwzsg
TangentDelta wrote:I've been wanting dynamic music for spring for a while, so I found this rather old music player script:
What about recent music player widget?
Here's one.
Not dynamic, but at least we'll know if the issue comes from having a Mac or from Spring 84 having broken most old music widgets.
Re: Music lua widget broken on mac?
Posted: 10 Feb 2012, 03:25
by TangentDelta
zwzsg wrote:TangentDelta wrote:I've been wanting dynamic music for spring for a while, so I found this rather old music player script:
What about recent music player widget?
Here's one.
Not dynamic, but at least we'll know if the issue comes from having a Mac or from Spring 84 having broken most old music widgets.
Yep...still crashes.
Edit: Just tested zero-K, and when it's music starts, after a few seconds, the game crashes in the same exact way.
Re: Music lua widget broken on mac?
Posted: 10 Feb 2012, 19:45
by TangentDelta
Hmm, maybe the ogg vorbis player for Mac hates the large file.
Re: Music lua widget broken on mac?
Posted: 12 Feb 2012, 04:46
by TangentDelta
Replacing the music file with a short sound file instead doesn't crash it.
Re: Music lua widget broken on mac?
Posted: 12 Feb 2012, 12:29
by jK
It's nothing I can reproduce so full infolog.txt/stdout is highly important.
Re: Music lua widget broken on mac?
Posted: 12 Feb 2012, 14:00
by TangentDelta
jK wrote:It's nothing I can reproduce so full infolog.txt/stdout is highly important.
Infolog doesn't say anything at all.
Re: Music lua widget broken on mac?
Posted: 12 Feb 2012, 16:15
by jK
Re: Music lua widget broken on mac?
Posted: 14 Feb 2012, 19:46
by TangentDelta
Lol, running the portable windows version in wine is not only more stable than the MacOSX version, but the lua music widget now works.
Edit: Meh, I can't use the function keys in wine. F11 to open the widget tab makes my mac switch to a different application, and F12 opens up the stupid dashboard. Looks like I still need help making this work
Hey...could I try compiling thel inux source code for mac? I think I saw an integrated ogg vorbis player in it when I was compiling the source for my fedora laptop (it's still borked with the stupid intel series graphics chip).
Re: Music lua widget broken on mac?
Posted: 05 Mar 2012, 01:49
by abma