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.
Music lua widget broken on mac?
Moderator: Moderators
Re: Music lua widget broken on mac?
What about recent music player widget? Here's one.TangentDelta wrote:I've been wanting dynamic music for spring for a while, so I found this rather old music player script:
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.
-
- Posts: 22
- Joined: 05 Apr 2011, 12:47
Re: Music lua widget broken on mac?
Yep...still crashes.zwzsg wrote:What about recent music player widget? Here's one.TangentDelta wrote:I've been wanting dynamic music for spring for a while, so I found this rather old music player script:
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.
Edit: Just tested zero-K, and when it's music starts, after a few seconds, the game crashes in the same exact way.
-
- Posts: 22
- Joined: 05 Apr 2011, 12:47
Re: Music lua widget broken on mac?
Hmm, maybe the ogg vorbis player for Mac hates the large file.
-
- Posts: 22
- Joined: 05 Apr 2011, 12:47
Re: Music lua widget broken on mac?
Replacing the music file with a short sound file instead doesn't crash it.
Re: Music lua widget broken on mac?
It's nothing I can reproduce so full infolog.txt/stdout is highly important.
-
- Posts: 22
- Joined: 05 Apr 2011, 12:47
Re: Music lua widget broken on mac?
Infolog doesn't say anything at all.jK wrote:It's nothing I can reproduce so full infolog.txt/stdout is highly important.
- Attachments
-
- infolog.txt
- (28.44 KiB) Downloaded 131 times
Re: Music lua widget broken on mac?
then stdout/stderr:
Code: Select all
./spring &> infolog_full.txt
-
- Posts: 22
- Joined: 05 Apr 2011, 12:47
Re: Music lua widget broken on mac?
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).
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?
related bugreport: http://springrts.com/mantis/view.php?id=2762