LÖVE 0.8.0 and Mac OS 10.9 (Mavericks)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

LÖVE 0.8.0 and Mac OS 10.9 (Mavericks)

Post by slime »

There is a bug in one of the libraries LÖVE 0.8.0 uses (SDL 1.2) which prevents .love files from being opened properly in Mac OS 10.9 unless the executable is run directly from a command line. This also breaks fused games, unless the linux-y method for fusing was used.

The bug doesn't exist in LÖVE 0.9.0, but in the meantime before 0.9.0 is released I have updated the OS X version of 0.8.0 available for download to fix the issue. This updated version also fixes a few other OS X-specific issues, including require for dynamic libraries and io.popen not working, and audio-related freezing problems.

The updated version is here (the same URL as 0.8.0 had before): https://bitbucket.org/rude/love/downloa ... osx-ub.zip
Last edited by slime on Sat Nov 16, 2013 4:28 am, edited 1 time in total.
User avatar
bzSteve
Prole
Posts: 34
Joined: Tue May 21, 2013 2:31 am

Re: LÖVE 0.8.0 and Mac OS 10.9 (Mavericks)

Post by bzSteve »

I am experiencing this problem with your LuaJIT 0.8.0 build running on Mavericks. Do you have a new build for that?
ryandesign
Prole
Posts: 3
Joined: Fri Nov 15, 2013 7:05 pm

Re: LÖVE 0.8.0 and Mac OS 10.9 (Mavericks)

Post by ryandesign »

slime wrote:There is a bug in one of the libraries LÖVE 0.8.0 uses (SDL 1.2) which prevents .love files from being opened properly in Mac OS 10.9. This also breaks fused games, unless the linux-y method for fusing was used.

The bug doesn't exist in LÖVE 0.9.0, but in the meantime before 0.9.0 is released I have updated the OS X version of 0.8.0 available for download to fix the issue. This updated version also fixes a few other OS X-specific issues, including require for dynamic libraries and io.popen not working, and audio-related freezing problems.

The updated version is here (the same URL as 0.8.0 had before): https://bitbucket.org/rude/love/downloa ... osx-ub.zip
Thank you. I would like to build LÖVE 0.8.0 for OS X 10.9 Mavericks locally. Where is the source code that corresponds to the binary you released? What git commit hash?
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: LÖVE 0.8.0 and Mac OS 10.9 (Mavericks)

Post by slime »

bzSteve wrote:I am experiencing this problem with your LuaJIT 0.8.0 build running on Mavericks. Do you have a new build for that?
I don't, and I probably won't create one (I did a complete reinstall and haven't downloaded the necessary things for building 0.8.0 - nor do I want to.)

I recommend switching to 0.9.0, my Mac builds already include LuaJIT: http://love2d.org/builds
ryandesign wrote:Thank you. I would like to build LÖVE 0.8.0 for OS X 10.9 Mavericks locally. Where is the source code that corresponds to the binary you released? What git commit hash?
I built the tagged 0.8.0 with a few local modifications to platform/macosx/SDLMain.m - I haven't committed it to any repository.

SDL now has its own version of the fix: https://hg.libsdl.org/SDL/rev/cfec3f86fba7
You can easily patch LÖVE's SDLMain.m (which is slightly different from the one in SDL's repository) with those changes.

[EDIT: I put the changes here: https://bitbucket.org/bartbes/love-expe ... -mavericks ]

Keep in mind the bug is only ever present when LÖVE is launched as an Application, never when its executable is run directly from a command line or script.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests