Native game distribution on Mac OSX

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Quinico
Prole
Posts: 4
Joined: Fri Mar 09, 2012 5:15 pm

Native game distribution on Mac OSX

Post by Quinico »

Is there a way to distribute a LOVE game on a mac by compiling a native unix executable and making a App package from that?
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Native game distribution on Mac OSX

Post by TechnoCat »

Quinico wrote:Is there a way to distribute a LOVE game on a mac by compiling a native unix executable and making a App package from that?
Your question doesn't quite make sense. But this should answer it: https://love2d.org/wiki/Game_Distribution

You can create an OSX LOVE app on any OS with zip features with ease.
You can create a Windows LOVE executable on any OS with binary concatenation features with ease.
You can create a Linux LOVE binary on any OS with binary concatenation with ease too. But, Linux people won't be happy unless you create a package for their preferred package manager.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Native game distribution on Mac OSX

Post by Nixola »

Linux people won't be happy unless you create a package for their preferred package manager.
I'd be ^^
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Quinico
Prole
Posts: 4
Joined: Fri Mar 09, 2012 5:15 pm

Re: Native game distribution on Mac OSX

Post by Quinico »

I mean, I would like to compile my .love package to create a Unix Executable in a way where no one will be able to get into sensitive server information, or at least to an extent where most people won't be able to get into my code.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Native game distribution on Mac OSX

Post by TechnoCat »

Quinico wrote:I mean, I would like to compile my .love package to create a Unix Executable in a way where no one will be able to get into sensitive server information, or at least to an extent where most people won't be able to get into my code.
Don't ship the server code?
User avatar
tsturzl
Party member
Posts: 161
Joined: Fri Apr 08, 2011 3:24 am

Re: Native game distribution on Mac OSX

Post by tsturzl »

Best way to do it is pack your love executable with your .love, then use appify to bundle a .app out of the bundled executable and all its libraries that it requires. Now you pack that .app into a .dmg and put a shortcut link to the Application folder in the .dmg

Now all the end user has to do is open the .dmg, drag and drop the .app into the applications folder.
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: Native game distribution on Mac OSX

Post by schme16 »

On a similar note is there any way to make the love bundled game able to be sold on the Mac App Store?
My Development Diary - http://shanegadsby.info
User avatar
jack0088
Prole
Posts: 33
Joined: Fri Mar 22, 2013 4:59 am

Re: Native game distribution on Mac OSX

Post by jack0088 »

There is a way of signing the LÖVE wrapper with your own provisioning profile, which theoretically lets you publish your app on the Apple Mac App Store. I didn't try this yet, as my babies are not ready for the Store yet - but I've written it all down on my blog: http://www.kennstewayne.de/love2d-apps- ... orbereiten.

I would be grateful, if anyone could test this and report back.
User avatar
Madrayken
Party member
Posts: 126
Joined: Sun May 04, 2014 4:21 pm
Location: Oakland CA
Contact:

Re: Native game distribution on Mac OSX

Post by Madrayken »

Sorry to necro-thread. I'm about to try this, but don't understand the 'copy the frameworks' section. You say (in German): "enter the above path and drop your files." Which files? All of the ones in the Library/Frameworks directory? Where do I drop them?

I'd appreciate any help. Thanks.
Discord: https://discord.gg/tYfHgXc
Bandcamp: https://madrayken.bandcamp.com/
Twitter: @Fluttermind
User avatar
jack0088
Prole
Posts: 33
Joined: Fri Mar 22, 2013 4:59 am

Re: Native game distribution on Mac OSX

Post by jack0088 »

download this libraries: https://love2d.org/sdk/love-osx-frameworks-0.10.zip

the go to finder and press shift+cmd+g. this opens up a dialog where you can type in a folder path. type '/Library/Frameworks/' and hit return. drop all downloaded libraries into this folder.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests